On 18/04/2020 21:02, Sven Hartge wrote:
Michael Howard <m...@dewberryfields.co.uk> wrote:
I've not used apt-mark much (or it's previous methods) so I'm a bit
confused by what I'm seeing.
If I use 'apt-mark hold <package1> <package2>' and then 'apt-mark
showhold' I get '<package1> <package2>' listed.
If I then do 'apt-mark hold <package3>' followed by 'apt-mark showhold'
I get only '<package3>' listed. This can't be right, surely?
Sorry, I can't reproduce this, here on Debian 10:
,----
| root@server:~ # apt-mark showhold
| root@server:~ # apt-mark hold bash dash
| bash set on hold.
| dash set on hold.
| root@server:~ # apt-mark showhold
| bash
| dash
| root@server:~ # apt-mark hold xterm
| xterm set on hold.
| root@server:~ # apt-mark showhold
| bash
| dash
| xterm
`----
But:
,----
| root@server:~ # apt-mark showhold xterm
| xterm
| root@server:~ # apt-mark showhold gzip
| root@server:~ #
`----
Please show the exact commands and their exact output.
Grüße,
Sven.
Uhm, weird. It might be to do with the packages I was playing with.
root@bamford:/etc# apt-mark showhold
root@bamford:/etc# apt-mark hold bash
bash set on hold.
root@bamford:/etc# apt-mark showhold
bash
root@bamford:/etc# apt-mark hold dash
dash set on hold.
root@bamford:/etc# apt-mark showhold
bash
dash
All good so far.
root@bamford:/etc# apt-mark hold sudo sudo-ldap
sudo set on hold.
sudo-ldap set on hold.
root@bamford:/etc# apt-mark showhold
bash
dash
sudo
sudo-ldap
Still good, but then,
root@bamford:/etc# apt-mark hold xterm
xterm set on hold.
root@bamford:/etc# apt-mark showhold
bash
dash
xterm
root@bamford:/etc#
Is that expected?
--
Michael Howard