diff options
| -rw-r--r-- | apt/cache.py | 1 | ||||
| -rw-r--r-- | debian/changelog | 5 |
2 files changed, 6 insertions, 0 deletions
diff --git a/apt/cache.py b/apt/cache.py index 0065d14c..a8432a32 100644 --- a/apt/cache.py +++ b/apt/cache.py @@ -55,6 +55,7 @@ class Cache(object): apt_pkg.Config.Set("Dir", rootdir) apt_pkg.Config.Set("Dir::State::status", rootdir + "/var/lib/dpkg/status") + apt_pkg.InitConfig() self.open(progress) def _runCallbacks(self, name): diff --git a/debian/changelog b/debian/changelog index 400b15f5..73715a36 100644 --- a/debian/changelog +++ b/debian/changelog @@ -5,6 +5,11 @@ python-apt (0.7.9~exp3) experimental; urgency=low - fix incorrect indent * debian/control: - add Recommends to iso-codes (for iso_3166.xml) + * apt/cache.py: + - when running with the rootdir option, run + InitConfig() again to ensure that the config + from the rootdir is read, not from the host + (lp: #243550) -- |
