Fixing Broken Packages Linux

Fixing Broken Packages Linux

**Disclaimer**

this is offered with no warranty, if you proceed; do so at your own risk, not held liable for any damages inured due to following this blog post!

From time to time when you issue a “yum update” you get a package or two that gives you errors, and will not allow the update process. The first thing you want to do is manually run all the other updates.

For example, say the package “perl” is giving you troubles, issue the command:

yum update –exclude perl

from there all your other updates will install except for perl (we want to isolate the package so nothing else breaks along with it)

from there once all updates are installed, you should be aware that most packages that have problems are due to i386 (32-bit) compatibility issues.

the first thing we want to try is un-installing the 32 bit version of this program “perl” to do so issue the following command in a terminal, logged in as root:

yum remove perl.i386

it should look alot like above.

from there you will hit “y” and enter to remove. (be aware that some things may break when you do this, make sure to do so in off business hours)

once completed, issue the following command:

yum install perl.i386

you should see as follows.

from there restart any services that may be associated with the broken package. run “yum update” once more to see if the issue has been resolved. The way to tell if the issue has been resolved is if you are prompted with “no packages selected for update”

You have successfully fixed your broken packages!

Thanks for Reading!

 

For Linux technical support visit www.zwiegnet.com

 

Leave a Reply