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

Colin Watson cjwatson at canonical.com
Fri Mar 9 15:11:22 UTC 2012


*** This bug is a duplicate of bug 198421 ***
    https://bugs.launchpad.net/bugs/198421

I should say, before this becomes widespread, that the workaround in
comment 14 is entirely wrong: those aren't appropriate values for either
DPKG_MAINTSCRIPT_NAME or DPKG_MAINTSCRIPT_PACKAGE, and there is no way
to set those variables correctly in /etc/environment.

I've followed up to the Debian bug for this with a fresh set of patches
to try to move this along.

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

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

Status in AppArmor Linux application security framework:
  Invalid
Status in “apparmor” package in Ubuntu:
  Confirmed
Status in “debconf” package in Ubuntu:
  Confirmed
Status in “libreoffice” package in Ubuntu:
  Confirmed
Status in “lightdm” package in Ubuntu:
  Confirmed
Status in “ntp” package in Ubuntu:
  Confirmed

Bug description:
  Binary package hint: dpkg

  natty i386 updated

  into a terminal, get this output:

  oem at oem-desktop:~$ sudo dpkg-reconfigure apparmor
  [sudo] password for oem: 
  dpkg-maintscript-helper: warning: environment variable DPKG_MAINTSCRIPT_NAME missing
  dpkg-maintscript-helper: warning: environment variable DPKG_MAINTSCRIPT_PACKAGE missing
   * Starting AppArmor profiles

  ProblemType: Bug
  DistroRelease: Ubuntu 11.04
  Package: dpkg 1.15.8.7ubuntu2
  ProcVersionSignature: Ubuntu 2.6.37-12.26-generic-pae 2.6.37
  Uname: Linux 2.6.37-12-generic-pae i686
  NonfreeKernelModules: nvidia
  Architecture: i386
  Date: Sat Jan 22 18:48:00 2011
  ProcEnviron:
   LANGUAGE=fr_FR:fr:en_GB:en
   LANG=fr_FR.UTF-8
   LC_MESSAGES=fr_FR.utf8
   SHELL=/bin/bash
  SourcePackage: dpkg

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




More information about the foundations-bugs mailing list