Upgrade from Breezy

Sam Przyswa samp at arial-concept.com
Thu Feb 21 16:44:07 UTC 2008


Le jeudi 21 février 2008 à 16:25 +0000, Andy a écrit :
> On 21/02/2008, Sam Przyswa <samp at arial-concept.com> wrote:
> > I never ask to install Postfix 2.4.5 I just "apt-get dist-upgrade" !
> 
> You must have added backports at some point. (you may have forgotten
> you have done this).
> apt-get goes for the newest version backports was the newest version
> and presumably Mailscanner didn't have anything in the dependencies
> that said don't use a new version of Postfix.
> 
> > Ok but HOW to downgrade safely to the 2.2.10 with the right
> >  dependencies ?
> 
> First off create a backup of everything.
> Avoid doing this on your production machine until you know it works
> (if possible).
> VMs are useful here ;)
> I haven't tested this as I am not on an Ubuntu machine at the moment
> (and no longer have dapper anyway).
> Record *any* error messages generated, don't ignore them.
> 
> If you no longer want to use backports then remove it's entry from
> your sources list.

I have the same idea (see my previous post)

> If you don't disable backports you're going to need to tell apt not to
> use backports for Postfix.
> For this you need to edit:
> > /etc/apt/preferences
> (if it doesn't exist create it).
> 
> Add the following:
> > Package: postfix
> > Pin: release a=dapper-backports
> > Pin-Priority: -10
> 
> Now do:
> > apt-get update
> > apt-get install postfix/dapper-security

Perhaps I have to try with the "--simulate" option to see if everything
is right.

> Now you should check the postfix version is the one you wanted.
> 
> As a final check do an
> > apt-get upgrade
> to check that it leaves postfix alone (i.e. it doesn't update from backports).
> (if it replaces postfix with the new version then something has gone wrong)


Thanks again for your help.

Sam.




-- 
Ce message a été vérifié par MailScanner
pour des virus ou des polluriels et rien de
suspect n'a été trouvé.





More information about the ubuntu-users mailing list