This was fixed in dpkg (1.20.6) unstable; urgency=medium * libdpkg: Do not forget not-installed packages that are set on hold. Reported by David Kalnischkies <donk...@debian.org>.
** Changed in: apt (Ubuntu) Status: New => Fix Released ** Package changed: apt (Ubuntu) => dpkg (Ubuntu) -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to apt in Ubuntu. https://bugs.launchpad.net/bugs/1921773 Title: apt upgrade clears a hold on an uninstalled snapd Status in dpkg package in Ubuntu: Fix Released Bug description: I have an "apt-mark hold" on several packages, one of which is not installed, snapd. An "apt upgrade" that's not a noop, that actually installs something, clears the snapd hold. The others remain. ProblemType: Bug DistroRelease: Ubuntu 20.04 Package: apt 2.0.4 ProcVersionSignature: Ubuntu 5.8.0-48.54~20.04.1-generic 5.8.18 Uname: Linux 5.8.0-48-generic x86_64 ApportVersion: 2.20.11-0ubuntu27.16 Architecture: amd64 CasperMD5CheckResult: skip CurrentDesktop: ubuntu:GNOME Date: Mon Mar 29 12:47:58 2021 InstallationDate: Installed on 2020-10-16 (163 days ago) InstallationMedia: Ubuntu 20.04.1 LTS "Focal Fossa" - Release amd64 (20200731) ProcEnviron: TERM=xterm-256color PATH=(custom, no user) XDG_RUNTIME_DIR=<set> LANG=en_US.UTF-8 SHELL=/bin/bash SourcePackage: apt UpgradeStatus: No upgrade log present (probably fresh install) To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/dpkg/+bug/1921773/+subscriptions -- Mailing list: https://launchpad.net/~touch-packages Post to : touch-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~touch-packages More help : https://help.launchpad.net/ListHelp