Solved

removing Samba from RHEl5

Posted on 2008-10-27
6
1,096 Views
Last Modified: 2013-12-02
HI all,
                I have installed RHEl5. I also have the licence.

when I try to run the comamnd

# yum update samba

it give the follwing error:

Transaction Check Error:   file /etc/samba/smb.conf from install of samba-common-3.0.28-1.el5_2.1 conflicts with file from package samba-common-3.0.25b-0.el5.4

I tried to remove the old one by command

# rpm -e samba-common-3.0.25b-0.el5.4

it says error: "samba-common-3.0.25b-0.el5.4" specifies multiple packages

can u please tell me how should i remove it so that the command
yum update samba can run

thanks in advance

jatender
0
Comment
Question by:JATENDER1979
  • 3
  • 3
6 Comments
 
LVL 19

Expert Comment

by:http:// thevpn.guru
ID: 22810595
try

rpm --erase --allmatches samba-common-3.0.25b-0.el5.4
0
 

Author Comment

by:JATENDER1979
ID: 22810633
HI shakoush2001:

 when i run the command
#rpm --erase --allmatches samba-common-3.0.25b-0.el5.4

it gives the error

error: Failed dependencies:
        libsmbclient.so.0 is needed by (installed) kdebase-3.5.4-13.6.el5.i386
        samba-common = 0:3.0.25b-0.el5.4 is needed by (installed) samba-3.0.25b-0.el5.4.x86_64
        samba-common is needed by (installed) system-config-samba-1.2.39-1.el5.noarch
        samba-common >= 3.0.8-0.pre1.3 is needed by (installed) gnome-vfs2-smb-2.16.2-4.el5.x86_64
        libsmbclient.so.0()(64bit) is needed by (installed) gnome-vfs2-smb-2.16.2-4.el5.x86_64
        libsmbclient.so.0()(64bit) is needed by (installed) kdebase-3.5.4-13.6.el5.x86_64

help please

jatender
0
 
LVL 19

Expert Comment

by:http:// thevpn.guru
ID: 22810642
samba-3.0.25b-0.el5.4.x86_64
system-config-samba-1.2.39-1.el5.noarch
samba-common

Try to remove those 3 packages above in the order mentioned
0
Enabling OSINT in Activity Based Intelligence

Activity based intelligence (ABI) requires access to all available sources of data. Recorded Future allows analysts to observe structured data on the open, deep, and dark web.

 

Author Comment

by:JATENDER1979
ID: 22810684
HI

when i give the command
# rpm --erase --allmatches samba-3.0.25b-0.el5.4
it says

error: Failed dependencies:
        samba is needed by (installed) system-config-samba-1.2.39-1.el5.noarch
help please

jatender
0
 
LVL 19

Accepted Solution

by:
http:// thevpn.guru earned 500 total points
ID: 22810692
Ok try

rpm -e system-config-samba-1.2.39-1.el5.noarch

first
0
 

Author Comment

by:JATENDER1979
ID: 22810754
hi shakoush2001:


I solved it anyway thankyou very much for your help.
I removed it in this fashion.

rpm -e --nodeps <package name>

thanks once again
jatender
0

Featured Post

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

Suggested Solutions

Title # Comments Views Activity
Sed question 2 49
VMWare 6 crashing 14 57
Linux Scripting 3 61
Codiing Non-Existent Links 4 30
Hello, As I have seen there a lot of requests regarding monitoring and reporting for exchange 2007 / 2010 / 2013 I have decided to post some thoughts together and link to articles that have helped me. Of course a lot of information you can get…
I. Introduction There's an interesting discussion going on now in an Experts Exchange Group — Attachments with no extension (http://www.experts-exchange.com/discussions/210281/Attachments-with-no-extension.html). This reminded me of questions tha…
Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.

746 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

9 Experts available now in Live!

Get 1:1 Help Now