This is very annoying, I agree that either, apt-mark should not accept
'uninstalled' packages or we should avoid losing packages marked as
'hold'

Steps to reproduce (assuming none of these two packages are available)

Trying to mark as hold two uninstalled packages... and notice that the
second we add the second one we lost the status for the first one..

> apt update
> apt-mark hold p0f
p0f set on hold.
> apt-mark showhold
p0f
> grep -c p0f /var/lib/dpkg/status
1
> apt-mark hold dovecot-core
dovecot-core set on hold.
> apt-mark showhold
dovecot-core
> grep -c p0f /var/lib/dpkg/status
0

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1694989

Title:
  apt-mark overwrites existing held package info

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/apt/+bug/1694989/+subscriptions


-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to