yum update not working with bind

mikelato

Verified User
Joined
Jan 25, 2010
Messages
74
I am having trouble with yum update working with bind. This is happening on my backup DA server not my production one but I cannot seem to figure out why it is happening or how to fix it.

I figured I would try and install the dependencies but that isn't working either, here is the output from yum update...

yum update
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
* addons: mirror.trouble-free.net
* base: mirror.trouble-free.net
* extras: mirror.fdcservers.net
* updates: mirror.vcu.edu
Excluding Packages in global exclude list
Finished
Setting up Update Process
Resolving Dependencies
--> Running transaction check
--> Processing Dependency: bind = 30:9.3.6-4.P1.el5_4.2 for package: bind-chroot
---> Package bind.i386 30:9.3.6-4.P1.el5_5.3 set to be updated
---> Package bind-libs.i386 30:9.3.6-4.P1.el5_5.3 set to be updated
---> Package bind-utils.i386 30:9.3.6-4.P1.el5_5.3 set to be updated
--> Finished Dependency Resolution
30:bind-chroot-9.3.6-4.P1.el5_4.2.i386 from installed has depsolving problems
--> Missing Dependency: bind = 30:9.3.6-4.P1.el5_4.2 is needed by package 30:bind-chroot-9.3.6-4.P1.el5_4.2.i386 (installed)
Error: Missing Dependency: bind = 30:9.3.6-4.P1.el5_4.2 is needed by package 30:bind-chroot-9.3.6-4.P1.el5_4.2.i386 (installed)
You could try using --skip-broken to work around the problem
You could try running: package-cleanup --problems
package-cleanup --dupes
rpm -Va --nofiles --nodigest
The program package-cleanup is found in the yum-utils package.

Any ideas?

Thanks,
Mike
 
The reason of the problem is that bind-chroot should not install with yum, it should be excluded from yum.

Do what scsi says.

After that, check your /etc/yum.conf because it should contain a part like this:
# PUT YOUR REPOS HERE OR IN separate files named file.repo
# in /etc/yum.repos.d
exclude=apache* httpd* mod_* mysql* MySQL* da_* *ftp* exim* sendmail* php* bind-chroot*
And as you see bind-chroot* should be in there to be excluded from yum.
 
Thank you this fixed the problem.

It is strange however that it happened in the first place because my yum.conf already had
bind-chroot*
as an excluded package.

-Mike
 
Back
Top