Package: crossgrader Version: 0.0.3+nmu2 Severity: important Hi! While trying to crossgrade a system, I got the following crash:
Could not mark python3-apt:amd64 for install, fixing manually. Traceback (most recent call last): File "/usr/bin/crossgrader", line 33, in <module> sys.exit(load_entry_point('debian-crossgrader==0.0.3', 'console_scripts', 'crossgrader')()) File "/usr/lib/python3/dist-packages/debian_crossgrader/__main__.py", line 262, in main first_stage(args) File "/usr/lib/python3/dist-packages/debian_crossgrader/__main__.py", line 60, in first_stage crossgrader.cache_package_debs(pkg_packages) File "/usr/lib/python3/dist-packages/debian_crossgrader/crossgrader.py", line 581, in cache_package_debs assert target.marked_install, \ AssertionError: python3-apt:amd64 not marked as install despite no auto_inst As python3-apt is a dependency of crossgrader itself, I can't remove it to let crossgrader continue. Before the crash, the output so far was: # crossgrader amd64 Installing initramfs binary architecture check hook... arch check hook already installed. Hook installation failed. Hit http://apt-stg.angband.pl:3142/debian bullseye InRelease Hit http://apt-stg.angband.pl:3142/debian bullseye-updates InRelease Hit http://angband.pl/debian sid InRelease Hit http://apt-stg.angband.pl:3142/security.debian.org bullseye-security InRelease Hit http://deb.debian.org/debian bullseye-backports InRelease Fetched 0 B in 0s (0 B/s) 48 targets found. apt-utils:amd64 apt:amd64 base-files:amd64 base-passwd:amd64 bash:amd64 bsdutils:amd64 coreutils:amd64 cpio:amd64 cron:amd64 dash:amd64 debianutils:amd64 diffutils:amd64 dpkg:amd64 e2fsprogs:amd64 findutils:amd64 gcc-10-base:amd64 gpgv:amd64 grep:amd64 gzip:amd64 hostname:amd64 init:amd64 iproute2:amd64 iputils-ping:amd64 klibc-utils:amd64 kmod:amd64 less:amd64 libc-bin:amd64 libpam-modules-bin:amd64 libpam-modules:amd64 libreadline8:amd64 login:amd64 logrotate:amd64 mawk:amd64 mount:amd64 ncurses-bin:amd64 passwd:amd64 perl-base:amd64 procps:amd64 python3-apt:amd64 python3:amd64 rsyslog:amd64 screen:amd64 sed:amd64 sudo:amd64 sysvinit-utils:amd64 tar:amd64 udev:amd64 util-linux:amd64 Do you want to continue [y/N]? y Meow! -- System Information: Debian Release: 11.0 APT prefers testing-security APT policy: (500, 'testing-security'), (400, 'testing') Architecture: i386 (x86_64) Foreign Architectures: amd64 Kernel: Linux 5.10.0-6-amd64 (SMP w/4 CPU threads) Locale: LANG=C.UTF-8, LC_CTYPE=C.UTF-8 (charmap=UTF-8), LANGUAGE not set Shell: /bin/sh linked to /bin/dash Init: OpenRC (via /run/openrc), PID 1: init Versions of packages crossgrader depends on: ii arch-test 0.17-1 ii dpkg-dev 1.20.9 ii initramfs-tools 0.140 ii python3 3.9.2-3 ii python3-appdirs 1.4.4-1 ii python3-apt 2.2.0 ii python3-pkg-resources 52.0.0-3 crossgrader recommends no packages. Versions of packages crossgrader suggests: pn qemu-user-static <none> -- no debconf information