LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Server (https://www.linuxquestions.org/questions/linux-server-73/)
-   -   Yum Update Errors (https://www.linuxquestions.org/questions/linux-server-73/yum-update-errors-4175534903/)

newbiegirl 02-23-2015 07:20 PM

Yum Update Errors
 
I have a Linux VPS running Centos 6.6

When I went to perform a "Yum Update" I received the following errors:

Error: Package: 32:bind-chroot-9.8.2-0.23.rc1.el6_5.1.x86_64 (@updates)
Requires: bind = 32:9.8.2-0.23.rc1.el6_5.1
Removing: 32:bind-9.8.2-0.23.rc1.el6_5.1.x86_64 (@updates)
bind = 32:9.8.2-0.23.rc1.el6_5.1
Updated By: 32:bind-9.8.2-0.30.rc1.el6_6.1.x86_64 (updates)
bind = 32:9.8.2-0.30.rc1.el6_6.1
Available: 32:bind-9.8.2-0.30.rc1.el6.x86_64 (base)
bind = 32:9.8.2-0.30.rc1.el6
You could try using --skip-broken to work around the problem
** Found 5 pre-existing rpmdb problem(s), 'yum check' output follows:
3:mailman-2.1.12-18.el6.x86_64 has missing requires of httpd
mod_fcgid-2.3.7-1.el6.x86_64 has missing requires of httpd-mmn = ('0', '20051115', None)
2:mod_ssl-2.2.15-30.el6.vm.x86_64 has missing requires of httpd = ('1', '2.2.15', '30.el6.vm')
2:mod_ssl-2.2.15-30.el6.vm.x86_64 has missing requires of httpd-mmn = ('0', '20051115', None)
webalizer-2.21_02-3.3.el6.x86_64 has missing requires of httpd


Is there anything that I can do to fix these issues?

Any input/help would be greatly appreciated.

Thank you.

John VV 02-23-2015 08:40 PM

it sounds like you manually installed some rpm's that were not from the updates or base repo

or
enabled a third party repo and DID NOT install and configure the needed yum plugin " yum-priorites"

the first thing i would do is to check the database
Code:

su -
yum clean all
rpm --rebuilddb
yum update

if that has the SAME error then have a look at the repos installed
--- you might want to post the out put ! ---

Code:

su -
yum repolist all

rhel/cent/sl 6 is not as bad as 5 was with third party repos BUT there are some incompatible rpm's in them

if there ARE no third party repos
then likely some random rpm's from random sites got installed

check WHERE bind-chroot-9.8.2-0.23 is from ( should be the cent update repo
Code:

su -
yum info bind-chroot-9.8.2-0.23


newbiegirl 02-23-2015 08:53 PM

Hi John,

Thank you and I will give this a shot and see what happens. I will let you know.

Thanks again, Joan

newbiegirl 02-23-2015 08:57 PM

Hi John,

I did the first suggestion and here is what I got:


root@vps25401 [~]# su -
root@vps25401 [~]# yum clean all
Loaded plugins: fastestmirror
Cleaning repos: base extras updates virtualmin virtualmin-universal
Cleaning up Everything
Cleaning up list of fastest mirrors
root@vps25401 [~]# rpm --rebuilddb
root@vps25401 [~]# yum update
Loaded plugins: fastestmirror
Setting up Update Process
Determining fastest mirrors
base | 3.7 kB 00:00
base/primary_db | 4.6 MB 00:00
extras | 3.4 kB 00:00
extras/primary_db | 30 kB 00:00
updates | 3.4 kB 00:00
updates/primary_db | 2.1 MB 00:00
virtualmin | 1.2 kB 00:00
virtualmin/primary | 35 kB 00:00
virtualmin-universal | 1.2 kB 00:00
virtualmin-universal/primary | 24 kB 00:00
virtualmin-universal: [########################################### ] 203/217Resolving Dependencies
--> Running transaction check
---> Package bind.x86_64 32:9.8.2-0.23.rc1.el6_5.1 will be updated
--> Processing Dependency: bind = 32:9.8.2-0.23.rc1.el6_5.1 for package: 32:bind-chroot-9.8.2-0.23.rc1.el6_5.1.x86_64
---> Package bind.x86_64 32:9.8.2-0.30.rc1.el6_6.1 will be an update
---> Package bind-devel.x86_64 32:9.8.2-0.23.rc1.el6_5.1 will be updated
---> Package bind-devel.x86_64 32:9.8.2-0.30.rc1.el6_6.1 will be an update
---> Package bind-libs.x86_64 32:9.8.2-0.23.rc1.el6_5.1 will be updated
---> Package bind-libs.x86_64 32:9.8.2-0.30.rc1.el6_6.1 will be an update
---> Package bind-utils.x86_64 32:9.8.2-0.23.rc1.el6_5.1 will be updated
---> Package bind-utils.x86_64 32:9.8.2-0.30.rc1.el6_6.1 will be an update
--> Finished Dependency Resolution
Error: Package: 32:bind-chroot-9.8.2-0.23.rc1.el6_5.1.x86_64 (@updates)
Requires: bind = 32:9.8.2-0.23.rc1.el6_5.1
Removing: 32:bind-9.8.2-0.23.rc1.el6_5.1.x86_64 (@updates)
bind = 32:9.8.2-0.23.rc1.el6_5.1
Updated By: 32:bind-9.8.2-0.30.rc1.el6_6.1.x86_64 (updates)
bind = 32:9.8.2-0.30.rc1.el6_6.1
Available: 32:bind-9.8.2-0.30.rc1.el6.x86_64 (base)
bind = 32:9.8.2-0.30.rc1.el6
You could try using --skip-broken to work around the problem
** Found 5 pre-existing rpmdb problem(s), 'yum check' output follows:
3:mailman-2.1.12-18.el6.x86_64 has missing requires of httpd
mod_fcgid-2.3.7-1.el6.x86_64 has missing requires of httpd-mmn = ('0', '20051115', None)
2:mod_ssl-2.2.15-30.el6.vm.x86_64 has missing requires of httpd = ('1', '2.2.15', '30.el6.vm')
2:mod_ssl-2.2.15-30.el6.vm.x86_64 has missing requires of httpd-mmn = ('0', '20051115', None)
webalizer-2.21_02-3.3.el6.x86_64 has missing requires of httpd

newbiegirl 02-23-2015 09:00 PM

Hi John,

I did the second suggestion:
su -
yum repolist all

Here are the results:

root@vps25401 [~]# su -
root@vps25401 [~]# yum repolist all
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
repo id repo name status
C6.0-base CentOS-6.0 - Base disabled
C6.0-centosplus CentOS-6.0 - CentOSPlus disabled
C6.0-contrib CentOS-6.0 - Contrib disabled
C6.0-extras CentOS-6.0 - Extras disabled
C6.0-updates CentOS-6.0 - Updates disabled
C6.1-base CentOS-6.1 - Base disabled
C6.1-centosplus CentOS-6.1 - CentOSPlus disabled
C6.1-contrib CentOS-6.1 - Contrib disabled
C6.1-extras CentOS-6.1 - Extras disabled
C6.1-updates CentOS-6.1 - Updates disabled
C6.2-base CentOS-6.2 - Base disabled
C6.2-centosplus CentOS-6.2 - CentOSPlus disabled
C6.2-contrib CentOS-6.2 - Contrib disabled
C6.2-extras CentOS-6.2 - Extras disabled
C6.2-updates CentOS-6.2 - Updates disabled
C6.3-base CentOS-6.3 - Base disabled
C6.3-centosplus CentOS-6.3 - CentOSPlus disabled
C6.3-contrib CentOS-6.3 - Contrib disabled
C6.3-extras CentOS-6.3 - Extras disabled
C6.3-updates CentOS-6.3 - Updates disabled
C6.4-base CentOS-6.4 - Base disabled
C6.4-centosplus CentOS-6.4 - CentOSPlus disabled
C6.4-contrib CentOS-6.4 - Contrib disabled
C6.4-extras CentOS-6.4 - Extras disabled
C6.4-updates CentOS-6.4 - Updates disabled
C6.5-base CentOS-6.5 - Base disabled
C6.5-centosplus CentOS-6.5 - CentOSPlus disabled
C6.5-contrib CentOS-6.5 - Contrib disabled
C6.5-extras CentOS-6.5 - Extras disabled
C6.5-updates CentOS-6.5 - Updates disabled
base CentOS-6 - Base enabled: 6,456+62
base-debuginfo CentOS-6 - Debuginfo disabled
c6-media CentOS-6 - Media disabled
centosplus CentOS-6 - Plus disabled
contrib CentOS-6 - Contrib disabled
extras CentOS-6 - Extras enabled: 37
fasttrack CentOS-6 - fasttrack disabled
updates CentOS-6 - Updates enabled: 745+40
virtualmin RHEL/CentOS/Scientific 6 - x86_64 - Virtu enabled: 47+77
virtualmin-universal Virtualmin Distribution Neutral Packages enabled: 202+1
repolist: 7,487


Now what?

Thank you,
Joan

newbiegirl 02-23-2015 09:03 PM

Here is number 3 suggestion results:

root@vps25401 [~]# su -
root@vps25401 [~]# yum info bind-chroot-9.8.2-0.23
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
Error: No matching Packages to list



Please let me know the next step, if you have one for me.

Thank you again,
Joan

newbiegirl 02-26-2015 08:58 AM

Hi There.......

I really could use some guidance and it would be greatly appreciated.

My yum update errors still exist. I forgot to mention that I use cPanel. I upgraded from Virtualmin/Webmin/Usermin

I had a file missing which has been added. It is: the following line in your /etc/yum.conf file if you have already installed cPanel:

Code:
exclude=bind-chroot courier* dovecot* exim* filesystem httpd* mod_ssl* mydns* mysql* nsd* php* proftpd* pure-ftpd* spamassassin* squirrelmail*

So I ran this again:
su -
yum clean all
rpm --rebuilddb
yum update

root@vps25401 [~]# yum update
Loaded plugins: fastestmirror
Setting up Update Process
Loading mirror speeds from cached hostfile
Resolving Dependencies
--> Running transaction check
---> Package bind.x86_64 32:9.8.2-0.23.rc1.el6_5.1 will be updated
--> Processing Dependency: bind = 32:9.8.2-0.23.rc1.el6_5.1 for package: 32:bind-chroot-9.8.2-0.23.rc1.el6_5.1.x86_64
---> Package bind.x86_64 32:9.8.2-0.30.rc1.el6_6.1 will be an update
---> Package bind-devel.x86_64 32:9.8.2-0.23.rc1.el6_5.1 will be updated
---> Package bind-devel.x86_64 32:9.8.2-0.30.rc1.el6_6.1 will be an update
---> Package bind-libs.x86_64 32:9.8.2-0.23.rc1.el6_5.1 will be updated
---> Package bind-libs.x86_64 32:9.8.2-0.30.rc1.el6_6.1 will be an update
---> Package bind-utils.x86_64 32:9.8.2-0.23.rc1.el6_5.1 will be updated
---> Package bind-utils.x86_64 32:9.8.2-0.30.rc1.el6_6.1 will be an update
--> Finished Dependency Resolution
Error: Package: 32:bind-chroot-9.8.2-0.23.rc1.el6_5.1.x86_64 (@updates)
Requires: bind = 32:9.8.2-0.23.rc1.el6_5.1
Removing: 32:bind-9.8.2-0.23.rc1.el6_5.1.x86_64 (@updates)
bind = 32:9.8.2-0.23.rc1.el6_5.1
Updated By: 32:bind-9.8.2-0.30.rc1.el6_6.1.x86_64 (updates)
bind = 32:9.8.2-0.30.rc1.el6_6.1
Available: 32:bind-9.8.2-0.30.rc1.el6.x86_64 (base)
bind = 32:9.8.2-0.30.rc1.el6
You could try using --skip-broken to work around the problem
** Found 5 pre-existing rpmdb problem(s), 'yum check' output follows:
3:mailman-2.1.12-18.el6.x86_64 has missing requires of httpd
mod_fcgid-2.3.7-1.el6.x86_64 has missing requires of httpd-mmn = ('0', '20051115', None)
2:mod_ssl-2.2.15-30.el6.vm.x86_64 has missing requires of httpd = ('1', '2.2.15', '30.el6.vm')
2:mod_ssl-2.2.15-30.el6.vm.x86_64 has missing requires of httpd-mmn = ('0', '20051115', None)
webalizer-2.21_02-3.3.el6.x86_64 has missing requires of httpd
root@vps25401 [~]#

Then I did:
su -
yum repolist all

root@vps25401 [~]# su -
root@vps25401 [~]# yum repolist all
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
repo id repo name status
C6.0-base CentOS-6.0 - Base disabled
C6.0-centosplus CentOS-6.0 - CentOSPlus disabled
C6.0-contrib CentOS-6.0 - Contrib disabled
C6.0-extras CentOS-6.0 - Extras disabled
C6.0-updates CentOS-6.0 - Updates disabled
C6.1-base CentOS-6.1 - Base disabled
C6.1-centosplus CentOS-6.1 - CentOSPlus disabled
C6.1-contrib CentOS-6.1 - Contrib disabled
C6.1-extras CentOS-6.1 - Extras disabled
C6.1-updates CentOS-6.1 - Updates disabled
C6.2-base CentOS-6.2 - Base disabled
C6.2-centosplus CentOS-6.2 - CentOSPlus disabled
C6.2-contrib CentOS-6.2 - Contrib disabled
C6.2-extras CentOS-6.2 - Extras disabled
C6.2-updates CentOS-6.2 - Updates disabled
C6.3-base CentOS-6.3 - Base disabled
C6.3-centosplus CentOS-6.3 - CentOSPlus disabled
C6.3-contrib CentOS-6.3 - Contrib disabled
C6.3-extras CentOS-6.3 - Extras disabled
C6.3-updates CentOS-6.3 - Updates disabled
C6.4-base CentOS-6.4 - Base disabled
C6.4-centosplus CentOS-6.4 - CentOSPlus disabled
C6.4-contrib CentOS-6.4 - Contrib disabled
C6.4-extras CentOS-6.4 - Extras disabled
C6.4-updates CentOS-6.4 - Updates disabled
C6.5-base CentOS-6.5 - Base disabled
C6.5-centosplus CentOS-6.5 - CentOSPlus disabled
C6.5-contrib CentOS-6.5 - Contrib disabled
C6.5-extras CentOS-6.5 - Extras disabled
C6.5-updates CentOS-6.5 - Updates disabled
base CentOS-6 - Base enabled: 6,456+62
base-debuginfo CentOS-6 - Debuginfo disabled
c6-media CentOS-6 - Media disabled
centosplus CentOS-6 - Plus disabled
contrib CentOS-6 - Contrib disabled
extras CentOS-6 - Extras enabled: 37
fasttrack CentOS-6 - fasttrack disabled
updates CentOS-6 - Updates enabled: 748+40
virtualmin RHEL/CentOS/Scientific 6 - x86_64 - Virtu enabled: 47+77
virtualmin-universal Virtualmin Distribution Neutral Packages enabled: 202+1
repolist: 7,490
root@vps25401 [~]#

Is there anything that should be disabled that is enabled, that may help fix my problem?

Thank you so much, I appreciate any input & assistance that you can provide.


My Problem has been resolved!

I used the following based on someone's recommendation:

rpm -e --nodeps bind-chroot-9.8.2-0.23.rc1.el6_5.1.x86_64


All times are GMT -5. The time now is 04:16 PM.