How to lock a package version in apt-get

Dotan Cohen dotancohen at gmail.com
Sat Sep 5 18:22:40 UTC 2009


I need to keep a specific package at a specific version on one
machine. I know about Synaptic's "Lock Version" feature, I am looking
for something similar for apt-get. From googling I see that this is
called "pinning" however I only find information on how to pin the
packages of a particular repo, not on a per-package basis. How is this
done? Thanks.

For reference:
http://jaqque.sbih.org/kplug/apt-pinning.html
http://www.argon.org/~roderick/apt-pinning.html

-- 
Dotan Cohen

http://what-is-what.com
http://gibberish.co.il




More information about the ubuntu-users mailing list