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:~$ 


** 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

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs

Reply via email to