Public bug reported:

I am using "APTCACHE=" in ~/.pbuilderrc (because I am using a systemwide
apt-cacher-ng).

pbuilder-dist overrides this setting:
    arguments = [
        [...]
        '--aptcache', '/var/cache/apt/archives/',                               
                     
        '--override-config',

Using os.environ.get('APTCACHE', '/var/cache/apt/archives/') does not appear to 
help here, because ~/.pbuilderrc gets sourced only after building the command.
(Makes me wonder why the other os.environ.get calls are there?!)

I think pbuilder-dist should just not force this setting to be the
default.

ProblemType: Bug
DistroRelease: Ubuntu 12.04
Package: ubuntu-dev-tools 0.139
ProcVersionSignature: Ubuntu 3.2.0-18.29-generic-pae 3.2.9
Uname: Linux 3.2.0-18-generic-pae i686
ApportVersion: 1.94.1-0ubuntu2
Architecture: i386
Date: Fri Mar 16 13:07:04 2012
EcryptfsInUse: Yes
InstallationMedia: Ubuntu 11.04 "Natty Narwhal" - Release i386 (20110427.1)
PackageArchitecture: all
SourcePackage: ubuntu-dev-tools
UpgradeStatus: Upgraded to precise on 2011-12-16 (91 days ago)

** Affects: ubuntu-dev-tools (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: apport-bug i386 precise

-- 
You received this bug notification because you are a member of MOTU,
which is subscribed to ubuntu-dev-tools in Ubuntu.
https://bugs.launchpad.net/bugs/956903

Title:
  pbuilder-dist overrides APTCACHE setting from ~/.pbuilderrc

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ubuntu-dev-tools/+bug/956903/+subscriptions

-- 
universe-bugs mailing list
universe-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/universe-bugs

Reply via email to