Solved

removing Samba from RHEl5

Posted on 2008-10-27
6
1,097 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
Efficient way to get backups off site to Azure

This user guide provides instructions on how to deploy and configure both a StoneFly Scale Out NAS Enterprise Cloud Drive virtual machine and Veeam Cloud Connect in the Microsoft Azure Cloud.

 

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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

The purpose of this article is to demonstrate how we can use conditional statements using Python.
Join Greg Farro and Ethan Banks from Packet Pushers (http://packetpushers.net/podcast/podcasts/pq-show-93-smart-network-monitoring-paessler-sponsored/) and Greg Ross from Paessler (https://www.paessler.com/prtg) for a discussion about smart network …
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…
Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…

919 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

21 Experts available now in Live!

Get 1:1 Help Now