Public bug reported:

one cannot install drivers unless one is root (or has root priv
escalation via sudo).

For that reason, ubuntu-drivers should not run without a priv check.

ubuntu@doubletusk:~$ ubuntu-drivers --gpgpu autoinstall
This is gpgpu mode
E: Could not open lock file /var/lib/dpkg/lock-frontend - open (13: Permission 
denied)
E: Unable to acquire the dpkg frontend lock (/var/lib/dpkg/lock-frontend), are 
you root?


This shouldn't trigger the apt privilege error, ubuntu-drivers itself should 
check to see if it's running as root and then prompt the user.

** Affects: ubuntu-drivers-common (Ubuntu)
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to ubuntu-drivers-common in Ubuntu.
https://bugs.launchpad.net/bugs/1920225

Title:
  ubuntu-drivers should not run unless user is root

Status in ubuntu-drivers-common package in Ubuntu:
  New

Bug description:
  one cannot install drivers unless one is root (or has root priv
  escalation via sudo).

  For that reason, ubuntu-drivers should not run without a priv check.

  ubuntu@doubletusk:~$ ubuntu-drivers --gpgpu autoinstall
  This is gpgpu mode
  E: Could not open lock file /var/lib/dpkg/lock-frontend - open (13: 
Permission denied)
  E: Unable to acquire the dpkg frontend lock (/var/lib/dpkg/lock-frontend), 
are you root?

  
  This shouldn't trigger the apt privilege error, ubuntu-drivers itself should 
check to see if it's running as root and then prompt the user.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ubuntu-drivers-common/+bug/1920225/+subscriptions

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

Reply via email to