Nux!


Home » Stella » Report a problem or request a feature » yum-complete-transaction issue
yum-complete-transaction issue [message #1333] Thu, 06 June 2013 09:18 Go to next message
MrNice is currently offline  MrNice
Messages: 108
Registered: December 2012
Location: Ireland
Senior Member
Hello,

For some reason, after few minutes after boot or when I run Software update I have a small window saying:
Failed to initialize
...
There are unfinished transactions remaining. Please run yum-complete-transaction as root.


I run as root yum-complete-transaction and get
Checking for new repos for mirrors
...
There are 1 outstanding transactions to complete. Finishing the most recent one
The remaining transaction had 38 elements left to run
Removing selinux-policy-targeted.noarch 0:3.7.19-195.el6_4.5 - ud from the transaction
Removing selinux-policy-targeted.noarch 0:3.7.19-195.el6_4.6 - u from the transaction
Removing mesa-libGLU.x86_64 0:9.0-0.7.el6 - ud from the transaction
Removing mesa-libGLU.x86_64 0:9.0-0.8.el6_4.3 - u from the transaction
...
--> Package libXft.x86_64 0:2.3.1-2.el6 will be erased
---> Package libXi.i686 0:1.6.1-3.el6 will be erased
---> Package libXi.x86_64 0:1.6.1-3.el6 will be erased
---> Package libXinerama.x86_64 0:1.1.2-2.el6 will be erased
...
---> Package system-config-keyboard.x86_64 0:1.3.1-4.el6 will be erased
---> Package system-config-keyboard-base.x86_64 0:1.3.1-4.el6 will be erased
---> Package system-config-network-tui.noarch 0:1.6.0.el6.2-1.el6 will be erased
---> Package system-config-services.noarch 0:0.99.45-1.el6.3 will be erased
...
---> Package vlgothic-fonts.noarch 0:20091202-2.el6 will be erased
---> Package wqy-zenhei-fonts.noarch 0:0.9.45-3.el6 will be erased
--> Running transaction check
---> Package wine-fonts.noarch 0:1.4.1-1.el6 will be erased
--> Processing Dependency: /sbin/new-kernel-pkg for package: kernel-2.6.32-358.6.2.el6.x86_64
Skipping the running kernel: kernel-2.6.32-358.6.2.el6.x86_64
--> Processing Dependency: /bin/sh for package: kernel-2.6.32-358.6.2.el6.x86_64
Skipping the running kernel: kernel-2.6.32-358.6.2.el6.x86_64
--> Restarting Dependency Resolution with new changes.
--> Running transaction check
--> Finished Dependency Resolution
Error: Trying to remove "yum", which is protected
 You could try using --skip-broken to work around the problem
 You could try running: rpm -Va --nofiles --nodigest

I cut some output from the terminal.

I am stuck here and don't know what to do without breaking my everything.
Reboot didn't fix.
Could you help me?
Re: yum-complete-transaction issue [message #1334 is a reply to message #1333] Thu, 06 June 2013 10:19 Go to previous messageGo to next message
nux is currently offline  nux
Messages: 1662
Registered: January 2012
Senior Member
Administrator

Don't understand why yum-complete-transaction acts like this.
Can you try a
yum clean all && yum -y update
then run yum-complete-transaction again and see if the problem is still there?
Re: yum-complete-transaction issue [message #1335 is a reply to message #1333] Thu, 06 June 2013 10:41 Go to previous messageGo to next message
MrNice is currently offline  MrNice
Messages: 108
Registered: December 2012
Location: Ireland
Senior Member
Very good, your command fixed all things.
FYI after yum clean all && yum -y update:
# yum-complete-transaction
Loaded plugins: fastestmirror, refresh-packagekit
Loading mirror speeds from cached hostfile
 * base: ftp.heanet.ie
 * elrepo: mirrors.coreix.net
 * epel: ftp.heanet.ie
 * extras: ftp.heanet.ie
 * nux-dextop: mirror.li.nux.ro
 * nux-libreoffice.org-rpms: mirror.li.nux.ro
 * updates: ftp.heanet.ie
Checking for new repos for mirrors
There are 1 outstanding transactions to complete. Finishing the most recent one
The remaining transaction had 38 elements left to run
Package gnutls-2.8.5-10.el6_4.2.x86_64 already installed and latest version
Package selinux-policy-3.7.19-195.el6_4.6.noarch already installed and latest version
Package 2:qemu-img-0.12.1.2-2.355.0.1.el6.centos.5.x86_64 already installed and latest version
Package mesa-dri-filesystem-9.0-0.8.el6_4.3.x86_64 already installed and latest version
Package mesa-dri-drivers-9.0-0.8.el6_4.3.x86_64 already installed and latest version
Package mesa-libGL-9.0-0.8.el6_4.3.x86_64 already installed and latest version
Package mesa-libGLU-9.0-0.8.el6_4.3.x86_64 already installed and latest version
Package mesa-dri-filesystem-9.0-0.8.el6_4.3.i686 already installed and latest version
Package glx-utils-9.0-0.8.el6_4.3.x86_64 already installed and latest version
Package 2:qemu-kvm-0.12.1.2-2.355.0.1.el6.centos.5.x86_64 already installed and latest version
Package selinux-policy-targeted-3.7.19-195.el6_4.6.noarch already installed and latest version
Package gnutls-utils-2.8.5-10.el6_4.2.x86_64 already installed and latest version
Package tzdata-java-2013c-1.el6.noarch already installed and latest version
Package libtirpc-0.2.1-6.el6_4.x86_64 already installed and latest version
Package tzdata-2013c-1.el6.noarch already installed and latest version
Package mesa-dri-drivers-9.0-0.8.el6_4.3.i686 already installed and latest version
Package mesa-libGL-9.0-0.8.el6_4.3.i686 already installed and latest version
Package mesa-libGLU-9.0-0.8.el6_4.3.i686 already installed and latest version
Package gnutls-2.8.5-10.el6_4.2.i686 already installed and latest version
Nothing in the unfinished transaction to cleanup.
Cleaning up completed transaction file


Many thanks.
Re: yum-complete-transaction issue [message #1336 is a reply to message #1333] Thu, 06 June 2013 16:22 Go to previous message
nux is currently offline  nux
Messages: 1662
Registered: January 2012
Senior Member
Administrator

Super! Smile
Previous Topic: sensors-detect doesn't find sensors (lm_sensors)
Next Topic: Xhost: unable to open display
Goto Forum:
  


Current Time: Wed Nov 13 17:08:39 GMT 2019

Total time taken to generate the page: 0.02184 seconds