We are ripping out the old RPMs. Let’s figure out what RPMs they are:
# rpm -qa | grep bind bind-9.3.4-8.P1.fc6 bind-libs-9.3.4-8.P1.fc6 |
Let’s start removing them:
# rpm -e bind-libs-9.3.4-8.P1.fc6 error: Failed dependencies: libbind9.so.0 is needed by (installed) bind-9.3.4-8.P1.fc6.i386 libdns.so.22 is needed by (installed) bind-9.3.4-8.P1.fc6.i386 libisc.so.11 is needed by (installed) bind-9.3.4-8.P1.fc6.i386 libisccc.so.0 is needed by (installed) bind-9.3.4-8.P1.fc6.i386 libisccfg.so.1 is needed by (installed) bind-9.3.4-8.P1.fc6.i386 liblwres.so.9 is needed by (installed) bind-9.3.4-8.P1.fc6.i386 bind-libs = 31:9.3.4-8.P1.fc6 is needed by (installed) bind-9.3.4-8.P1.fc6.i386 |
The libs are needed by the main program? Whooda thunk. Let’s rip out BIND:
# rpm -e bind-9.3.4-8.P1.fc6 error: Failed dependencies: bind = 31:9.3.4-8.P1.fc6 is needed by (installed) caching-nameserver-9.3.4-8.P1.fc6.i386 bind >= 9.2.2 is needed by (installed) turbopanel-dns-1.4.2-20080523.0816.noarch |
We hate turbopanel. We usually rip this out too when we see it. Be careful, of course, if you are using turbopanel. Let’s get rid of this as well as the the caching server:
# rpm -e caching-nameserver-9.3.4-8.P1.fc6.i386 # rpm -e turbopanel-dns-1.4.2-20080523.0816.noarch error: Failed dependencies: turbopanel-dns = 1.4.2-20080523.0816 is needed by (installed) turbopanel-1.4.2-20080523.0816.noarch |
Almost there. Have to do this stuff in order:
# rpm -e turbopanel-1.4.2-20080523.0816.noarch # rpm -e turbopanel-dns-1.4.2-20080523.0816.noarch # rpm -e bind-9.3.4-8.P1.fc6 # rpm -e bind-libs-9.3.4-8.P1.fc6 |
Besides getting rid of /etc/init.d/named and non-user-specific stuff in /var/named, removing the RPM will get rid of the SysV init links. We can put them back with chkconfig:
# chkconfig named on # chkconfig --list | grep on . . . named 0:off 1:off 2:on 3:on 4:on 5:on 6:off . . . # |