cross-testing essential packages fails
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
apt (Ubuntu) |
Won't Fix
|
Undecided
|
Unassigned | ||
autopkgtest (Ubuntu) |
Confirmed
|
Undecided
|
Unassigned | ||
gzip (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
Testing gzip on i386 fails at replacing gzip(:amd64) with gzip:i386.
...
autopkgtest [19:51:38]: testing package gzip version 1.10-2ubuntu1
autopkgtest [19:51:38]: build not needed
autopkgtest [19:51:38]: test simple-gzip: preparing testbed
Note, using file '/tmp/autopkgte
Reading package lists...
Building dependency tree...
Reading state information...
Starting pkgProblemResolver with broken count: 0
Starting 2 pkgProblemResolver with broken count: 0
Done
The following packages will be REMOVED:
gzip
The following NEW packages will be installed:
build-essential cpp cpp-9 g++ g++-9 gcc gcc-10-base:i386 gcc-9 gcc-9-base
gzip:i386 libasan5 libatomic1 libc-dev-bin libc6:i386 libc6-dev libcc1-0
libcrypt-dev libcrypt1:i386 libgcc-9-dev libgcc-s1:i386 libgomp1 libisl22
libitm1 liblsan0 libmpc3 libquadmath0 libstdc++-9-dev libtsan0 libubsan1
linux-libc-dev
WARNING: The following essential packages will be removed.
This should NOT be done unless you know exactly what you are doing!
gzip
0 upgraded, 30 newly installed, 1 to remove and 0 not upgraded.
E: Essential packages were removed and -y was used without --allow-
E: Failed to process build dependencies
...
tags: | added: update-excuse |
tags: | added: id-5ec3b6cbff6ea34a158feeae |
Changed in autopkgtest (Ubuntu): | |
status: | New → Confirmed |
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.