Solved

removing Samba from RHEl5

Posted on 2008-10-27
6
1,101 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
Microsoft Certification Exam 74-409

Veeam® is happy to provide the Microsoft community with a study guide prepared by MVP and MCT, Orin Thomas. This guide will take you through each of the exam objectives, helping you to prepare for and pass the examination.

 

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

VMware Disaster Recovery and Data Protection

In this expert guide, you’ll learn about the components of a Modern Data Center. You will use cases for the value-added capabilities of Veeam®, including combining backup and replication for VMware disaster recovery and using replication for data center migration.

Question has a verified solution.

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

Goal:  To set up a secure SSH server for your home computer to make it accessible anywhere AND to use it as a port forwarding proxy. Steps 1.  WinSSHD version 5 is free for personal use.  So download and install it.  You can download it from the…
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 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.

821 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