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
Solved

removing Samba from RHEl5

Posted on 2008-10-27
6
1,102 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
What is SQL Server and how does it work?

The purpose of this paper is to provide you background on SQL Server. It’s your self-study guide for learning fundamentals. It includes both the history of SQL and its technical basics. Concepts and definitions will form the solid foundation of your future DBA expertise.

 

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

Windows Server 2016: All you need to know

Learn about Hyper-V features that increase functionality and usability of Microsoft Windows Server 2016. Also, throughout this eBook, you’ll find some basic PowerShell examples that will help you leverage the scripts in your environments!

Question has a verified solution.

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

Suggested Solutions

If you have a server on collocation with the super-fast CPU, that doesn't mean that you get it running at full power. Here is a preamble. When doing inventory of Linux servers, that I'm administering, I've found that some of them are running on l…
It’s 2016. Password authentication should be dead — or at least close to dying. But, unfortunately, it has not traversed Quagga stage yet. Using password authentication is like laundering hotel guest linens with a washboard — it’s Passé.
Learn how to find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:
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.

809 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