I’ve been trying to upgrade my bare metal Kicksecure and want to report the confusing experience lately.
I first clicked on the “Install Updates” button by habit and got this.
/usr/bin/upgrade-nonroot
<snip>
The following packages have been kept back:
kicksecure-baremetal-gui-lxqt
<snip>
I tried to manually run sudo apt full-upgrade and even dist-upgrade but those didn’t do the trick either.
% sudo apt dist-upgrade
Not upgrading:
kicksecure-baremetal-gui-lxqt
Summary:
Upgrading: 0, Installing: 0, Removing: 0, Not Upgrading: 1
On top of that, sudo apt upgrade --with-newpkgs gave the exact same result. (FWIW, --with-newpkgs is not valid with full-upgrade or dist-upgrade.)
I ended up having to explicitly type the name of the meta package.
% sudo apt install kicksecure-baremetal-gui-lxqt
Upgrading:
kicksecure-baremetal-gui-lxqt
Installing dependencies:
dist-baremetal-gui-all
REMOVING:
virtualbox-guest-utils virtualbox-guest-x11
Summary:
Upgrading: 1, Installing: 1, Removing: 2, Not Upgrading: 0
If I understand correctly, the usual workarounds don’t work because the new version both adds and removes dependencies. Compare this to whonix-gateway-vm-gui-lxqt on my VM, which worked just fine. /usr/bin/upgrade-nonroot called apt full-upgrade and correctly removed virtualbox-guest-utils and virtualbox-guest-x11.
For bare metal, I imagine most people not too familiar with APT may be stuck on the old package version for quite long. Missing out dist-baremetal-gui-all seems not ideal to me. It may even affect an in-place major Kicksecure/Debian release upgrade, given that apt dist-upgrade won’t upgrade it either. Thoughts?
Idea: Can upgrade-nonroot handle this for me or at least print a hint on how to resolve it? Previously, a similar idea has been suggested for a different problem.