[Bug 1750453] [NEW] Apt does not ask for authentication unless sudo is specified
Harald H.
haarektrans at gmail.com
Mon Feb 19 22:47:31 UTC 2018
Public bug reported:
If a user try to install for example Gimp with "apt install gimp"
(without sudo) he will be met with these errors:
E: Could not open lock file /var/lib/dpkg/lock - open (13: Permission denied)
E: Unable to lock the administration directory (/var/lib/dpkg/), are you root?
If the software is available as a snap and he instead tries to install
it with "snap install gimp" (still without sudo) he won't get any
errors, but will instead be prompted for the sudo password. This is
pretty neat, but is there somehow we can have this same function when
using apt to make the behavior consistent?
** Affects: apt (Ubuntu)
Importance: Undecided
Status: New
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to apt in Ubuntu.
https://bugs.launchpad.net/bugs/1750453
Title:
Apt does not ask for authentication unless sudo is specified
Status in apt package in Ubuntu:
New
Bug description:
If a user try to install for example Gimp with "apt install gimp"
(without sudo) he will be met with these errors:
E: Could not open lock file /var/lib/dpkg/lock - open (13: Permission denied)
E: Unable to lock the administration directory (/var/lib/dpkg/), are you root?
If the software is available as a snap and he instead tries to install
it with "snap install gimp" (still without sudo) he won't get any
errors, but will instead be prompted for the sudo password. This is
pretty neat, but is there somehow we can have this same function when
using apt to make the behavior consistent?
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/apt/+bug/1750453/+subscriptions
More information about the foundations-bugs
mailing list