Comment 5 for bug 706354

Revision history for this message
Daniel Holbach (dholbach) wrote :

In a very quick analysis I found that all the packages (on my system) that use "if dpkg-maintscript-helper supports ..." are affected.

daniel@daydream:~$ grep dpkg-maintscript-helper /var/lib/dpkg/info/*.postinst | grep support
/var/lib/dpkg/info/apparmor.postinst:if dpkg-maintscript-helper supports rm_conffile; then
/var/lib/dpkg/info/libreoffice-common.postinst: if dpkg-maintscript-helper supports rm_conffile; then
/var/lib/dpkg/info/libreoffice-common.postinst: if dpkg-maintscript-helper supports mv_conffile; then
/var/lib/dpkg/info/lightdm.postinst:if dpkg-maintscript-helper supports mv_conffile; then
/var/lib/dpkg/info/ntpdate.postinst:if dpkg-maintscript-helper supports rm_conffile; then
/var/lib/dpkg/info/ntpdate.postinst:if dpkg-maintscript-helper supports mv_conffile; then
daniel@daydream:~$ sudo dpkg-reconfigure libreoffice-common
dpkg-maintscript-helper: warning: environment variable DPKG_MAINTSCRIPT_NAME missing
dpkg-maintscript-helper: warning: environment variable DPKG_MAINTSCRIPT_PACKAGE missing
dpkg-maintscript-helper: warning: environment variable DPKG_MAINTSCRIPT_NAME missing
dpkg-maintscript-helper: warning: environment variable DPKG_MAINTSCRIPT_PACKAGE missing
daniel@daydream:~$ sudo dpkg-reconfigure ntpdate
dpkg-maintscript-helper: warning: environment variable DPKG_MAINTSCRIPT_NAME missing
dpkg-maintscript-helper: warning: environment variable DPKG_MAINTSCRIPT_PACKAGE missing
dpkg-maintscript-helper: warning: environment variable DPKG_MAINTSCRIPT_NAME missing
dpkg-maintscript-helper: warning: environment variable DPKG_MAINTSCRIPT_PACKAGE missing
daniel@daydream:~$ sudo dpkg-reconfigure apparmor
dpkg-maintscript-helper: warning: environment variable DPKG_MAINTSCRIPT_NAME missing
dpkg-maintscript-helper: warning: environment variable DPKG_MAINTSCRIPT_PACKAGE missing
 * Starting AppArmor profiles Skipping profile in /etc/apparmor.d/disable: usr.bin.firefox
                                                                                                                                               [ OK ]
 * Reloading AppArmor profiles Skipping profile in /etc/apparmor.d/disable: usr.bin.firefox
                                                                                                                                               [ OK ]
daniel@daydream:~$

Package WITHOUT "if dpkg-maintscript-helper supports ..."

daniel@daydream:~$ sudo dpkg-reconfigure gedit
update-alternatives: /usr/bin/gedit wird verwendet, um /usr/bin/gnome-text-editor (gnome-text-editor) im Auto-Modus bereitzustellen.
daniel@daydream:~$