This affects 20.04 as well, as it actually happens every time aptitude update is executed. This effectively makes apt-mark hold pointless for me!
ops@d-vgt-006:~$ sudo apt-mark hold unattended-upgrades unattended-upgrades set on hold. ops@d-vgt-006:~$ sudo apt-mark showhold unattended-upgrades ops@d-vgt-006:~$ sudo aptitude update Hit http://us.archive.ubuntu.com/ubuntu focal InRelease Hit http://us.archive.ubuntu.com/ubuntu focal-updates InRelease Hit http://us.archive.ubuntu.com/ubuntu focal-backports InRelease Hit http://security.ubuntu.com/ubuntu focal-security InRelease ops@d-vgt-006:~$ sudo apt-mark showhold ops@d-vgt-006:~$ ops@d-vgt-006:~$ sudo apt-mark showhold ops@d-vgt-006:~$ sudo apt-mark hold unattended-upgrades unattended-upgrades set on hold. ops@d-vgt-006:~$ sudo apt-mark showhold unattended-upgrades ops@d-vgt-006:~$ sudo aptitude update Hit http://us.archive.ubuntu.com/ubuntu focal InRelease Hit http://us.archive.ubuntu.com/ubuntu focal-updates InRelease Hit http://us.archive.ubuntu.com/ubuntu focal-backports InRelease Hit http://security.ubuntu.com/ubuntu focal-security InRelease ops@d-vgt-006:~$ sudo apt-mark showhold ops@d-vgt-006:~$ -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1817350 Title: Running 'aptitude update' clears hold flags on packages To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/aptitude/+bug/1817350/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs