Page 1 of 1
Centos5 box - yum update has failed bind dependency
Posted: Wed Jul 09, 2008 8:12 pm
by ssiweb
I have a 64bit centos5 box - I have tried to run #yum update - however it says that is has a failed dependency for bind
Error: Missing Dependency: bind = 30:9.3.3-10.el5 is needed by package bind-chroot
an #rpm -q bind
shows this
bind-9.3.3-10.el5
I have upgraded all other packages where posssible in the meantime and I have updated to plesk 8.4
I have another identical box which is not showing this problem. Also tried
#yum clean all
#yum update
and still no joy
Can anyone help?
Thanks in advance
Posted: Thu Jul 10, 2008 6:02 am
by breun
If you have bind-chroot on your system, remove it as it causes problems with Plesk.
Posted: Thu Jul 10, 2008 6:14 am
by ssiweb
did a
#yum remove bind-chroot
#yum update
But bind wouldn't start in plesk
Posted: Thu Jul 10, 2008 6:25 am
by ssiweb
error is /etc/named.conf:122: open: /etc/secondaries.include: file not found
except it is there like my other box in /var/named/run-root/etc
(i've been using the boxes to act as secondary dns servers between each other)
Posted: Thu Jul 10, 2008 6:44 am
by ssiweb
#yum install bind-chroot
does not work and I can't find an rpm of it
Posted: Thu Jul 10, 2008 6:46 am
by breun
What does /etc/sysconfig/named look like? On a default Plesk box it should have these options:
Code: Select all
ROOTDIR="/var/named/run-root"
OPTIONS="-c /etc/named.conf -u named"
bind-chroot is available in the CentOS repositories, but maybe it is excluded in your yum configuration somewhere. You really shouldn't have bind-chroot installed.
Posted: Thu Jul 10, 2008 6:57 am
by ssiweb
It didn't have the line
ROOTDIR="/var/named/run-root"
I guess
#yum remove bind-chroot
remove this line
I added the line in and now named has restarted. So all ok and now I have it running as suggested without bind-chroot installed.
Intrestingly the other box which I have been trying to keep identical didn't have it installed so I must have put this on via a different package at some point.
I did look in the CentOS repositaries but I needed
/centos/5.2/os/x86_64/CentOS/bind-chroot-9.3.4-6.P1.el5_2.x86_64.rpm
and they only had
/centos/5.2/os/x86_64/CentOS/bind-chroot-9.3.4-6.P1.el5.x86_64.rpm
Thanks for your help Breun - much appreciated.
Posted: Thu Jul 10, 2008 7:16 am
by breun
Two days ago updated bind-* packages were released. Maybe the mirror you're looking doesn't have those updates yet.
Posted: Wed Aug 20, 2008 6:27 am
by mrwilson
I have the same problem, can't run a yum update:
Error: Missing Dependency: bind = 30:9.3.3-10.el5 is needed by package bind-chroot
(Note: I have bind-chroot in the yum exclude list because of Plesk.)
Posted: Wed Aug 20, 2008 6:57 am
by breun
But apparently you do have the bind-chroot package installed at the moment. That is why the upgrade of the other bind* packages fails: it would leave an older bind-chroot package with unsatisfied dependencies. Solution: remove the bind-chroot package, fix your bind configuration and then upgrade.
Posted: Wed Aug 20, 2008 7:31 am
by mrwilson
breun wrote:But apparently you do have the bind-chroot package installed at the moment. That is why the upgrade of the other bind* packages fails: it would leave an older bind-chroot package with unsatisfied dependencies. Solution: remove the bind-chroot package, fix your bind configuration and then upgrade.
Yes you are right
bind-chroot.x86_64 30:9.3.3-10.el5 installed
I could remove it, but haven't got a clue about bind and what I might have to change in the configuration.

Posted: Wed Aug 20, 2008 7:38 am
by breun
Read this thread again, somebody else already went through the same process.
Posted: Wed Aug 20, 2008 8:16 am
by mrwilson
breun wrote:Read this thread again, somebody else already went through the same process.
Now I get it,
yum remove bind-chroot
Then add
back into /etc/sysconfig/named
then
service named start
because after removing bind-chroot it didn't start.
I hope that's all I had to do
