Upgrade from Breezy

Andy stude.list at googlemail.com
Thu Feb 21 16:36:00 UTC 2008


Sorry to reply to my own post but I forgot to say you probably want to
use --dry-run on the apt-get commands to see what they will do before
invoking them. If they do what you wanted them to do invoke apt-get
without --dry-run. This should minimise any problems.

And backup /etc/apt/preferences before you edit it.

So if you have /etc/apt/preferences do:
> cp /etc/apt/preferences /etc/apt/preferences.bakN
(where N is a number to make the file unique).

then append:
> Package: postfix
> Pin: release a=dapper-backports
> Pin-Priority: -10

(or remove backports from your sources list).

then type:
> apt-get update
> apt-get --dry-run install postfix/dapper-security

if it says it would have installed the version you want do:
> apt-get install postfix/dapper-security

then type:
> apt-get --dry-run upgrade

If it says it wouldn't have done anything then everything worked.
DO NOT run apt-get upgrade, it may update things you didn't want updated.

Andy

-- 
Computers are like air conditioners.  Both stop working, if you open windows.
                -- Adam Heath




More information about the ubuntu-users mailing list