[Bug 706354] Re: dpkg-maintscript-helper: warning: environment variable DPKG_MAINTSCRIPT_PACKAGE missing

Daniel Holbach daniel.holbach at ubuntu.com
Tue Sep 20 06:47:11 UTC 2011


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

daniel at 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 at 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 at 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 at 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 at daydream:~$ 


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

daniel at 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 at daydream:~$ 


** Also affects: lightdm (Ubuntu)
   Importance: Undecided
       Status: New

** Changed in: lightdm (Ubuntu)
       Status: New => Confirmed

** Also affects: ntp (Ubuntu)
   Importance: Undecided
       Status: New

** Changed in: ntp (Ubuntu)
       Status: New => Confirmed

** Also affects: libreoffice (Ubuntu)
   Importance: Undecided
       Status: New

** Changed in: libreoffice (Ubuntu)
       Status: New => Confirmed

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to ntp in Ubuntu.
https://bugs.launchpad.net/bugs/706354

Title:
  dpkg-maintscript-helper: warning: environment variable
  DPKG_MAINTSCRIPT_PACKAGE missing

To manage notifications about this bug go to:
https://bugs.launchpad.net/apparmor/+bug/706354/+subscriptions



More information about the Ubuntu-server-bugs mailing list