Tobias DiPasquale on 8 May 2004 02:14:02 -0000 |
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Friday 07 May 2004 21:38, Walt Mankowski wrote: | I mentioned this problem at Wednesday night's meeting, and someone | suggested I look into apt_preferences and pinning. I read through the | apt_preferences(5) manpage. I didn't have an /etc/apt/preferences, so | I created one with the following in it: | | Package: pciutils | Pin: version 1:2.1.11-8 | Pin-Priority: -100 | | As far as I can tell from the documentation, that should prevent that | version of the package from being installed since the Pin-Priority is | less than 0. But when I run apt-get dist-upgrade, it's still trying | to install it. - From http://www.debian.org/doc/manuals/apt-howto/ch-apt-get.en.html: "Let's take a look at how pin priorities work. A priority lower than 0 indicates that the package should never be installed. Priorities 0 to 100 denote packages that are not installed and that have no available versions. These won't come into the version-choosing process. Priority 100 is the priority assigned to an installed package - for the installed version of a package to be replaced by a different version, the replacement must have a priority greater than 100." So, from reading that, I would think that any package version would have a priority higher than -100. Raise the priority on the pin and it won't try to upgrade. The default is 989 if you don't specify a Pin-Priority line. That should work for you. - -- Tobias DiPasquale 202A 04C4 2CE6 B985 8520 88D6 CD25 1A6C B9B5 1595 -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (GNU/Linux) iD8DBQFAnEJYzSUabLm1FZURAq8uAKCASHUsOG5EetfBvUXWQ4vOp+muSwCfTEEo GBuhdIRuXRivs4GSxtooUe8= =f5Im -----END PGP SIGNATURE----- ___________________________________________________________________________ Philadelphia Linux Users Group -- http://www.phillylinux.org Announcements - http://lists.phillylinux.org/mailman/listinfo/plug-announce General Discussion -- http://lists.phillylinux.org/mailman/listinfo/plug
|
|