Package: dpkg
Version: 1.16.1
User: debian-d...@lists.debian.org
Usertags: update-alternatives

I've recently spent time having to clean up after a package which earlier in
its history called update-alternatives --set from a maintainer script to try
to override a "wrong" alternative... instead of simply removing the wrong
alternative from the system.

This is problematic, of course, because now it's impossible to distinguish
between an alternative that's manually set because the user set it, vs. one
that's manually set because the package set it.

I don't think there's any justification for a package ever calling u-a --set
from a maintainer script.  Therefore I propose that this command abort if
$DPKG_MAINTSCRIPT_PACKAGE is set.

-- 
Steve Langasek                   Give me a lever long enough and a Free OS
Debian Developer                   to set it on, and I can move the world.
Ubuntu Developer                                    http://www.debian.org/
slanga...@ubuntu.com                                     vor...@debian.org



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to