Quantcast

yum update errors

Apparently Linux is now cool. Discuss it here!

Moderators: [SCUM] FeRoL, [SCUM] OUTLAW

yum update errors

Postby [SCUM] McPhil » 11 May 2009, 16:23

For those of you who rely on yum to keep your server updated from time to time you'll experience errors, such as:

Missing Dependency: {nature of the error} is needed by package {your specific linux info here}

Today when updating one of the server I get this error when running 'yum update' in a shell as root:

Missing Dependency: /usr/share/magic.mime is needed by package httpd-2.2.3-11.el5_2.centos.4.x86_64 (installed)

The easiest way I know to fix this is 'yum clean' or 'yum clean all'

Try 'yum clean' first. If you get this error:

Error: clean requires an option: headers, packages, metadata, dbcache, plugins, expire-cache, all

Then use 'yum clean all'

The result is usually:

[~]# yum clean all
Loaded plugins: fastestmirror
Cleaning up Everything
Cleaning up list of fastest mirrors

Then you will be able to run 'yum update' and enjoy an updated server. -McPhil
User avatar
[SCUM] McPhil
Super Admin
Super Admin
 
Posts: 2190
Joined: 06 Jul 2006, 18:33

Return to Linux Related Stuff

cron