[Bug 205470] Re: python-central crash on upgrade (was: python2.4-minimal could not be uninstalled)
This bug was fixed in the package python-central - 0.6.1ubuntu2 --- python-central (0.6.1ubuntu2) hardy; urgency=low * pycentral rtremove: Do not work on removed, but not purged packages. LP: #205470. * pycentral pkgprepare: Create the directory before creating a symlink there; not yet done when the package install previously failed and was retried. LP: #201978. -- Matthias Klose <[EMAIL PROTECTED]> Fri, 04 Apr 2008 14:38:03 +0200 ** Changed in: python-central (Ubuntu) Status: New => Fix Released -- python-central crash on upgrade (was: python2.4-minimal could not be uninstalled) https://bugs.launchpad.net/bugs/205470 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
Re: [Bug 205470] Re: python-central crash on upgrade (was: python2.4-minimal could not be uninstalled)
On Fri, Apr 04, 2008 at 10:53:45AM -, James Westby wrote: > where the call to DebPackage looks for the /var/lib/dpkg/package.list > file. The read_dpkg_status() function reads /var/lib/dpkg/status for the > packages that depend on python-central to get their requested python > versions. > I don't know how dpkg handles these files, if you are removing a package > is there a window in which the files are removed (in particular > /var/lib/dpkg/package.list), but the package is still listed in > /var/lib/dpkg/status? Packages that are in state "rc" (removed, config-files) are certainly present in /var/lib/dpkg/status but may have an empty /var/lib/dpkg/info/$package.list if the package ships no conffiles but has a postrm script. -- Steve Langasek Give me a lever long enough and a Free OS Debian Developer to set it on, and I can move the world. Ubuntu Developerhttp://www.debian.org/ [EMAIL PROTECTED] [EMAIL PROTECTED] -- python-central crash on upgrade (was: python2.4-minimal could not be uninstalled) https://bugs.launchpad.net/bugs/205470 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 205470] Re: python-central crash on upgrade (was: python2.4-minimal could not be uninstalled)
Hi, The code in question seems to be: def run(self, global_options): packages = [(p, v) for p, v in read_dpkg_status() if not p in (self.rtname, self.rtname+'-minimal')] needed_packages = [] for pkgname, vstring in packages: try: requested = list(pyversions.requested_versions(vstring, version_only=True)) except ValueError: logging.info('\tunsupported for %s: %s (%s)' % (self.rtname, pkgname, vstring)) continue if self.runtime.short_name in requested: needed_packages.append((pkgname, vstring, requested)) logging.info('\t%d pycentral supported packages installed, %d for %s' % (len(packages), len(needed_packages), self.rtname)) try: for pkgname, vstring, vinfo in needed_packages: logging.info('\trtremove: remove package %s for %s' % (pkgname, self.rtname)) pkg = DebPackage('package', pkgname) where the call to DebPackage looks for the /var/lib/dpkg/package.list file. The read_dpkg_status() function reads /var/lib/dpkg/status for the packages that depend on python-central to get their requested python versions. I don't know how dpkg handles these files, if you are removing a package is there a window in which the files are removed (in particular /var/lib/dpkg/package.list), but the package is still listed in /var/lib/dpkg/status? Thanks, James -- python-central crash on upgrade (was: python2.4-minimal could not be uninstalled) https://bugs.launchpad.net/bugs/205470 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 205470] Re: python-central crash on upgrade (was: python2.4-minimal could not be uninstalled)
** Changed in: python-central (Ubuntu) Assignee: (unassigned) => Matthias Klose (doko) -- python-central crash on upgrade (was: python2.4-minimal could not be uninstalled) https://bugs.launchpad.net/bugs/205470 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 205470] Re: python-central crash on upgrade (was: python2.4-minimal could not be uninstalled)
Clearly python-central shouldn't crash here, but it appears that python- xml was unexpectedly removed due to python2.4 being removed. Generically, python2.4 shouldn't be removed. Earlier in log python2.4 was upgraded and configured. -- python-central crash on upgrade (was: python2.4-minimal could not be uninstalled) https://bugs.launchpad.net/bugs/205470 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 205470] Re: python-central crash on upgrade (was: python2.4-minimal could not be uninstalled)
Here is my term.log ** Summary changed: - pyentral crash on upgrade (was: python2.4-minimal could not be uninstalled) + python-central crash on upgrade (was: python2.4-minimal could not be uninstalled) ** Attachment added: "term.log" http://launchpadlibrarian.net/12845872/term.log -- python-central crash on upgrade (was: python2.4-minimal could not be uninstalled) https://bugs.launchpad.net/bugs/205470 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