Your message dated Sun, 3 Jan 2010 00:09:03 +0100 with message-id <[email protected]> and subject line Re: apt: Can't do anything: "terminate called after throwing an instance of 'std::logic_error'" has caused the Debian Bug report #374195, regarding apt: Can't do anything: "terminate called after throwing an instance of 'std::logic_error'" to be marked as done.
This means that you claim that the problem has been dealt with. If this is not the case it is now your responsibility to reopen the Bug report if necessary, and/or fix the problem forthwith. (NB: If you are a system administrator and have no idea what this message is talking about, this may indicate a serious mail system misconfiguration somewhere. Please contact [email protected] immediately.) -- 374195: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=374195 Debian Bug Tracking System Contact [email protected] with problems
--- Begin Message ---Package: apt Version: 0.6.44.2 Severity: important I'm using Debian/unstable. Running a normal 'apt-get upgrade' today, apt-get failed. Now I get: $ sudo apt-get upgrade Reading package lists... Done Building dependency tree... Done You might want to run 'apt-get -f install' to correct these. The following packages have unmet dependencies. python-central: Depends: python (>= 2.3.5-9) but 2.3.5-5 is installed python-dev: Depends: python (= 2.3.5-10) but 2.3.5-5 is installed python2.4-dev: Depends: python2.4 (= 2.4.3-7) but 2.4.3-5 is installed E: Unmet dependencies. Try using -f. But that gives: $ sudo apt-get install -f Reading package lists... Done Building dependency tree... Done Correcting dependencies...Done The following extra packages will be installed: python python2.4 python2.4-minimal Suggested packages: python-profiler python2.4-doc The following packages will be upgraded: python python2.4 python2.4-minimal 3 upgraded, 0 newly installed, 0 to remove and 32 not upgraded. 11 not fully installed or removed. Need to get 0B/3627kB of archives. After unpacking 86.0kB of additional disk space will be used. Do you want to continue [Y/n]? y Reading changelogs... Done dpkg: python2.4: dependency problems, but removing anyway as you request: python2.4-cairo depends on python2.4. python2.4-gnome2 depends on python2.4 (>= 2.3.90). python2.4-gnome2 depends on python2.4. python2.4-gnome2 depends on python2.4 (>= 2.3.90). python2.4-gnome2 depends on python2.4. hal-device-manager depends on python2.4. python2.4-glade2 depends on python2.4. python2.4-libxml2 depends on python2.4. python2.4-pyorbit depends on python2.4. python2.4-gtk2 depends on python2.4. python2.4-dbus depends on python2.4. dpkg: error processing python2.4 (--remove): Package is in a very bad inconsistent state - you should reinstall it before attempting a removal. terminate called after throwing an instance of 'std::logic_error' what(): basic_string::_S_construct NULL not valid zsh: abort (core dumped) sudo apt-get install -f Trying to remove python2.4 gives: $ sudo apt-get remove python2.4 Reading package lists... Done Building dependency tree... Done You might want to run 'apt-get -f install' to correct these: The following packages have unmet dependencies. hal-device-manager: Depends: python2.4 but it is not going to be installed python-central: Depends: python (>= 2.3.5-9) but 2.3.5-5 is to be installed python-dev: Depends: python (= 2.3.5-10) but 2.3.5-5 is to be installed python2.4-cairo: Depends: python2.4 but it is not going to be installed python2.4-dbus: Depends: python2.4 but it is not going to be installed python2.4-dev: Depends: python2.4 (= 2.4.3-7) but it is not going to be installed python2.4-glade2: Depends: python2.4 but it is not going to be installed python2.4-gnome2: Depends: python2.4 (>= 2.3.90) but it is not going to be installed Depends: python2.4 but it is not going to be installed python2.4-gtk2: Depends: python2.4 but it is not going to be installed python2.4-libxml2: Depends: python2.4 but it is not going to be installed python2.4-pyorbit: Depends: python2.4 but it is not going to be installed E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution). I don't know how to fix this :-( Thanks, -- Package-specific info: -- apt-config dump -- APT ""; APT::Architecture "i386"; APT::Build-Essential ""; APT::Build-Essential:: "build-essential"; Dir "/"; Dir::State "var/lib/apt/"; Dir::State::lists "lists/"; Dir::State::cdroms "cdroms.list"; Dir::State::userstatus "status.user"; Dir::State::status "/var/lib/dpkg/status"; Dir::Cache "var/cache/apt/"; Dir::Cache::archives "archives/"; Dir::Cache::srcpkgcache "srcpkgcache.bin"; Dir::Cache::pkgcache "pkgcache.bin"; Dir::Etc "etc/apt/"; Dir::Etc::sourcelist "sources.list"; Dir::Etc::sourceparts "sources.list.d"; Dir::Etc::vendorlist "vendors.list"; Dir::Etc::vendorparts "vendors.list.d"; Dir::Etc::main "apt.conf"; Dir::Etc::parts "apt.conf.d"; Dir::Etc::preferences "preferences"; Dir::Bin ""; Dir::Bin::methods "/usr/lib/apt/methods"; Dir::Bin::dpkg "/usr/bin/dpkg"; DPkg ""; DPkg::Pre-Install-Pkgs ""; DPkg::Pre-Install-Pkgs:: "/usr/bin/apt-listchanges --apt || test $? -ne 10"; DPkg::Pre-Install-Pkgs:: "/usr/sbin/dpkg-preconfigure --apt || true"; DPkg::Tools ""; DPkg::Tools::Options ""; DPkg::Tools::Options::/usr/bin/apt-listchanges ""; DPkg::Tools::Options::/usr/bin/apt-listchanges::Version "2"; DPkg::Post-Invoke ""; DPkg::Post-Invoke:: "test -f /var/run/zope.restart && invoke-rc.d zope restart ; rm -f /var/run/zope.restart"; -- (no /etc/apt/preferences present) -- -- /etc/apt/sources.list -- # See sources.list(5) for more information, especialy # Remember that you can only use http, ftp or file URIs # CDROMs are managed through the apt-cdrom tool. #deb http://http.us.debian.org/debian stable main contrib non-free #deb http://non-us.debian.org/debian-non-US stable/non-US main contrib non-free #deb http://security.debian.org stable/updates main contrib non-free # Uncomment if you want the apt-get source function to work deb-src http://http.us.debian.org/debian unstable main contrib non-free #deb-src http://non-us.debian.org/debian-non-US unstable non-US # This is the main one we use... TAL 16-Jun-2002 deb http://www.uk.debian.org/debian/ unstable main non-free contrib #deb http://www.uk.debian.org/debian/ experimental main non-free contrib #deb-src http://www.uk.debian.org/debian/ unstable main non-free contrib #deb http://non-us.debian.org/debian-non-US unstable/non-US main contrib non-free #deb http://www.mirror.ac.uk/sites/ftp.debian.org/debian/ unstable main non-free contrib #deb-src http://www.mirror.ac.uk/sites/ftp.debian.org/debian/ unstable main non-free contrib #deb-src http://non-us.debian.org/debian-non-US unstable/non-US main contrib non-free #deb http://www.coda.cs.cmu.edu/debian unstable/ #deb http://www.coker.com.au/newselinux/ ./ -- System Information: Debian Release: testing/unstable APT prefers unstable APT policy: (500, 'unstable') Architecture: i386 (i686) Shell: /bin/sh linked to /bin/bash Kernel: Linux 2.6.16-2-686 Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8) Versions of packages apt depends on: ii libc6 2.3.6-15 GNU C Library: Shared libraries ii libgcc1 1:4.1.1-5 GCC support library ii libstdc++6 4.1.1-5 The GNU Standard C++ Library v3 Versions of packages apt recommends: pn debian-archive-keyring <none> (no description available) -- no debconf information -- Dr Thomas Leonard http://rox.sourceforge.net GPG: 9242 9807 C985 3C07 44A6 8B9A AE07 8280 59A5 3CC1
--- End Message ---
--- Begin Message ---Version: 0.6.46.3 In APT changelog for version 0.6.46.3 is included: [...] * apt-pkg/deb/dpkgpm.cc: - make progress reporting robust against multiline error messages [...] So APT shouldn't crash any longer (for a long while now) then encounter multiply lines. Also, the cloned bug against dpkg was fixed in the meantime. I therefore think the bug is fixed and close the report now, but feel free to reopen it if you disagree! Best regards / Mit freundlichen Grüßen, David "DonKult" Kalnischkies
--- End Message ---

