yum update errors
Moderators: [SCUM] FeRoL, [SCUM] OUTLAW
1 post • Page 1 of 1
yum update errors
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
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
-

[SCUM] McPhil - Super Admin

- Posts: 2190
- Joined: 06 Jul 2006, 18:33
1 post • Page 1 of 1
