apt-get dist-upgrade

Discussion in 'HOWTO-Related Questions' started by ovis, Oct 29, 2006.

  1. ovis

    ovis ISPConfig Developer ISPConfig Developer

    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
     
  2. till

    till Super Moderator Staff Member ISPConfig Developer

    I guess you will loose your manually compiled postfix.
     
  3. falko

    falko Super Moderator ISPConfig Developer

  4. ovis

    ovis ISPConfig Developer ISPConfig Developer

    Found a fix

    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
     

Share This Page