[Bug 1959485] Re: reproducible crash in jammy: Uncaught exception: ../../src/ui.cc:1549: void auto_fix_broken(): Assertion "resman->resolver_exists()" failed.
Rolf Leggewie
1959485 at bugs.launchpad.net
Fri Feb 4 10:49:55 UTC 2022
Thank you Axel, for having a look.
I am in the process of creating the requested information and will make
it available to you privately. Not sure if that's necessary, though as
it should be fairly easy to reproduce this problem.
1) create jammy chroot/VM
2) add focal to sources.list
3) install autoradio, python-is-python2 and python3-six from focal
4) sudo aptitude and try to update autoradio (I assume this will trigger the resolver, let it choose to upgrade autoradio to jammy and keep the other focal packages around)
5) I was surprised to find that despite choosing a resolution from aptitude resolver, aptitude shows broken packages at this point
6) hit g and witness the crash
** Changed in: aptitude (Ubuntu)
Status: Incomplete => New
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to aptitude in Ubuntu.
https://bugs.launchpad.net/bugs/1959485
Title:
reproducible crash in jammy: Uncaught exception: ../../src/ui.cc:1549:
void auto_fix_broken(): Assertion "resman->resolver_exists()" failed.
Status in aptitude package in Ubuntu:
New
Bug description:
When updating from focal to jammy I found the following reproducible
way to crash aptitude.
$ apt policy python3-chardet
python3-chardet:
Installed: 3.0.4-4build1
Candidate: 4.0.0-1
Version table:
4.0.0-1 500
500 http://de.archive.ubuntu.com/ubuntu jammy/main amd64 Packages
500 http://de.archive.ubuntu.com/ubuntu jammy/main i386 Packages
*** 3.0.4-4build1 500
500 http://de.archive.ubuntu.com/ubuntu focal/main amd64 Packages
500 http://de.archive.ubuntu.com/ubuntu focal/main i386 Packages
100 /var/lib/dpkg/status
python3-chardet and python3-six cannot currently upgrade on my machine
due to bug 1958720. Updated packages come in all the time for jammy
at the moment. When I hit + on the section of "Upgradable Packages"
in aptitude I am thus currently always breaking packages. Aptitude
calculates a way for me to resolve the problem, usually holding a
couple of packages at their current version. I accept and then
aptitude still shows 2 broken packages (this is a bug in itself, I
guess). I can verify with b that the broken packages are
python3-chardet and python3-six. I can hold both packages with : and
move on and nothing bad happens. But if I don't do that and instead
rely on aptitude resolving conflicts before installing by hitting g,
then aptitude will reliably crash.
$ sudo aptitude
Uncaught exception: ../../src/ui.cc:1549: void auto_fix_broken(): Assertion "resman->resolver_exists()" failed.
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/aptitude/+bug/1959485/+subscriptions
More information about the foundations-bugs
mailing list