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 at centos.org [mailto:centos-bounces at centos.org] Im Auftrag von Gilbert Sebenste Gesendet: Montag, 2. Dezember 2013 16:46 An: centos at 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 at centos.org http://lists.centos.org/mailman/listinfo/centos
On Mon, Dec 2, 2013 at 9:46 AM, Gilbert Sebenste <sebenste at 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 problemIs 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. -- Les Mikesell lesmikesell at gmail.com