I didn’t have an issue reversing it. I just had to
Remove the “APT::Architecture-Variants “amd64v3”;” conf option
Re-run apt update
Re-run apt upgrade
And all the amd64v3 packages were replaced with the regular non-variant amd64 ones.
Of course to begin with I only upgraded a minuscule subset (all the selected packages beginning with the letter ‘d’) of the 900+ packages that were to be changed over to amd64v3 versions. Still, there wasn’t any problem with reversing it.
No, it was a reversal of the installation of variant packages back to the non-variant versions by following the steps I listed above. It was quite easy.
This seems to be a new feature of apt when handling architectures.
A normal upgrade within the same architecture would operate only based on package versions, here it seems apt actually moves over to the other arch and re-installs the former packages …
It seems that APT::Architecture-Variants acts as a flag to the apt solver that when deciding on an action between two packages with identical names and package version numbers, prefer to act on the variant package if Architecture-Variants is set. When it isn’t set, prefer the non-variant.