weird yum behavior
Zach Wilkinson
zachw at termdex.com
Tue Mar 2 01:33:51 UTC 2004
[root at localhost root]# yum update Gathering header information file(s)
from server(s)
Server: Fedora Core 1.90 - Development Tree
Finding updated packages
Downloading needed headers
Resolving dependencies
.Package rhythmbox needs libgstcontrol-0.7.so.5, this is not available.
Package rhythmbox needs libgstreamer-0.7.so.5, this is not available.
Package nautilus-media needs libgstreamer-0.7.so.5, this is not
available.
Package gnome-media needs libgstreamer-0.7.so.5, this is not available.
Drat! OK...
[root at localhost root]# yum --help
Usage: yum [options] <update | upgrade | install | info | remove |
list |
clean | provides | search | check-update | groupinstall |
groupupdate |
grouplist >
Options:
-c [config file] - specify the config file to use
-e [error level] - set the error logging level
-d [debug level] - set the debugging level
-y answer yes to all questions
-t be tolerant about errors in package commands
-R [time in minutes] - set the max amount of time to randomly
run in.
-C run from cache only - do not update the cache
--installroot=[path] - set the install root (default '/')
--version - output the version of yum
--exclude=some_pkg_name - packagename to exclude - you can use
this more than once
--download-only - only download packages - do not run the
transaction
-h, --help this screen
[root at localhost root]# yum update --exclude=rhythmbox --
exclude=nautilus-media --exclude=gnome-media
Gathering header information file(s) from server(s)
Server: Fedora Core 1.90 - Development Tree
Finding updated packages
Downloading needed headers
Cannot find any package matching --exclude=rhythmbox available to be
updated.
Cannot find any package matching --exclude=nautilus-media available to
be updated.
Cannot find any package matching --exclude=gnome-media available to be
updated.
No actions to take
WTF! Usage tells me I can exclude packages with --exclude=some_pkg_name
but that switch seems to be unknown to yum.
Zach
More information about the test
mailing list