Manual test case before and after, with after reverting back to amd64.
Before: It is broken, no Architecture-Variant registered
root@deef22dfcf58:/# apt policy apt
apt:
Installed: 3.1.6ubuntu2
Candidate: 3.1.6ubuntu2
Version table:
*** 3.1.6ubuntu2 500
500 http://archive.ubuntu.com/ubuntu questing/main amd64 Packages
100 /var/lib/dpkg/status
root@deef22dfcf58:/#
root@deef22dfcf58:/# export DEBIAN_FRONTEND=noninteractive
root@deef22dfcf58:/# apt -o APT::Architecture-Variants=amd64v3 -U install apt
[...]
Fetched 22.4 MB in 2s (14.8 MB/s)
56 packages can be upgraded. Run 'apt list --upgradable' to see them.
Upgrading:
apt
Summary:
Upgrading: 1, Installing: 0, Removing: 0, Not Upgrading: 55
Download size: 1439 kB
Space needed: 20.5 kB / 8224 MB available
Get:1 http://archive.ubuntu.com/ubuntu questing/main amd64v3 apt amd64
3.1.6ubuntu2 [1439 kB]
Fetched 1439 kB in 1s (2474 kB/s)
(Reading database ... 5217 files and directories currently installed.)
Preparing to unpack .../apt_3.1.6ubuntu2_amd64v3.deb ...
Unpacking apt (3.1.6ubuntu2) over (3.1.6ubuntu2) ...
Setting up apt (3.1.6ubuntu2) ...
Processing triggers for libc-bin (2.42-0ubuntu3) ...
root@deef22dfcf58:/# apt -o APT::Architecture-Variants=amd64v3 policy apt
apt:
Installed: 3.1.6ubuntu2
Candidate: 3.1.6ubuntu2
Version table:
3.1.6ubuntu2 500
500 http://archive.ubuntu.com/ubuntu questing/main amd64v3 Packages
*** 3.1.6ubuntu2 100
100 /var/lib/dpkg/status
root@deef22dfcf58:/# dpkg --status apt | grep ^Arch
Architecture: amd64
After: Architecture-Variant is correctly registered
[...]
Setting up dpkg (1.22.21ubuntu3.1) ...
root@deef22dfcf58:/# apt -o APT::Architecture-Variants=amd64v3 -U install apt
[...]
Fetched 22.6 MB in 3s (7880 kB/s)
65 packages can be upgraded. Run 'apt list --upgradable' to see them.
Upgrading:
apt
Summary:
Upgrading: 1, Installing: 0, Removing: 0, Not Upgrading: 64
Download size: 1439 kB
Space needed: 20.5 kB / 8140 MB available
Get:1 http://archive.ubuntu.com/ubuntu questing/main amd64v3 apt amd64
3.1.6ubuntu2 [1439 kB]
19% [1 apt 347 kB/1439 kB 24%]
Fetched 1439 kB in 1s (1314 kB/s)
(Reading database ... 8961 files and directories currently installed.)
Preparing to unpack .../apt_3.1.6ubuntu2_amd64v3.deb ...
Unpacking apt (3.1.6ubuntu2) over (3.1.6ubuntu2) ...
Setting up apt (3.1.6ubuntu2) ...
Processing triggers for libc-bin (2.42-0ubuntu3) ...
root@deef22dfcf58:/# apt policy apt
apt:
Installed: 3.1.6ubuntu2
Candidate: 3.1.6ubuntu2
Version table:
*** 3.1.6ubuntu2 100
100 /var/lib/dpkg/status
root@deef22dfcf58:/# apt -o APT::Architecture-Variants=amd64v3 policy apt
apt:
Installed: 3.1.6ubuntu2
Candidate: 3.1.6ubuntu2
Version table:
*** 3.1.6ubuntu2 500
500 http://archive.ubuntu.com/ubuntu questing/main amd64v3 Packages
100 /var/lib/dpkg/status
root@deef22dfcf58:/# dpkg --status apt | grep ^Arch
Architecture: amd64
Architecture-Variant: amd64v3
Back to v1 also works correctly and drops it:
root@deef22dfcf58:/# apt install -U apt
[...]
Fetched 22.7 MB in 2s (14.0 MB/s)
8 packages can be upgraded. Run 'apt list --upgradable' to see them.
Upgrading:
apt
Summary:
Upgrading: 1, Installing: 0, Removing: 0, Not Upgrading: 7
Download size: 1432 kB
Freed space: 20.5 kB
Get:1 http://archive.ubuntu.com/ubuntu questing/main amd64 apt amd64
3.1.6ubuntu2 [1432 kB]
Fetched 1432 kB in 1s (1373 kB/s)
(Reading database ... 8961 files and directories currently installed.)
Preparing to unpack .../apt_3.1.6ubuntu2_amd64.deb ...
Unpacking apt (3.1.6ubuntu2) over (3.1.6ubuntu2) ...
Setting up apt (3.1.6ubuntu2) ...
Processing triggers for libc-bin (2.42-0ubuntu3) ...
root@deef22dfcf58:/# apt policy apt
apt:
Installed: 3.1.6ubuntu2
Candidate: 3.1.6ubuntu2
Version table:
*** 3.1.6ubuntu2 500
500 http://archive.ubuntu.com/ubuntu questing/main amd64 Packages
100 /var/lib/dpkg/status
root@deef22dfcf58:/# dpkg --status apt | grep ^Arch
Architecture: amd64
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2128606
Title:
Correctly copy Architecture-Variant field
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/dpkg/+bug/2128606/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs