Hello everyone,
I had an issue with one of three servers upgrading from 6.4 to 6.5. It did not have the CR repo enabled.
It failed dueing install, but I didn't catch the error (bad, bad, I know). OK, so it told me to run yum-complete transaction. After going through and figuring out what it had to do, it stops with this error:
(etc, etc...)
--> Processing Dependency: pkgconfig(ORBit-2.0) for package: libbonobo-devel-2.24.2-5.el6.i686 --> Processing Dependency: ORBit2-devel >= 2.7.5 for package: libbonobo-devel-2.24.2-5.el6.i686 ---> Package libgnomecanvas-devel.i686 0:2.26.0-4.el6 will be erased ---> Package polkit-docs.i686 0:0.96-5.el6_4 will be erased --> Processing Dependency: polkit-docs = 0.96-5.el6_4 for package: polkit-devel-0.96-5.el6_4.i686 --> Running transaction check ---> Package libbonobo-devel.i686 0:2.24.2-5.el6 will be erased ---> Package polkit-devel.i686 0:0.96-5.el6_4 will be erased --> Finished Dependency Resolution Error: Trying to remove "yum", which is protected You could try using --skip-broken to work around the problem ** Found 216 pre-existing rpmdb problem(s), 'yum check' output follows: ModemManager-0.4.0-5.git20100628.el6.i686 is a duplicate with ModemManager-0.4.0-3.git20100628.el6.i686 1:NetworkManager-0.8.1-66.el6.i686 is a duplicate with 1:NetworkManager-0.8.1-61.el6_4.i686 1:NetworkManager-glib-0.8.1-66.el6.i686 is a duplicate with 1:NetworkManager-glib-0.8.1-61.el6_4.i68 (etc)
Any ideas on how to fix this? A "yum update" tells me to run yum-complete-transaction.
For those who respond, I thank you for your time, I appreciate it!
Gilbert
******************************************************************************* Gilbert Sebenste ******** (My opinions only!) ****** *******************************************************************************
Hi Gilbert,
you should do exactly that - run yum-complete-transaction from yum-utils. You have an aborted "yum update" and thus duplicate packages in the db.
-----Ursprüngliche Nachricht----- Von: centos-bounces@centos.org [mailto:centos-bounces@centos.org] Im Auftrag von Gilbert Sebenste Gesendet: Montag, 2. Dezember 2013 16:46 An: centos@centos.org Betreff: [CentOS] Problem upgrading from CentOS 6.4 to 6.5
Hello everyone,
I had an issue with one of three servers upgrading from 6.4 to 6.5. It did not have the CR repo enabled.
It failed dueing install, but I didn't catch the error (bad, bad, I know). OK, so it told me to run yum-complete transaction. After going through and figuring out what it had to do, it stops with this error:
(etc, etc...)
--> Processing Dependency: pkgconfig(ORBit-2.0) for package: libbonobo-devel-2.24.2-5.el6.i686 --> Processing Dependency: ORBit2-devel >= 2.7.5 for package: libbonobo-devel-2.24.2-5.el6.i686 ---> Package libgnomecanvas-devel.i686 0:2.26.0-4.el6 will be erased ---> Package polkit-docs.i686 0:0.96-5.el6_4 will be erased --> Processing Dependency: polkit-docs = 0.96-5.el6_4 for package: polkit-devel-0.96-5.el6_4.i686 --> Running transaction check ---> Package libbonobo-devel.i686 0:2.24.2-5.el6 will be erased ---> Package polkit-devel.i686 0:0.96-5.el6_4 will be erased --> Finished Dependency Resolution Error: Trying to remove "yum", which is protected You could try using --skip-broken to work around the problem ** Found 216 pre-existing rpmdb problem(s), 'yum check' output follows: ModemManager-0.4.0-5.git20100628.el6.i686 is a duplicate with ModemManager-0.4.0-3.git20100628.el6.i686 1:NetworkManager-0.8.1-66.el6.i686 is a duplicate with 1:NetworkManager-0.8.1-61.el6_4.i686 1:NetworkManager-glib-0.8.1-66.el6.i686 is a duplicate with 1:NetworkManager-glib-0.8.1-61.el6_4.i68 (etc)
Any ideas on how to fix this? A "yum update" tells me to run yum-complete-transaction.
For those who respond, I thank you for your time, I appreciate it!
Gilbert
**************************************************************************** *** Gilbert Sebenste ******** (My opinions only!) ****** **************************************************************************** *** _______________________________________________ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
On Mon, Dec 2, 2013 at 9:46 AM, Gilbert Sebenste sebenste@weather.admin.niu.edu wrote:
Hello everyone,
I had an issue with one of three servers upgrading from 6.4 to 6.5. It did not have the CR repo enabled.
It failed dueing install, but I didn't catch the error (bad, bad, I know). OK, so it told me to run yum-complete transaction. After going through and figuring out what it had to do, it stops with this error:
(etc, etc...) Error: Trying to remove "yum", which is protected You could try using --skip-broken to work around the problem
Is that error from running yum-complete-transaction? If not, install yum-utils and run yum-complete-transaction. If it is, I think it means that your rpmdb shows 2 versions of yum installed and it is refusing to fix it. I'd try a 'yum update yum' to make sure you really have the latest, then 'rpm -q yum' to see if it shows 2 versions installed, then 'yum remove' the full package-version name of the older one. And if yum still refuses, try 'rpm -e' with the older package version.
On Mon, 2 Dec 2013, Les Mikesell wrote:
On Mon, Dec 2, 2013 at 9:46 AM, Gilbert Sebenste sebenste@weather.admin.niu.edu wrote:
Hello everyone,
I had an issue with one of three servers upgrading from 6.4 to 6.5. It did not have the CR repo enabled.
It failed dueing install, but I didn't catch the error (bad, bad, I know). OK, so it told me to run yum-complete transaction. After going through and figuring out what it had to do, it stops with this error:
(etc, etc...) Error: Trying to remove "yum", which is protected You could try using --skip-broken to work around the problem
Is that error from running yum-complete-transaction? If not, install yum-utils and run yum-complete-transaction. If it is, I think it means that your rpmdb shows 2 versions of yum installed and it is refusing to fix it. I'd try a 'yum update yum' to make sure you really have the latest, then 'rpm -q yum' to see if it shows 2 versions installed, then 'yum remove' the full package-version name of the older one. And if yum still refuses, try 'rpm -e' with the older package version.
Hello Les and Thomas,
OK. I got rid of the duplicate packages, ran yum-complete-transaction, and then rebooted. It is now stuck on the CentOS logo/splash screen, instead of booting into gnome. Any ideas? I can log into the box, most software is running.
Gilbert
******************************************************************************* Gilbert Sebenste ******** (My opinions only!) ****** *******************************************************************************
On Mon, Dec 2, 2013 at 11:35 AM, Gilbert Sebenste sebenste@weather.admin.niu.edu wrote:
OK. I got rid of the duplicate packages, ran yum-complete-transaction, and then rebooted. It is now stuck on the CentOS logo/splash screen, instead of booting into gnome. Any ideas? I can log into the box, most software is running.
If you hit escape when the splash screen starts, can you tell which service startup is hanging?
On Mon, 2 Dec 2013, Les Mikesell wrote:
On Mon, Dec 2, 2013 at 11:35 AM, Gilbert Sebenste sebenste@weather.admin.niu.edu wrote:
OK. I got rid of the duplicate packages, ran yum-complete-transaction, and then rebooted. It is now stuck on the CentOS logo/splash screen, instead of booting into gnome. Any ideas? I can log into the box, most software is running.
If you hit escape when the splash screen starts, can you tell which service startup is hanging?
It starts all the services, and what's in rc.local, but has some sort of X11 error. I went to /etc/X11 to try to remove the xorg.conf file so that it would recreate a new one, but I don't see one. I don't know for sure if it's X or Gnome that's shot at this point. Log files don't help me much except for the X11 error. I went and also erased .X1 and .X2.lock files to see if that would help; nada.
Gilbert
******************************************************************************* Gilbert Sebenste ******** (My opinions only!) ****** *******************************************************************************
On Mon, Dec 2, 2013 at 11:59 AM, Gilbert Sebenste sebenste@weather.admin.niu.edu wrote:
If you hit escape when the splash screen starts, can you tell which service startup is hanging?
It starts all the services, and what's in rc.local, but has some sort of X11 error. I went to /etc/X11 to try to remove the xorg.conf file so that it would recreate a new one, but I don't see one. I don't know for sure if it's X or Gnome that's shot at this point. Log files don't help me much except for the X11 error. I went and also erased .X1 and .X2.lock files to see if that would help; nada.
Did you try another 'yum update' after completing your old transaction?
Does 'startx' work from a text mode login? If not, maybe the error message will give you a hint.
On Mon, 2 Dec 2013, Les Mikesell wrote:
Did you try another 'yum update' after completing your old transaction?
Yes. All is good there. BUT...
Does 'startx' work from a text mode login? If not, maybe the error message will give you a hint.
Yes! X windows started just fine. Scratches head...
Thinks...
Wait, I have GDM do an autologin to the local server.
rpm -q gdm
NOT THERE! Yum erased both the duplicate I wanted gone and the new version. Ruh roh!
yum -y install gdm
Tweaks custom.conf
reboots
All is well.
Thanks so much, Wes and Thomas, for your time and help today...that gets me out of a big jam. I can breathe again! :-D
Gilbert
******************************************************************************* Gilbert Sebenste ******** (My opinions only!) ****** *******************************************************************************