Comment 37 for bug 624877

Revision history for this message
astrostl (astrostl) wrote :

Amendment to above instructions (free advice warnings abound :-) )

Using the following:

Package: *
Pin: release n=natty
Pin-Priority: -500

NOTE: n= instead of a=. a= does not capture updates or security, which caused confusion (and a potential problem).

I'm also placing it directly in /etc/apt/preferences rather than in preferences.d, as there is an aptitude bug at https://bugs.launchpad.net/ubuntu/+source/aptitude/+bug/508545 (not applied to Lucid LTS, the SERVER distro...) which causes it to not detect anything in preferences.d.

That should be all that's needed, though - Lucid stuff doesn't need to be bumped, Natty stuff (by name, not archive) just needs to be suppressed. It could technically be any number below 500 (the Lucid/distro default), but making it negative causes it to not update unless explicitly requested.