LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Uninstall with dependencies (https://www.linuxquestions.org/questions/linux-newbie-8/uninstall-with-dependencies-383534/)

lcp052 11-15-2005 09:14 PM

Uninstall with dependencies
 
I want to try uninstall samba but not success. Please help~~





[root@mrtg /]# rpm -qa|grep samba

samba-common-3.0.14a-2
samba-client-3.0.14a-2
[root@mrtg /]#
[root@mrtg /]# rpm -e samba-common samba-client
error: Failed dependencies:
libsmbclient.so.0 is needed by (installed) gnome-vfs2-smb-2.10.0-5.i386
samba-common >= 3.0.8-0.pre1.3 is needed by (installed) gnome-vfs2-smb-2.10.0-5.i386
You have new mail in /var/spool/mail/root
[root@mrtg /]# rpm -qa|grep samba
samba-common-3.0.14a-2
samba-client-3.0.14a-2
[root@mrtg /]#

prabuayyappan 11-15-2005 10:11 PM

rpm -e --nodeps samba-common samba-client

For more info see
manpage of rpm

man rpm

spooon 11-16-2005 12:07 AM

Depending on your distribution, there is usually a package manager / updater tool that resolves dependencies automatically. You should use that instead of "rpm". Otherwise, you should explicitly also remove the things depending on it; i.e. "rpm -e samba-common samba-client gnome-vfs2-smb ..." It is not good to have missing dependencies.


All times are GMT -5. The time now is 06:17 PM.