[Aptitude-devel] Bug#867006: Bug#867006: aptitude crashes with Uncaught exception: ../../src/ui.cc:1548: void auto_fix_broken(): Assertion "resman->resolver_exists()" failed.
Control: found -1 0.8.11-7 Hi again, Axel Beckert wrote: > Sven Joachim wrote: > > On 2017-07-03 08:14 -0300, Thadeu Lima de Souza Cascardo wrote: > > > While browsing around the view and marking packages for upgrade, > > > aptitude crashed with the following exception: > > > > > > Uncaught exception: ../../src/ui.cc:1548: void auto_fix_broken(): > > > Assertion "resman->resolver_exists()" failed. > > > > This seems to be the same problem as #866974. Do you have > > libcpan-meta-perl installed? > > Not sure if it's really the same problem as in Sven's #866974 case > (which I can reproduce in the TUI and on the commandline) there was no > hard exiting (I wouldn't call it crash, but that's nitpicking) due to > a Assertion being not true. Hence not merging for the moment. Ran into the same issue as #867006 during a dist-upgrade from stretch to buster, when upgrading nearly all perl packages (libraries, Perl's binaries and binaries linked against libperl): Uncaught exception: ../../src/ui.cc:1548: void auto_fix_broken(): Assertion "resman->resolver_exists()" failed. It though only happened on a single machine so far, despite it's my tenth (or so) dist-upgrade from stretch to buster... Initially it only happened if I pressed "g" in the preview, but after saving the desired package state by quiting aptitude with "q" and then starting it again, it immediately happens if I press "g" in the initial TUI view. I then tried to get a useful backtrace and installed all debug packages via "apt install $(find-dbgsym-packages $(which aptitude))". After that I still was able to reproduce the crash, but I noticed that there was a dependency conflict: perl-modules-5.28 breaks libparse-cpan-meta-perl provided by the (in #866974 by Sven already suspected) libcpan-meta-perl. Solving this conflict manually (which I'm quite but not 100% sure hasn't been displayed before) also solved the crash. Unfortunately as soon as I attach to aptitude with "gdb -p $pid", aptitude no more seems to react on keyboard input. It though immediately crashes once I detach gdb from it. :-( Trying to get the crash on the commandline with "aptitude install" fails (well, succeeds) as it properly handles the case: # aptitude install The following NEW packages will be installed: libb-debug-perl{a} libcrypt-openssl-random-perl{a} libdevel-callchecker-perl{a} libdynaloader-functions-perl{a} libperl5.28{a} perl-modules-5.28{ab} The following packages will be REMOVED: libdata-random-perl{u} libextutils-pkgconfig-perl{pu} libgnome2-canvas-perl{a} libgnome2-gconf-perl{a} libgnome2-perl{a} libgnome2-vfs-perl{a} libgnome2-wnck-perl{a} libgtk2-imageview-perl{a} libgtk2-unique-perl{a} libgtkimageview0{pu} liblexical-sealrequirehints-perl{pu} libmagickcore-6.q16-3{pu} libnet-dropbox-api-perl{pu} libnet-oauth-perl{pu} libnfqueue-perl{ap} libproc-simple-perl{pu} libunique-1.0-0{pu} libx11-protocol-other-perl{pu} shutter{ap} The following packages will be upgraded: eperl finch irssi libacme-damn-perl libalgorithm-combinatorics-perl libalgorithm-diff-xs-perl libanyevent-perl libapt-pkg-perl libasync-interrupt-perl libautobox-perl libautovivification-perl libb-compiling-perl libb-hooks-op-annotation-perl libb-hooks-op-check-perl libb-utils-perl libbareword-filehandles-perl libbit-vector-perl libcache-fastmmap-perl libcairo-gobject-perl libcairo-perl libcflow-perl libclass-c3-xs-perl libclass-load-xs-perl libclass-methodmaker-perl libclass-xsaccessor-perl libclone-perl libcommon-sense-perl libcompress-bzip2-perl libcompress-raw-lzma-perl libcoro-perl libcrypt-blowfish-perl libcrypt-cast5-perl libcrypt-des-perl libcrypt-eksblowfish-perl libcrypt-openssl-bignum-perl libcrypt-openssl-rsa-perl libcrypt-rijndael-perl libcrypt-smime-perl libcrypt-ssleay-perl libcrypt-twofish-perl libcurses-perl libdata-dump-streamer-perl libdata-structure-util-perl libdate-calc-xs-perl libdate-pcalc-perl libdatetime-perl libdbd-pg-perl libdbd-sqlite3-perl libdbi-perl libdevel-caller-perl libdevel-callsite-perl libdevel-cover-perl libdevel-declare-perl libdevel-leak-perl libdevel-lexalias-perl libdevel-nytprof-perl libdevel-overloadinfo-perl libdevel-refcount-perl libdevel-size-perl libdevel-stacktrace-perl libdevice-usb-perl libdigest-jhash-perl libdigest-sha-perl libdigest-sha3-perl libencode-hanextra-perl libev-perl libevent-perl libfcgi-perl libffi-platypus-perl libfile-fcntllock-perl libfile-fnmatch-perl libfile-rsyncp-perl libfilesys-df-perl libfilter-perl libforks-perl libgd-perl libglib-object-introspection-perl libglib-perl libgtk2-perl libguard-perl libhash-fieldhash-perl libhash-storediterator-perl libhtml-parser-perl libhttp-parser-xs-perl libimage-magick-q16-perl libindirect-perl libio-aio-perl libio-interface-perl libio-pty-perl libio-socket-multicast-perl libipc-sharelite-perl libjson-xs-perl liblist-moreutils-perl liblocale-gettext-perl libmail-spf-xs-perl libmoose-perl
[Aptitude-devel] Processed: Re: Bug#867006: aptitude crashes with Uncaught exception: ../../src/ui.cc:1548: void auto_fix_broken(): Assertion "resman->resolver_exists()" failed.
Processing control commands: > found -1 0.8.11-7 Bug #867006 [aptitude] aptitude crashes with Uncaught exception: ../../src/ui.cc:1548: void auto_fix_broken(): Assertion "resman->resolver_exists()" failed. Marked as found in versions aptitude/0.8.11-7. -- 867006: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=867006 Debian Bug Tracking System Contact ow...@bugs.debian.org with problems ___ Aptitude-devel mailing list Aptitude-devel@alioth-lists.debian.net https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/aptitude-devel
[Aptitude-devel] Processed: Re: Bug#931619: aptitude: InRelease fetch errors for stable, stable-updates and testing
Processing control commands: > forcemerge 915246 -1 Bug #915246 [aptitude] aptitude: doesn't cope with "Repository '…' changed its 'Origin' value from 'A' to 'B'. This must be accepted explicitly before updates for this repository can be applied. […] Do you want to accept these changes and continue updating from this repository?" questions from apt. Bug #931536 [aptitude] aptitude update fails to cope with changed release info Bug #931543 [aptitude] aptitude: sources.list configured for buster block update because stable changed Bug #931619 [aptitude] aptitude: InRelease fetch errors for stable, stable-updates and testing Severity set to 'important' from 'normal' Marked as found in versions aptitude/0.8.11-6. Added tag(s) confirmed. Bug #931536 [aptitude] aptitude update fails to cope with changed release info Bug #931543 [aptitude] aptitude: sources.list configured for buster block update because stable changed Merged 915246 931536 931543 931619 -- 915246: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=915246 931536: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=931536 931543: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=931543 931619: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=931619 Debian Bug Tracking System Contact ow...@bugs.debian.org with problems ___ Aptitude-devel mailing list Aptitude-devel@alioth-lists.debian.net https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/aptitude-devel
[Aptitude-devel] Bug#931619: Bug#931619: aptitude: InRelease fetch errors for stable, stable-updates and testing
Control: forcemerge 915246 -1 Hi Vincent, Vincent Lefevre wrote: > I get the following obscure error messages when updating from the UI: [...] > "apt update" has no issues, but it has asked me some questions, > that aptitude didn't do: thanks for the report. This is a duplicate of #915246, #931536, and #931543, hence merging. Please see my comments in these bug reports. Regards, Axel -- ,''`. | Axel Beckert , https://people.debian.org/~abe/ : :' : | Debian Developer, ftp.ch.debian.org Admin `. `' | 4096R: 2517 B724 C5F6 CA99 5329 6E61 2FF9 CD59 6126 16B5 `-| 1024D: F067 EA27 26B9 C3FC 1486 202E C09E 1D89 9593 0EDE ___ Aptitude-devel mailing list Aptitude-devel@alioth-lists.debian.net https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/aptitude-devel
[Aptitude-devel] Bug#931619: aptitude: InRelease fetch errors for stable, stable-updates and testing
Package: aptitude Version: 0.8.11-7 Severity: normal I get the following obscure error messages when updating from the UI: ┌──┐ │E: Failed to download some files ▒│ │W: Failed to fetch http://ftp.fr.debian.org/debian/dists/stable/InRelease: ▒│ │W: Failed to fetch http://security.debian.org/dists/stable/updates/InRelease:▒│ │W: Failed to fetch ▒│ │ http://ftp.fr.debian.org/debian/dists/stable-updates/InRelease: ▒│ │W: Failed to fetch http://ftp.fr.debian.org/debian/dists/testing/InRelease: ▒│ │E: Some index files failed to download. They have been ignored, or old ones ▒│ │ used instead. ▒│ │[ Ok ]│ └──┘ "apt update" has no issues, but it has asked me some questions, that aptitude didn't do: N: Repository 'http://security.debian.org stable/updates InRelease' changed its 'Version' value from '9' to '10' E: Repository 'http://security.debian.org stable/updates InRelease' changed its 'Codename' value from 'stretch' to 'buster' N: This must be accepted explicitly before updates for this repository can be applied. See apt-secure(8) manpage for details. Do you want to accept these changes and continue updating from this repository? [y/N] y etc. I've attached my /etc/apt/sources.list file. -- Package-specific info: Terminal: xterm-256color $DISPLAY is set. which aptitude: /usr/bin/aptitude aptitude version information: aptitude 0.8.11 Compiler: g++ 8.2.0 Compiled against: apt version 5.0.2 NCurses version 6.1 libsigc++ version: 2.10.1 Gtk+ support disabled. Qt support disabled. Current library versions: NCurses version: ncurses 6.1.20181013 cwidget version: 0.5.17 Apt version: 5.0.2 aptitude linkage: linux-vdso.so.1 (0x7ffe36966000) libapt-pkg.so.5.0 => /usr/lib/x86_64-linux-gnu/libapt-pkg.so.5.0 (0x7ff231d99000) libncursesw.so.6 => /lib/x86_64-linux-gnu/libncursesw.so.6 (0x7ff231d5f000) libtinfo.so.6 => /lib/x86_64-linux-gnu/libtinfo.so.6 (0x7ff231d31000) libsigc-2.0.so.0 => /usr/lib/x86_64-linux-gnu/libsigc-2.0.so.0 (0x7ff231d28000) libcwidget.so.3 => /usr/lib/x86_64-linux-gnu/libcwidget.so.3 (0x7ff231c22000) libsqlite3.so.0 => /usr/lib/x86_64-linux-gnu/libsqlite3.so.0 (0x7ff231b0) libboost_iostreams.so.1.67.0 => /usr/lib/x86_64-linux-gnu/libboost_iostreams.so.1.67.0 (0x7ff231ae) libboost_system.so.1.67.0 => /usr/lib/x86_64-linux-gnu/libboost_system.so.1.67.0 (0x7ff231ad9000) libxapian.so.30 => /usr/lib/x86_64-linux-gnu/libxapian.so.30 (0x7ff2318ad000) libpthread.so.0 => /lib/x86_64-linux-gnu/libpthread.so.0 (0x7ff23188c000) libstdc++.so.6 => /usr/lib/x86_64-linux-gnu/libstdc++.so.6 (0x7ff231709000) libm.so.6 => /lib/x86_64-linux-gnu/libm.so.6 (0x7ff231586000) libgcc_s.so.1 => /lib/x86_64-linux-gnu/libgcc_s.so.1 (0x7ff23156a000) libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x7ff2313a9000) libresolv.so.2 => /lib/x86_64-linux-gnu/libresolv.so.2 (0x7ff23138f000) libz.so.1 => /lib/x86_64-linux-gnu/libz.so.1 (0x7ff231171000) libbz2.so.1.0 => /lib/x86_64-linux-gnu/libbz2.so.1.0 (0x7ff23115e000) liblzma.so.5 => /lib/x86_64-linux-gnu/liblzma.so.5 (0x7ff231136000) liblz4.so.1 => /usr/lib/x86_64-linux-gnu/liblz4.so.1 (0x7ff231115000) libzstd.so.1 => /usr/lib/x86_64-linux-gnu/libzstd.so.1 (0x7ff231075000) libudev.so.1 => /lib/x86_64-linux-gnu/libudev.so.1 (0x7ff23104f000) libsystemd.so.0 => /lib/x86_64-linux-gnu/libsystemd.so.0 (0x7ff230fae000) /lib64/ld-linux-x86-64.so.2 (0x7ff2323cf000) libdl.so.2 => /lib/x86_64-linux-gnu/libdl.so.2 (0x7ff230fa9000) librt.so.1 => /lib/x86_64-linux-gnu/librt.so.1 (0x7ff230f9d000) libuuid.so.1 => /lib/x86_64-linux-gnu/libuuid.so.1 (0x7ff230f94000) libgcrypt.so.20 => /lib/x86_64-linux-gnu/libgcrypt.so.20 (0x7ff230e76000) libgpg-error.so.0 => /lib/x86_64-linux-gnu/libgpg-error.so.0 (0x7ff230e53000) -- System Information: Debian Release: 10.0 APT prefers unstable-debug APT policy: (500, 'unstable-debug'), (500, 'unstable'), (500, 'testing'), (500, 'stable'), (1, 'experimental') Architecture: amd64 (x86_64) Foreign Architectures: i386 Kernel: Linux 4.19.0-5-amd64 (SMP w/12 CPU cores) Kernel taint flags: TAINT_PROPRIETARY_MODULE, TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE Locale: LANG=POSIX, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE=POSIX (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash