Michal and I debugged this over IRC, and tracked it down. He had an
/etc/apt/apt.conf with explicitly setting Architecture:, and creating an
apt.Cache(rootdir="...") object still takes that global configuration
into account.

The attached test as

** Summary changed:

- Retracing armhf doesn't work on amd64
+ creating apt cache with rootdir= still considers global apt config

** Package changed: apport (Ubuntu) => python-apt (Ubuntu)

** Changed in: python-apt (Ubuntu)
       Status: Incomplete => New

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

Title:
  creating apt cache with rootdir= still considers global apt config

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/python-apt/+bug/1238616/+subscriptions

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

Reply via email to