[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: apt-mark hold issue (apt Installed: 1.8.2 armhf)



On 19/04/2020 17:34, Michael Lange wrote:
Hi,

On Sun, 19 Apr 2020 09:25:18 +0200
Sven Hartge <sven@svenhartge.de> wrote:

Michael Howard <mike@dewberryfields.co.uk> wrote:

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?
*That* I can reproduce. Interesting.

No, that is not intended.

This looks like https://bugs.debian.org/892632 "apt: "apt-mark hold"
changes state of unrelated packages" to me.
that's what I thought.

I tried some more, and here the same command sequence leads to a slightly
different result:

# apt-mark showhold
# apt-mark hold bash dash sudo sudo-ldap
bash auf Halten gesetzt.
dash auf Halten gesetzt.
sudo auf Halten gesetzt.
sudo-ldap auf Halten gesetzt.
# apt-mark showhold
bash
dash
sudo
sudo-ldap
# apt-mark hold xterm
xterm auf Halten gesetzt.
# apt-mark showhold
bash
dash
sudo
xterm
#

But then, I noticed that  sudo-ldap is not actually installed here, and in
fact it appears to conflict with sudo so apparently both cannot coexist.

So maybe the basic problem here is that we are trying to make apt do
things that really don't make any sense?

But what if I want neither sudo nor sudo-ldap? I hold sudo but then sudo-ldap gets installed (should something depend it) and vice-versa I guess.

Personally, I don't think co-existence is relevant.

--
Michael Howard


Reply to: