apt-pinning

Martin Bähr mbaehr at email.archlab.tuwien.ac.at
Sun Aug 28 03:26:09 CEST 2005


On Sat, Aug 27, 2005 at 10:32:15PM +0200, frank-info at gmx.de wrote:
> > Versuch mal eine Priority von 999 oder höher.
> In man apt_preferences steht:
> "0 < P <=100  causes a version to be installed only if there is no installed 
> version of the package."  Das Paket ist bereits installiert, also sollte er 
> keine neuere Version erlauben.

das interpretierst du genau falsch.
damit gibst du deiner gewünschten version diese priorität.
also: deine version wird nur installiert wenn es noch keine installation
von dem paket gibt. 

in wirklichkeit willst du eine priorität die sagt: immer diese version
installieren.

ich hab bei mir:
Package: lilo
Pin: version 21.7.5-55
Pin-Priority: 500

Package: pcmcia-cs
Pin: version 3.1.33-6woody1
Pin-Priority: 500

funktioniert tadellos.

gruss, martin.
-- 
cooperative communication with sTeam      -     caudium, pike, roxen and unix
offering: programming, training and administration   -  anywhere in the world
--
pike programmer   travelling and working in europe             open-steam.org
unix system-      bahai.or.at                        iaeste.(tuwien.ac|or).at
administrator     (caudium|gotpike).org                          is.schon.org
Martin Bähr       http://www.iaeste.or.at/~mbaehr/



More information about the Linux mailing list