Keith Williams
2004-Mar-10 23:12 UTC
[Samba] Having problems uninstalling Samba 2.2.7a in RH 9
Dear all, Many months ago John Terpstra took time and helped this newby get samba 3.0 installed and working really well on my server at the time. Unfortunately the server died on me. Now I have a new one I am attemping to install Samba 3 on but i get this conflict with version 2.2.7a that came with RH 9. I can not remove it. I have tried several methods and it still there cause 3.0 will not install. Here is the error I get: warning: samba-3.0.2a-1_rh9.i386.rpm: V3 DSA signature: NOKEY, key ID 2f87af6f file /etc/rc.d/init.d/winbind from install of samba-3.0.2a-1 conflicts w ith file from package samba-common-2.2.7a-7.9.0 file /etc/samba/smb.conf from install of samba-3.0.2a-1 conflicts with f ile from package samba-common-2.2.7a-7.9.0 file /lib/libnss_winbind.so.2 from install of samba-3.0.2a-1 conflicts w ith file from package samba-common-2.2.7a-7.9.0 file /lib/libnss_wins.so.2 from install of samba-3.0.2a-1 conflicts with file from package samba-common-2.2.7a-7.9.0 file /lib/security/pam_winbind.so from install of samba-3.0.2a-1 conflicts with file from package samba-common-2.2.7a-7.9.0 file /usr/bin/smbpasswd from install of samba-3.0.2a-1 conflicts with file from package samba-common-2.2.7a-7.9.0 file /usr/bin/testparm from install of samba-3.0.2a-1 conflicts with file from package samba-common-2.2.7a-7.9.0 file /usr/bin/testprns from install of samba-3.0.2a-1 conflicts with file from package samba-common-2.2.7a-7.9.0 file /usr/bin/wbinfo from install of samba-3.0.2a-1 conflicts with file from package samba-common-2.2.7a-7.9.0 file /usr/sbin/winbindd from install of samba-3.0.2a-1 conflicts with file from package samba-common-2.2.7a-7.9.0 file /usr/share/man/man1/testparm.1.gz from install of samba-3.0.2a-1 conflicts with file from package samba-common-2.2.7a-7.9.0 file /usr/share/man/man1/testprns.1.gz from install of samba-3.0.2a-1 conflicts with file from package samba-common-2.2.7a-7.9.0 file /usr/share/man/man1/wbinfo.1.gz from install of samba-3.0.2a-1 conflicts with file from package samba-common-2.2.7a-7.9.0 file /usr/share/man/man5/lmhosts.5.gz from install of samba-3.0.2a-1 conflicts with file from package samba-common-2.2.7a-7.9.0 file /usr/share/man/man5/smb.conf.5.gz from install of samba-3.0.2a-1 conflicts with file from package samba-common-2.2.7a-7.9.0 file /usr/share/man/man8/smbpasswd.8.gz from install of samba-3.0.2a-1 conflicts with file from package samba-common-2.2.7a-7.9.0 file /usr/share/man/man8/winbindd.8.gz from install of samba-3.0.2a-1 co nflicts with file from package samba-common-2.2.7a-7.9.0 file /etc/logrotate.d/samba from install of samba-3.0.2a-1 conflicts wit h file from package samba-2.2.7a-7.9.0 file /etc/pam.d/samba from install of samba-3.0.2a-1 conflicts with file from package samba-2.2.7a-7.9.0 file /etc/rc.d/init.d/smb from install of samba-3.0.2a-1 conflicts with file from package samba-2.2.7a-7.9.0 file /lib/security/pam_smbpass.so from install of samba-3.0.2a-1 conflic ts with file from package samba-2.2.7a-7.9.0 file /usr/bin/mksmbpasswd.sh from install of samba-3.0.2a-1 conflicts wi th file from package samba-2.2.7a-7.9.0 file /usr/bin/smbcontrol from install of samba-3.0.2a-1 conflicts with f ile from package samba-2.2.7a-7.9.0 file /usr/bin/smbstatus from install of samba-3.0.2a-1 conflicts with fi le from package samba-2.2.7a-7.9.0 file /usr/bin/tdbbackup from install of samba-3.0.2a-1 conflicts with fi le from package samba-2.2.7a-7.9.0 file /usr/include/libsmbclient.h from install of samba-3.0.2a-1 conflict s with file from package samba-2.2.7a-7.9.0 file /usr/lib/libsmbclient.a from install of samba-3.0.2a-1 conflicts wi th file from package samba-2.2.7a-7.9.0 file /usr/lib/samba/vfs/recycle.so from install of samba-3.0.2a-1 conflicts with file from package samba-2.2.7a-7.9.0 file /usr/sbin/nmbd from install of samba-3.0.2a-1 conflicts with file f rom package samba-2.2.7a-7.9.0 file /usr/sbin/smbd from install of samba-3.0.2a-1 conflicts with file f rom package samba-2.2.7a-7.9.0 file /usr/share/man/man1/smbcontrol.1.gz from install of samba-3.0.2a-1 conflicts with file from package samba-2.2.7a-7.9.0 file /usr/share/man/man1/smbstatus.1.gz from install of samba-3.0.2a-1 c onflicts with file from package samba-2.2.7a-7.9.0 file /usr/share/man/man5/smbpasswd.5.gz from install of samba-3.0.2a-1 c onflicts with file from package samba-2.2.7a-7.9.0 file /usr/share/man/man7/samba.7.gz from install of samba-3.0.2a-1 conflicts with file from package samba-2.2.7a-7.9.0 file /usr/share/man/man8/nmbd.8.gz from install of samba-3.0.2a-1 conflicts with file from package samba-2.2.7a-7.9.0 file /usr/share/man/man8/pdbedit.8.gz from install of samba-3.0.2a-1 conflicts with file from package samba-2.2.7a-7.9.0 file /usr/share/man/man8/smbd.8.gz from install of samba-3.0.2a-1 conflicts with file from package samba-2.2.7a-7.9.0 file /sbin/mount.smb from install of samba-3.0.2a-1 conflicts with file from package samba-client-2.2.7a-7.9.0 file /sbin/mount.smbfs from install of samba-3.0.2a-1 conflicts with fil e from package samba-client-2.2.7a-7.9.0 file /usr/bin/nmblookup from install of samba-3.0.2a-1 conflicts with fi le from package samba-client-2.2.7a-7.9.0 file /usr/bin/rpcclient from install of samba-3.0.2a-1 conflicts with fi le from package samba-client-2.2.7a-7.9.0 file /usr/bin/smbcacls from install of samba-3.0.2a-1 conflicts with fil e from package samba-client-2.2.7a-7.9.0 file /usr/bin/smbclient from install of samba-3.0.2a-1 conflicts with fi le from package samba-client-2.2.7a-7.9.0 file /usr/bin/smbmnt from install of samba-3.0.2a-1 conflicts with file from package samba-client-2.2.7a-7.9.0 file /usr/bin/smbprint from install of samba-3.0.2a-1 conflicts with fil e from package samba-client-2.2.7a-7.9.0 file /usr/bin/smbspool from install of samba-3.0.2a-1 conflicts with fil e from package samba-client-2.2.7a-7.9.0 file /usr/bin/smbtar from install of samba-3.0.2a-1 conflicts with file from package samba-client-2.2.7a-7.9.0 file /usr/share/man/man1/nmblookup.1.gz from install of samba-3.0.2a-1 conflicts with file from package samba-client-2.2.7a-7.9.0 file /usr/share/man/man1/rpcclient.1.gz from install of samba-3.0.2a-1 conflicts with file from package samba-client-2.2.7a-7.9.0 file /usr/share/man/man1/smbcacls.1.gz from install of samba-3.0.2a-1 conflicts with file from package samba-client-2.2.7a-7.9.0 file /usr/share/man/man1/smbclient.1.gz from install of samba-3.0.2a-1 conflicts with file from package samba-client-2.2.7a-7.9.0 file /usr/share/man/man1/smbtar.1.gz from install of samba-3.0.2a-1 conf licts with file from package samba-client-2.2.7a-7.9.0 file /usr/share/man/man8/smbmnt.8.gz from install of samba-3.0.2a-1 conflicts with file from package samba-client-2.2.7a-7.9.0 file /usr/share/man/man8/smbmount.8.gz from install of samba-3.0.2a-1 conflicts with file from package samba-client-2.2.7a-7.9.0 file /usr/share/man/man8/smbspool.8.gz from install of samba-3.0.2a-1 conflicts with file from package samba-client-2.2.7a-7.9.0 file /usr/share/man/man8/smbumount.8.gz from install of samba-3.0.2a-1 conflicts with file from package samba-client-2.2.7a-7.9.0 Can someone help me out here? Also after I get this corrected will I be able to install the RPM package from the command line. Thanks very much, Keith
On Wednesday 10 Mar 2004 11:07 pm, Keith Williams wrote:> Dear all, > Many months ago John Terpstra took time and helped this newby get > samba 3.0 installed and working really well on my server at the time. > Unfortunately the server died on me. Now I have a new one I am attemping > to install Samba 3 on but i get this conflict with version 2.2.7a that > came with RH 9. I can not remove it. > I have tried several methods and it still there cause 3.0 will not > install. Here is the error I get:<snip> Red Hat packages samba as three .rpm files, so you need to do something like: # rpm -qa | grep samba which gives you: samba-common-2.2.7a-7.9.0 samba-client-2.2.7a-7.9.0 samba-2.2.7a-7.9.0 then remove all of these: # for f in samba-client samba samba-common; do rpm -e $f; done (if any of these fail re-run them in the order of the dependencies, i think the above is right...) then try installing the samba-3.0.2a-1 package you will need to back up your smb.conf and any other files (.tdb files for example) that you already have configured on this server. You may also want to upgrade Red Hat 9 to Fedora Core 1 before you do this, as Red Hat 9 will be unsupported from the end of next month. I'm not sure offhand if FC1 still has the three samba packages, as I always don't install it and then compile/install it from source. Hope this helps, edd