[Bug 973432] [NEW] APTGETOPT setting doesn't reach satisfy-depends command

MarcS 973432 at bugs.launchpad.net
Wed Apr 4 14:34:56 UTC 2012


Public bug reported:

The configuration file /usr/share/pbuilder/pbuilderrc defines the
variable APTGETOPT which is used by (among others) /usr/lib/pbuilder
/pbuilder-satisfydepends-gdebi.

But since APTGETOPT is defined as a shell array and satisfy-depends is
invoked as a sub-command, the setting never reaches the command because
the shell cannot pass arrays to sub-processes.

A workaround for this is to explicitly 'unset´ APTGETOPT in
~/.pbuilderrc and to export it as a normal variable. This works even
though the satisfy-depends command uses it as an array.


System information:

$ lsb_release -rd
Description:	Ubuntu 11.10
Release:	11.10

$ apt-cache policy pbuilder
pbuilder:
  Installed: 0.199+nmu3ubuntu3.1
  Candidate: 0.199+nmu3ubuntu3.1
  Version table:
 *** 0.199+nmu3ubuntu3.1 0
        500 http://de.archive.ubuntu.com/ubuntu/ oneiric-updates/main i386 Packages
        100 /var/lib/dpkg/status
     0.199+nmu3ubuntu3 0
        500 http://de.archive.ubuntu.com/ubuntu/ oneiric/main i386 Packages

** Affects: pbuilder (Ubuntu)
     Importance: Undecided
         Status: New

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

Title:
  APTGETOPT setting doesn't reach satisfy-depends command

Status in “pbuilder” package in Ubuntu:
  New

Bug description:
  The configuration file /usr/share/pbuilder/pbuilderrc defines the
  variable APTGETOPT which is used by (among others) /usr/lib/pbuilder
  /pbuilder-satisfydepends-gdebi.

  But since APTGETOPT is defined as a shell array and satisfy-depends is
  invoked as a sub-command, the setting never reaches the command
  because the shell cannot pass arrays to sub-processes.

  A workaround for this is to explicitly 'unset´ APTGETOPT in
  ~/.pbuilderrc and to export it as a normal variable. This works even
  though the satisfy-depends command uses it as an array.

  
  System information:

  $ lsb_release -rd
  Description:	Ubuntu 11.10
  Release:	11.10

  $ apt-cache policy pbuilder
  pbuilder:
    Installed: 0.199+nmu3ubuntu3.1
    Candidate: 0.199+nmu3ubuntu3.1
    Version table:
   *** 0.199+nmu3ubuntu3.1 0
          500 http://de.archive.ubuntu.com/ubuntu/ oneiric-updates/main i386 Packages
          100 /var/lib/dpkg/status
       0.199+nmu3ubuntu3 0
          500 http://de.archive.ubuntu.com/ubuntu/ oneiric/main i386 Packages

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/pbuilder/+bug/973432/+subscriptions




More information about the foundations-bugs mailing list