Centos5 box - yum update has failed bind dependency
Centos5 box - yum update has failed bind dependency
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
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
-
- Long Time Forum Regular
- Posts: 2813
- Joined: Sat Aug 20, 2005 9:30 am
- Location: The Netherlands
If you have bind-chroot on your system, remove it as it causes problems with Plesk.
Lemonbit Internet Dedicated Server Management
-
- Long Time Forum Regular
- Posts: 2813
- Joined: Sat Aug 20, 2005 9:30 am
- Location: The Netherlands
What does /etc/sysconfig/named look like? On a default Plesk box it should have these options:
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.
Code: Select all
ROOTDIR="/var/named/run-root"
OPTIONS="-c /etc/named.conf -u named"
Lemonbit Internet Dedicated Server Management
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.
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.
-
- Long Time Forum Regular
- Posts: 2813
- Joined: Sat Aug 20, 2005 9:30 am
- Location: The Netherlands
Two days ago updated bind-* packages were released. Maybe the mirror you're looking doesn't have those updates yet.
Lemonbit Internet Dedicated Server Management
-
- Long Time Forum Regular
- Posts: 2813
- Joined: Sat Aug 20, 2005 9:30 am
- Location: The Netherlands
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.
Lemonbit Internet Dedicated Server Management
Yes you are rightbreun 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.
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.

mrwilson
now using asl-2.2-1.el5.art on Centos 5 64-bit - Plesk 9.2.2
now using asl-2.2-1.el5.art on Centos 5 64-bit - Plesk 9.2.2
-
- Long Time Forum Regular
- Posts: 2813
- Joined: Sat Aug 20, 2005 9:30 am
- Location: The Netherlands
Read this thread again, somebody else already went through the same process.
Lemonbit Internet Dedicated Server Management
Now I get it,breun wrote:Read this thread again, somebody else already went through the same process.
yum remove bind-chroot
Then add
Code: Select all
ROOTDIR="/var/named/run-root"
then
service named start
because after removing bind-chroot it didn't start.
I hope that's all I had to do

mrwilson
now using asl-2.2-1.el5.art on Centos 5 64-bit - Plesk 9.2.2
now using asl-2.2-1.el5.art on Centos 5 64-bit - Plesk 9.2.2