Centos5 box - yum update has failed bind dependency

General Discussion of atomic repo and development projects.

Ask for help here with anything else not covered by other forums.
ssiweb
Forum User
Forum User
Posts: 7
Joined: Wed Jan 30, 2008 8:59 am

Centos5 box - yum update has failed bind dependency

Unread post 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
breun
Long Time Forum Regular
Long Time Forum Regular
Posts: 2813
Joined: Sat Aug 20, 2005 9:30 am
Location: The Netherlands

Unread post by breun »

If you have bind-chroot on your system, remove it as it causes problems with Plesk.
Lemonbit Internet Dedicated Server Management
ssiweb
Forum User
Forum User
Posts: 7
Joined: Wed Jan 30, 2008 8:59 am

Unread post by ssiweb »

did a

#yum remove bind-chroot
#yum update

But bind wouldn't start in plesk
ssiweb
Forum User
Forum User
Posts: 7
Joined: Wed Jan 30, 2008 8:59 am

Unread post 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)
ssiweb
Forum User
Forum User
Posts: 7
Joined: Wed Jan 30, 2008 8:59 am

Unread post by ssiweb »

#yum install bind-chroot

does not work and I can't find an rpm of it
breun
Long Time Forum Regular
Long Time Forum Regular
Posts: 2813
Joined: Sat Aug 20, 2005 9:30 am
Location: The Netherlands

Unread post 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.
Lemonbit Internet Dedicated Server Management
ssiweb
Forum User
Forum User
Posts: 7
Joined: Wed Jan 30, 2008 8:59 am

Unread post 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.
breun
Long Time Forum Regular
Long Time Forum Regular
Posts: 2813
Joined: Sat Aug 20, 2005 9:30 am
Location: The Netherlands

Unread post by breun »

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
mrwilson
Forum User
Forum User
Posts: 53
Joined: Sat Jun 07, 2008 11:09 pm

Unread post 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.)
mrwilson

now using asl-2.2-1.el5.art on Centos 5 64-bit - Plesk 9.2.2
breun
Long Time Forum Regular
Long Time Forum Regular
Posts: 2813
Joined: Sat Aug 20, 2005 9:30 am
Location: The Netherlands

Unread post 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.
Lemonbit Internet Dedicated Server Management
mrwilson
Forum User
Forum User
Posts: 53
Joined: Sat Jun 07, 2008 11:09 pm

Unread post 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. :shock:
mrwilson

now using asl-2.2-1.el5.art on Centos 5 64-bit - Plesk 9.2.2
breun
Long Time Forum Regular
Long Time Forum Regular
Posts: 2813
Joined: Sat Aug 20, 2005 9:30 am
Location: The Netherlands

Unread post by breun »

Read this thread again, somebody else already went through the same process.
Lemonbit Internet Dedicated Server Management
mrwilson
Forum User
Forum User
Posts: 53
Joined: Sat Jun 07, 2008 11:09 pm

Unread post 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

Code: Select all

ROOTDIR="/var/named/run-root"
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 :)
mrwilson

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