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
Bugs, which is subscribed to Ubuntu.

  Apt does not ask for authentication unless sudo is specified

To manage notifications about this bug go to:

ubuntu-bugs mailing list

Reply via email to