Comment 1 for bug 1881504

Revision history for this message
Balint Reczey (rbalint) wrote :

Maybe APT should not consider crossgrading a package as a removal and APT should be fixed instead of autopkgtest:

root@gg-libyaml:~# apt install gzip:i386
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following additional packages will be installed:
  gcc-10-base gcc-10-base:i386 libatomic1 libc6:i386 libcc1-0 libcrypt-dev libcrypt1 libcrypt1:i386 libgcc-s1 libgcc-s1:i386 libgomp1 libidn2-0:i386 libitm1 liblsan0
  libquadmath0 libstdc++6 libtsan0 libubsan1 libunistring2 libunistring2:i386
Suggested packages:
  glibc-doc:i386 locales:i386
The following packages will be REMOVED:
  gzip
The following NEW packages will be installed:
  gcc-10-base:i386 gzip:i386 libc6:i386 libcrypt1:i386 libgcc-s1:i386 libidn2-0:i386 libunistring2:i386
The following packages will be upgraded:
  gcc-10-base libatomic1 libcc1-0 libcrypt-dev libcrypt1 libgcc-s1 libgomp1 libitm1 liblsan0 libquadmath0 libstdc++6 libtsan0 libubsan1 libunistring2
WARNING: The following essential packages will be removed.
This should NOT be done unless you know exactly what you are doing!
  gzip
14 upgraded, 7 newly installed, 1 to remove and 121 not upgraded.
Need to get 5303 kB of archives.
After this operation, 15.2 MB of additional disk space will be used.
You are about to do something potentially harmful.
To continue type in the phrase 'Yes, do as I say!'
 ?]
Abort.