yum hangs and results in problems

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



My live mail server was due an update so I ran

yum update

All seemed file so I told it to proceed.  HOwever it then hung for over 30 
minutes.

I stopped the update and tried again.  It complained about problems with the 
update, so I tried

yum --skip-broken -y update

which then hung at a different place.  After some Googling I tried

yum-complete-transaction

and 

package-cleanup --cleandupes

both of which failed.  I then using my "Microsoft" head I thought I'd try 
rebooting to see if that fixes it.  This of course was a big mistake as my 
server now crashes on bootup.

I have managed to get it back up and running by selecting a version of the 
kernel that is 3 versions old.

I have now tried

yum history
yum history remove 115 (which failed)
package-cleanup --cleandupes (which failed)
yum-complete-transaction (which failed)
yum-complete-transaction --cleanup-only (which worked)

followed by

[root@ollie2 /]# package-cleanup --problems
Loaded plugins: fastestmirror, langpacks
Package 1:NetworkManager-glib-1.10.2-14.el7_5.x86_64 has installed conflicts 
NetworkManager-libnm < ('1', '1.10.2', '14.el7_5'): 
1:NetworkManager-libnm-1.8.0-11.el7_4.x86_64
Package avahi-glib-0.6.31-19.el7.x86_64 has installed conflicts avahi < 
('0', '0.6.31', '19.el7'): avahi-0.6.31-17.el7.x86_64
Package ipa-common-4.5.0-22.el7.centos.noarch has installed conflicts 
freeipa-common: ipa-common-4.5.4-10.el7.centos.1.noarch
Package ipa-common-4.5.4-10.el7.centos.1.noarch has installed conflicts 
freeipa-common: ipa-common-4.5.0-22.el7.centos.noarch
Package ipa-common-4.5.4-10.el7.centos.1.noarch has installed conflicts 
freeipa-python < ('0', '4.5.4', None): 
ipa-python-compat-4.5.0-22.el7.centos.noarch
Package python2-ipalib-4.5.4-10.el7.centos.1.noarch has installed conflicts 
freeipa-python < ('0', '4.5.4', None): 
ipa-python-compat-4.5.0-22.el7.centos.noarch
[root@ollie2 /]#

I'm now running

yum check

which has also taken 30 minutes so far.

Questions

1) Any ideas why my yum runs keep hanging, and what I can do to fix it?
2) How do I go about fixing the problems listed above?
3) What do I need to do to get my server back in a safe, consistant state?
_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
https://lists.centos.org/mailman/listinfo/centos



[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]


  Powered by Linux