Missing Dependency: /usr/share/magic.mime is needed by package httpd-2.2.3-22.el5.centos.i386 (installed)
hi
when I did yum update I got following Error :
Missing Dependency: /usr/share/magic.mime is needed by package httpd-2.2.3-22.el5.centos.i386 (installed)
can someone help me?
how I resolve this error?
I have Trixbox System Status Version: 2.6.1.1
yum clean ?
I did yum clean but I got following error:
Error: clean requires an option: headers, packages, metadata, dbcache, plugins, expire-cache, all
This is why I suggest being familiar with Linux before typing commands blindly.
Most every command will disgorge it's sytax when you type the command and then --help
IE:
[root@skyPBXhome configs]# touch --help
Usage: touch [OPTION]... FILE...
Update the access and modification times of each FILE to the current time.
Mandatory arguments to long options are mandatory for short options too.
-a change only the access time
-c, --no-create do not create any files
-d, --date=STRING parse STRING and use it instead of current time
-f (ignored)
-m change only the modification time
-r, --reference=FILE use this file's times instead of current time
-t STAMP use [[CC]YY]MMDDhhmm[.ss] instead of current time
--time=WORD set time given by WORD: access atime use (same as -a)
modify mtime (same as -m)
--help display this help and exit
--version output version information and exit
Note that the -d and -t options accept different time-date formats.
Report bugs to <bug-coreutils@gnu.org>.
[root@skyPBXhome configs]#
For more in depth help the man pages 'man cmd' will access the online documentation.
If you had looked at the docs instead of tossing your arms up in frustration you would have found this gem:
CLEAN OPTIONS
The following are the ways which you can invoke yum in clean mode.
yum clean packages
Eliminate any cached packages from the system. Note that pack-
ages are not automatically deleted after they are downloaded.
yum clean headers
Eliminate all of the files which yum uses to determine the
remote availability of packages. Using this option will force
yum to download all the headers the next time it is run.
yum clean all
Runs yum clean packages and yum clean headers as above.


Member Since:
2006-09-04