[Bug 243550] Re: gdebi --root doesn't use the apt config from the chroot but the one from the host
This bug was fixed in the package python-apt - 0.7.9~exp2ubuntu7 --- python-apt (0.7.9~exp2ubuntu7) jaunty; urgency=low * apt/package.py: - add not_automatic flag to the origin * debian/control: - rebuild against latest apt * apt/cache.py: - when setting a alternative rootdir, read the config from it as well (LP: #243550) * python/configuration.cc, python/apt_pkgmodule.cc: - add apt_pkg.ReadConfigDir() -- Michael Vogt michael.v...@ubuntu.com Mon, 09 Feb 2009 15:09:17 +0100 ** Changed in: python-apt (Ubuntu) Status: Triaged = Fix Released -- gdebi --root doesn't use the apt config from the chroot but the one from the host https://bugs.launchpad.net/bugs/243550 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 243550] Re: gdebi --root doesn't use the apt config from the chroot but the one from the host
I can confirm that the bug is now fixed in the last python-apt version. -- gdebi --root doesn't use the apt config from the chroot but the one from the host https://bugs.launchpad.net/bugs/243550 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 243550] Re: gdebi --root doesn't use the apt config from the chroot but the one from the host
** Changed in: python-apt (Ubuntu) Status: Fix Released = Triaged -- gdebi --root doesn't use the apt config from the chroot but the one from the host https://bugs.launchpad.net/bugs/243550 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 243550] Re: gdebi --root doesn't use the apt config from the chroot but the one from the host
I've tested the patch on Intrepid and it doesn't work. Here are the results with a patched /usr/lib/python2.5/site- packages/apt/cache.py: With installing Recommends disabled in the host system: $ gdebi --quiet --root /var/cache/pbuilder/build/24283/ --apt-line libgnupg-interface-perl_0.36-1ubuntu1.dsc debhelper bsdmainutils gettext libmagic1 file libclass-methodmaker-perl groff-base intltool-debian man-db po-debconf html2text gettext-base Now with installing Recommends enabled: $ gdebi --quiet --root /var/cache/pbuilder/build/24283/ --apt-line libgnupg-interface-perl_0.36-1ubuntu1.dsc debhelper curl bsdmainutils libio-compress-base-perl gettext libcurl3 libsys-hostname-long-perl libcompress-raw-zlib-perl libio-compress-zlib-perl libmagic1 libcompress-zlib-perl libmail-sendmail-perl file libclass-methodmaker-perl groff-base intltool-debian man-db po-debconf html2text gettext-base (Installing Recommends is disabled inside the pbuilder). -- gdebi --root doesn't use the apt config from the chroot but the one from the host https://bugs.launchpad.net/bugs/243550 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 243550] Re: gdebi --root doesn't use the apt config from the chroot but the one from the host
This bug was fixed in the package python-apt - 0.7.9~exp2ubuntu4 --- python-apt (0.7.9~exp2ubuntu4) jaunty; urgency=low * 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) * apt/package.py: - make sure to set the defaulttimeout back to the original value (in getChangelog(), LP: #314212) -- Michael Vogt michael.v...@ubuntu.com Mon, 26 Jan 2009 08:45:00 +0100 ** Changed in: python-apt (Ubuntu) Status: In Progress = Fix Released -- gdebi --root doesn't use the apt config from the chroot but the one from the host https://bugs.launchpad.net/bugs/243550 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 243550] Re: gdebi --root doesn't use the apt config from the chroot but the one from the host
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.py2009-01-12 17:28:18 + +++ apt/cache.py2009-01-23 08:55:54 + @@ -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 ** Changed in: python-apt (Ubuntu) Sourcepackagename: gdebi = python-apt Assignee: (unassigned) = Michael Vogt (mvo) Status: Triaged = In Progress -- gdebi --root doesn't use the apt config from the chroot but the one from the host https://bugs.launchpad.net/bugs/243550 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 243550] Re: gdebi --root doesn't use the apt config from the chroot but the one from the host
** Changed in: gdebi (Ubuntu) Importance: Undecided = Medium Status: New = Triaged -- gdebi --root doesn't use the apt config from the chroot but the one from the host https://bugs.launchpad.net/bugs/243550 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs