Bug#1022974: marked as done (hplip: Needs sudo but does not depend on it)
Your message dated Tue, 20 Dec 2022 19:40:39 +0000
with message-id <20122022191237.3e96fe03555b@desktop.copernicus.org.uk>
and subject line Re: Bug#1022974: hplip: Needs sudo but does not depend on it
has caused the Debian Bug report #1022974,
regarding hplip: Needs sudo but does not depend on it
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact owner@bugs.debian.org
immediately.)
--
1022974: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1022974
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
- To: Debian Bug Tracking System <submit@bugs.debian.org>
- Subject: hplip: Needs sudo but does not depend on it
- From: Teemu Ikonen <tpikonen@gmail.com>
- Date: Fri, 28 Oct 2022 19:11:36 +0300
- Message-id: <166697349618.367823.5819180337014005480.reportbug@pan>
Package: hplip
Version: 3.22.6+dfsg0-1
Severity: normal
X-Debbugs-Cc: tpikonen@gmail.com
When installing the non-free plugin with hp-plugin, the installer
authenticates using 'sudo'. If sudo is not installed, the password
prompt always reports an invalid password error.
hplip package should depend on sudo. Bonus points for checking that the
sudo configuration works before starting the installation.
-- Package-specific info:
-- System Information:
Debian Release: bookworm/sid
APT prefers testing
APT policy: (500, 'testing')
Architecture: amd64 (x86_64)
Kernel: Linux 5.19.0-2-amd64 (SMP w/4 CPU threads; PREEMPT)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled
Versions of packages hplip depends on:
ii adduser 3.129
ii cups 2.4.2-1+b2
ii hplip-data 3.22.6+dfsg0-1
ii libc6 2.35-3
ii libcups2 2.4.2-1+b2
ii libdbus-1-3 1.14.4-1
ii libhpmud0 3.22.6+dfsg0-1
ii libpython3.10 3.10.7-2
ii libsane-hpaio 3.22.6+dfsg0-1
ii libsane1 1.1.1-6+b1
ii lsb-base 11.4
ii printer-driver-hpcups 3.22.6+dfsg0-1
ii python3 3.10.6-1
ii python3-dbus 1.3.2-1
ii python3-gi 3.42.2-2
ii python3-pexpect 4.8.0-3
ii python3-pil 9.2.0-1+b1
ii python3-reportlab 3.6.11-1
ii sysvinit-utils [lsb-base] 3.05-6
ii wget 1.21.3-1+b2
ii xz-utils 5.2.5-2.1
Versions of packages hplip recommends:
ii avahi-daemon 0.8-6+b1
ii policykit-1 121+compat0.1-6
ii printer-driver-postscript-hp 3.22.6+dfsg0-1
ii sane-utils 1.1.1-6+b1
Versions of packages hplip suggests:
pn hplip-doc <none>
ii hplip-gui 3.22.6+dfsg0-1
ii python3-notify2 0.3-5
ii system-config-printer 1.5.16-1
-- no debconf information
--- End Message ---
--- Begin Message ---
On Tue 20 Dec 2022 at 12:05:15 +0200, Teemu Ikonen wrote:
> On Thu, Dec 15 2022 at 17:27:18 +00:00:00, Brian Potkin
> <claremont102@gmail.com> wrote:
> > Thank you for your report, Teemu. Please inicate whether Debian was
> > installed with or without a root account.
>
> The root account is disabled on this system. I ran into this when trying to
> replace 'sudo' with 'doas'. apt-get remove'ing sudo does not remove any
> packages in my system, but (at least) this package breaks because of the
> implicit sudo dependency.
Firstly, an installation of Debian without a root password will
install sudo. Therefore, it does not need to be a dependancy of
HPLIP.
Secondly, HPLIP will only interact with Debian via a root pasword.
A user's password with sudo is not acceptable. See
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=825383
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=925222
Having HPLIP depend on sudo is not a solution. Hence closing.
Cheers,
Brian.
--- End Message ---
Reply to: