Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

removing Samba from RHEl5

Posted on 2008-10-27
6
Medium Priority
?
1,117 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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
Ransomware-A Revenue Bonanza for Service Providers

Ransomware – malware that gets on your customers’ computers, encrypts their data, and extorts a hefty ransom for the decryption keys – is a surging new threat.  The purpose of this eBook is to educate the reader about ransomware attacks.

 

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 1500 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

NEW Veeam Agent for Microsoft Windows

Backup and recover physical and cloud-based servers and workstations, as well as endpoint devices that belong to remote users. Avoid downtime and data loss quickly and easily for Windows-based physical or public cloud-based workloads!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Little introduction about CP: CP is a command on linux that use to copy files and folder from one location to another location. Example usage of CP as follow: cp /myfoder /pathto/destination/folder/ cp abc.tar.gz /pathto/destination/folder/ab…
In the first part of this tutorial we will cover the prerequisites for installing SQL Server vNext on Linux.
Learn how to get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…
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.
Suggested Courses

705 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