Comment 1 for bug 243550

Revision history for this message
Michael Vogt (mvo) wrote :

Thanks for your bugreport.

If you have a test environment, could you please test the following patch against python-apt?

=== modified file 'apt/cache.py'
--- apt/cache.py 2009-01-12 17:28:18 +0000
+++ apt/cache.py 2009-01-23 08:55:54 +0000
@@ -55,6 +55,7 @@
             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):

I'm pretty sure thats the issue