[Bug 1955047] Re: Nvidia drivers are marked as "auto" at installation and thus removed by `apt autoremove`

Chris Halse Rogers 1955047 at bugs.launchpad.net
Wed Aug 3 02:47:46 UTC 2022


Hello quazgar, or anyone else affected,

Accepted ubuntu-release-upgrader into jammy-proposed. The package will
build now and be available at
https://launchpad.net/ubuntu/+source/ubuntu-release-upgrader/1:22.04.13
in a few hours, and then in the -proposed repository.

Please help us by testing this new package.  See
https://wiki.ubuntu.com/Testing/EnableProposed for documentation on how
to enable and use -proposed.  Your feedback will aid us getting this
update out to other Ubuntu users.

If this package fixes the bug for you, please add a comment to this bug,
mentioning the version of the package you tested, what testing has been
performed on the package and change the tag from verification-needed-
jammy to verification-done-jammy. If it does not fix the bug for you,
please add a comment stating that, and change the tag to verification-
failed-jammy. In either case, without details of your testing we will
not be able to proceed.

Further information regarding the verification process can be found at
https://wiki.ubuntu.com/QATeam/PerformingSRUVerification .  Thank you in
advance for helping!

N.B. The updated package will be released to -updates after the bug(s)
fixed by this package have been verified and the package has been in
-proposed for a minimum of 7 days.

** Changed in: ubuntu-release-upgrader (Ubuntu Jammy)
       Status: Confirmed => Fix Committed

** Tags added: verification-needed verification-needed-jammy

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

Title:
  Nvidia drivers are marked as "auto" at installation and thus removed
  by `apt autoremove`

Status in ubiquity package in Ubuntu:
  Incomplete
Status in ubuntu-release-upgrader package in Ubuntu:
  Confirmed
Status in ubiquity source package in Jammy:
  Incomplete
Status in ubuntu-release-upgrader source package in Jammy:
  Fix Committed

Bug description:
  When installing Ubuntu 20.04 LTS and choosing the proprietary Nvidia
  drivers, they seem to be marked as "auto".  Consequently, any
  subsequent `apt` commands recommend to call `apt autoremove`:

  ```
  root at ubuntu-nvidia:~# apt-get install htop
  Reading package lists... Done
  Building dependency tree
  Reading state information... Done
  htop is already the newest version (2.2.0-2build1).
  The following packages were automatically installed and are no longer required:
  chromium-codecs-ffmpeg-extra gstreamer1.0-vaapi libatomic1:i386 libbsd0:i386 libdrm-amdgpu1:i386
  libdrm-intel1:i386 libdrm-nouveau2:i386 libdrm-radeon1:i386 libdrm2:i386 libedit2:i386 libelf1:i386
  libexpat1:i386 libffi7:i386 libglvnd0:i386 libgstreamer-plugins-bad1.0-0 libllvm12:i386
  libnvidia-cfg1-390 libnvidia-common-390 libnvidia-compute-390:i386 libnvidia-decode-390
  libnvidia-decode-390:i386 libnvidia-encode-390 libnvidia-encode-390:i386 libnvidia-fbc1-390
  libnvidia-gl-390 libnvidia-gl-390:i386 libnvidia-ifr1-390 libpciaccess0:i386 libsensors5:i386
  libstdc++6:i386 libva-wayland2 libvulkan1:i386 libwayland-client0:i386 libx11-6:i386
  libx11-xcb1:i386 libxau6:i386 libxcb-dri2-0:i386 libxcb-dri3-0:i386 libxcb-glx0:i386
  libxcb-present0:i386 libxcb-randr0:i386 libxcb-shm0:i386 libxcb-sync1:i386 libxcb-xfixes0:i386
  libxcb1:i386 libxdmcp6:i386 libxext6:i386 libxfixes3:i386 libxnvctrl0 libxshmfence1:i386
  libxxf86vm1:i386 mesa-vulkan-drivers:i386 nvidia-compute-utils-390 nvidia-kernel-source-390
  nvidia-prime nvidia-settings nvidia-utils-390 screen-resolution-extra xserver-xorg-video-nvidia-390
  Use 'apt autoremove' to remove them.
  0 upgraded, 0 newly installed, 0 to remove and 142 not upgraded.
  ```

  Calling `apt autoremove`, of course results in removal of drivers
  which are necessary for X11 to start.  At the next boot attempt, the
  user will be presented with just a black screen and possibly some
  information about a successful fsck on /dev/sda2.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ubiquity/+bug/1955047/+subscriptions




More information about the foundations-bugs mailing list