gdm3 is being pulled in via a "Recommends" chain. Disabling recommends will 
avoid it[*]. 
On my groovy system it reduced new packages installed from 452/291MB of 
archives to 56/165MB of archives. Seems like the right thing to do for at least 
--gpgpu installs - but maybe for all?

[*]
--- /usr/bin/ubuntu-drivers.orig        2020-07-29 15:24:08.000000000 +0000
+++ /usr/bin/ubuntu-drivers     2020-10-06 19:18:53.208559657 +0000
@@ -155,7 +155,8 @@
         return
 
     ret = subprocess.call(['apt-get', 'install', '-o',
-        'DPkg::options::=--force-confnew', '-y'] + to_install)
+                           'DPkg::options::=--force-confnew', '-y',
+                           '--no-install-recommends'] + to_install)
 
     oem_meta_to_install = fnmatch.filter(to_install, 'oem-*-meta')

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1898601

Title:
  'ubuntu-drivers --gpgpu install' installs a lot of unnecessary
  packages, including a full desktop environment on Ubuntu Server

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

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to