Comment 7 for bug 1694989

Revision history for this message
Nicolas R. (atoomic) wrote :

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