weird yum behavior
Erik Williamson
erik at cpsc.ucalgary.ca
Tue Mar 2 02:15:01 UTC 2004
I'm pretty sure that you have to say 'update' last:
yum --exclude=rhythmbox \
--exclude=nautilus-media \
--exclude=gnome-media \
update
should work.
Zach Wilkinson wrote:
> [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
>
>
--
e r i k w i l l i a m s o n erik at cpsc.ucalgary.ca
system admin . department of computer science . university of calgary
More information about the fedora-test-list
mailing list