View Full Version : apt-get dist-upgrade
ovis
29th October 2006, 12:32
Hi,
I installed a mail server acording to the "Virtual Users And Domains With Postfix, Courier And MySQL (+ SMTP-AUTH, Quota, SpamAssassin, ClamAV)"
If i do apt-get dist-upgrade, what happend to the special patched posfix with quota stuff ?
Any one has experience ?
gr Ovis
till
29th October 2006, 12:49
I guess you will loose your manually compiled postfix.
falko
29th October 2006, 15:19
If i do apt-get dist-upgrade, what happend to the special patched posfix with quota stuff ?
You will lose the quota stuff is Postfix gets updated. To avoid that Postfix will be updated, you can use apt-pinning: http://www.howtoforge.com/forums/showthread.php?t=2317&page=2&highlight=apt-pinning
ovis
29th October 2006, 15:19
On the debian irc channel there was a good explanation for this problem.
Hold is a status flag to tell apt not to automatically upgrade a package.
apt will place packages on hold if they require packages that are not
currently installable; you can 'apt-get install pkgname' to explicitly install
the package.
To put a package on hold,
'echo pkgname hold | dpkg --set-selections'
In the case of the Virtual Users And Domains With Postfix, Courier And MySQL (+ SMTP-AUTH, Quota, SpamAssassin, ClamAV) documentation this could be added to upgrade the system in the future.
echo postfix hold | dpkg --set-selections &&
echo postfix-mysql hold | dpkg --set-selections &&
echo postfix-tls hold | dpkg --set-selections
If you want to upgrade postfix, offcource you have to fetch the new source apply the patch and install them.
Thanks for the quick reply till,
Gr Ovis
vBulletin® v3.8.4, Copyright ©2000-2010, Jelsoft Enterprises Ltd.