Package: dpkg Version: 1.17.24 Severity: wishlist User: de...@kali.org Usertags: origin-kali
In the context a Debian derivative, you might want to tweak the priorities of alternatives because you make different choices about what should be the default implementation of something (my immediate use case was to change the default desktop session which is managed with x-session-manager). Yet changing the priority of an alternative requires forking the package because the priority is hardcoded in maintainer scripts. It would be nice if update-alternatives could look up some system-wide override data and use those values when they exist instead of the value provided on the command line. This would also make it easier to change defaults at a company-wide level while still leaving the possibility for each user to change the alternative to point to something else. I imagine it could take the form of a directory /etc/alternatives/priorities.d/ (or /etc/dpkg/update-alternatives/priorities.d) with files containing simple "<name> <path> <priority>" lines (where <name> is the name of the symlink in /etc/alternatives/ and <path> is the full path of the alternative in the master link). Cheers, -- System Information: Debian Release: 8.0 APT prefers squeeze-lts APT policy: (500, 'squeeze-lts'), (500, 'unstable'), (500, 'testing'), (500, 'stable'), (500, 'oldstable'), (1, 'experimental') Architecture: amd64 (x86_64) Foreign Architectures: i386 Kernel: Linux 3.16.0-4-amd64 (SMP w/4 CPU cores) Locale: LANG=fr_FR.utf8, LC_CTYPE=fr_FR.utf8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Init: systemd (via /run/systemd/system) Versions of packages dpkg depends on: ii libbz2-1.0 1.0.6-7+b3 ii libc6 2.19-17 ii liblzma5 5.1.1alpha+20120614-2+b3 ii libselinux1 2.3-2 ii tar 1.27.1-2+b1 ii zlib1g 1:1.2.8.dfsg-2+b1 dpkg recommends no packages. Versions of packages dpkg suggests: ii apt 1.0.9.7 -- no debconf information -- To UNSUBSCRIBE, email to debian-dpkg-bugs-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org