[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: update-alternatives



On Wed, Sep 13, 2000 at 10:08:13PM +0200, peter karlsson wrote:
> Hi!
> 
> How do I get update-alternatives to keep information when upgrading a
> package?
> 
> Currently I have postinst add it and prerm remove it, but if I set the
> alternative to point to something else than the default, this means
> that that information gets lost everytime I upgrade the package...

It doesn't.  update-alternatives notices if you have changed the link
from the default, and then goes into "manual" mode.  Once in manual
mode, you need to do "update-alternatives --auto" to revert to auto
mode.  Until that happens, the sysadmin's choices of alternatives are
not affected by any installation or removal of alternatives by
maintainer scripts.

   Julian

-- 
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-

  Julian Gilbey, Dept of Maths, QMW, Univ. of London. J.D.Gilbey@qmw.ac.uk
        Debian GNU/Linux Developer,  see http://www.debian.org/~jdg
  Donate free food to the world's hungry: see http://www.thehungersite.com/



Reply to: