Skip packages

Panu Matilainen pmatilai at welho.com
Fri Oct 10 11:22:17 UTC 2003


Quoting Maynard Kuona <knxmay001 at mail.uct.ac.za>:

> How do I specify to skip certain packages when using apt-get upgrade.
> Anyone let me know?

"There's more than one way to do it" .. oops that was the perl mantra :)

To skip certain packages for *this* run either
"apt-get install <the other packages>" skipping the unwanted packages or user
"apt-get -o RPM::Hold::="pkg" upgrade" where pkg is the one you want to skip
(sorry don't remember offhand the syntax for specifying many packages there)

To permanently skip certain packages add them to RPM::Hold:: config in
/etc/apt/apt.conf or use pinning (see man apt_preferences for ugly details how
to do it :)

-- 
    - Panu -





More information about the fedora-test-list mailing list