apt pinning

Danilo Piazzalunga danilopiazza at libero.it
Sat Dec 11 09:58:22 UTC 2004


Nathan Sprangers wrote:
> I followed the directions for keeping a mixed system at
> http://www.ubuntulinux.org/wiki/PinningHowto, however it does not work
> as expected for me.
[...]
> Simply adding APT::Default-Release "warty"; didn't 
> do this for me.  When I run apt-get upgrade it wants to upgrade
> everything.

That's strange. Does it want to upgrade everything even when you run "apt-get
-t warty upgrade"?

> What I does work for me, though, is putting this in 
> /etc/apt/preferences:
> 
> Package: *
> Pin: release a=hoary
> Pin-Priority: 50

That's a good idea -- I think it should be added to the wiki page.

-- 
Danilo Piazzalunga <danilopiazza at libero.it> +--------------------+
GPG Key available at http://pgp.mit.edu     | Linux User #245762 |
Fingerprint: D018 815E 8C7F 2AE2 5565       | ICQ #105550412     |
             0C36 B5F6 DB20 B800 CB9F       +--------------------+





More information about the ubuntu-users mailing list