Public bug reported: When having a local archive at "/var/cache/archive", it's automatically detected and used by pbuild-dist, but will be overidden by a later othermirror in the argument list to pbuilder.
pelle@milliways:~$ ls -ld /var/cache/archive/trusty/ drwxr-xr-x 2 root root 4096 Apr 29 10:03 /var/cache/archive/trusty/ pelle@milliways:~$ pbuilder-dist trusty create --debug-echo ['sudo', 'HOME=/home/pelle', 'ARCHITECTURE=amd64', 'DISTRIBUTION=trusty', 'ARCH=amd64', 'DIST=trusty', 'DEB_BUILD_OPTIONS=', 'pbuilder', '--create', '--distribution', 'trusty', '--buildresult', '/var/cache/pbuilder/trusty_result', '--basetgz', '/var/cache/pbuilder/trusty-base.tgz', '--logfile', '/var/cache/pbuilder/trusty_result/last_operation.log', '--bindmounts', '/var/cache/archive/', '--othermirror', 'deb file:///var/cache/archive/ trusty/', '--mirror', 'http://archive.ubuntu.com/ubuntu', '--othermirror', 'deb http://archive.ubuntu.com/ubuntu trusty-security main restricted universe multiverse|deb http://archive.ubuntu.com/ubuntu trusty-updates main restricted universe multiverse|deb http://archive.ubuntu.com/ubuntu trusty-proposed main restricted universe multiverse', '--aptcache', '/var/cache/pbuilder/aptcache/ubuntu', '--components', 'main restricted universe multiverse'] As pbuilder only use the _last_ --othermirror argument, '--othermirror deb file:///var/cache/archive/ trusty' is lost. This is gathered on: pelle@milliways:~$ lsb_release -rd Description: Ubuntu 14.04 LTS Release: 14.04 pelle@milliways:~$ apt-cache policy ubuntu-dev-tools ubuntu-dev-tools: Installed: 0.154~daily+bzr1420~ubuntu14.04.1 Candidate: 0.154~daily+bzr1420~ubuntu14.04.1 Version table: *** 0.154~daily+bzr1420~ubuntu14.04.1 0 500 http://ppa.launchpad.net/udt-developers/daily/ubuntu/ trusty/main amd64 Packages 100 /var/lib/dpkg/status 0.153 0 500 http://no.archive.ubuntu.com/ubuntu/ trusty/universe amd64 Packages pelle@milliways:~$ ** Affects: ubuntu-dev-tools (Ubuntu) Importance: Undecided Status: New ** Branch linked: lp:~p8n/ubuntu-dev-tools/othermirror_fixes -- 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/1314076 Title: pbuilder-dist: Local archives othermirror overridden by later othermirror To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/ubuntu-dev-tools/+bug/1314076/+subscriptions -- universe-bugs mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/universe-bugs
