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

Robert Yeckley 706354 at bugs.launchpad.net
Mon Jan 30 01:10:18 UTC 2012


Thank you, Linux community, for maintaining a well-oiled operating
system for me. I'm a multimedia guy and a musician, I CANNOT go without
decent multimedia encoders/decoders and unified audio drivers for
software. Anyway, I'm just a hack at programming, I'm no expert. I
thought back to my MSDOS days, and applied it to UNIX. Here's the
solution:

1) CHANGE YOUR GLOBAL VARIABLES

/etc/environment
---------------------
PATH=...
DPKG_MAINTVERSION_NAME="Ubuntu"
DPKG_MAINTVERSION_PACKAGE="[version of Ubuntu]"
---------------------
don't put in the brackets when you fill in version (lucid, maverick, natty, etc).

2) REBOOT IMMEDIATELY.

3) RUN "dpkg-reconfigure -a" one more time.

-- 
You received this bug notification because you are a member of AppArmor
Developers, which is the registrant for AppArmor.
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 AppArmor mailing list