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
Touch seeded packages, 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

-- 
Mailing list: https://launchpad.net/~touch-packages
Post to     : touch-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~touch-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to