2021-12-16 13:43:35 |
quazgar |
bug |
|
|
added bug |
2021-12-16 16:24:41 |
Ubuntu Foundations Team Bug Bot |
tags |
|
bot-comment |
|
2021-12-16 18:31:30 |
Brian Murray |
affects |
ubuntu |
ubiquity (Ubuntu) |
|
2021-12-16 20:10:35 |
Steve Langasek |
ubiquity (Ubuntu): importance |
Undecided |
Critical |
|
2021-12-16 20:10:44 |
Steve Langasek |
bug task added |
|
ubuntu-release-upgrader (Ubuntu) |
|
2021-12-16 20:10:53 |
Steve Langasek |
ubuntu-release-upgrader (Ubuntu): importance |
Undecided |
Critical |
|
2021-12-16 20:11:28 |
Steve Langasek |
nominated for series |
|
Ubuntu Jammy |
|
2021-12-16 20:11:28 |
Steve Langasek |
bug task added |
|
ubiquity (Ubuntu Jammy) |
|
2021-12-16 20:11:28 |
Steve Langasek |
bug task added |
|
ubuntu-release-upgrader (Ubuntu Jammy) |
|
2021-12-16 20:39:50 |
Steve Langasek |
tags |
bot-comment |
bot-comment fr-1937 |
|
2021-12-16 21:10:49 |
Steve Langasek |
ubiquity (Ubuntu Jammy): status |
New |
Incomplete |
|
2021-12-16 22:21:36 |
Brian Murray |
attachment added |
|
syslog https://bugs.launchpad.net/ubuntu/+source/ubiquity/+bug/1955047/+attachment/5548113/+files/syslog |
|
2021-12-29 11:26:46 |
Launchpad Janitor |
ubuntu-release-upgrader (Ubuntu): status |
New |
Confirmed |
|
2022-02-23 22:34:15 |
henkoegema |
bug |
|
|
added subscriber henkoegema |
2022-07-18 16:00:33 |
Łukasz Zemczak |
ubuntu-release-upgrader (Ubuntu Jammy): milestone |
|
ubuntu-22.04.1 |
|
2022-08-02 12:01:15 |
Launchpad Janitor |
merge proposal linked |
|
https://code.launchpad.net/~schopin/ubuntu-release-upgrader/+git/ubuntu-release-upgrader/+merge/427718 |
|
2022-08-02 18:41:36 |
Launchpad Janitor |
merge proposal linked |
|
https://code.launchpad.net/~ubuntu-core-dev/ubuntu-release-upgrader/+git/ubuntu-release-upgrader/+merge/427735 |
|
2022-08-02 18:44:01 |
Launchpad Janitor |
merge proposal linked |
|
https://code.launchpad.net/~ubuntu-core-dev/ubuntu-release-upgrader/+git/ubuntu-release-upgrader/+merge/427736 |
|
2022-08-03 02:47:36 |
Chris Halse Rogers |
ubuntu-release-upgrader (Ubuntu Jammy): status |
Confirmed |
Fix Committed |
|
2022-08-03 02:47:38 |
Chris Halse Rogers |
bug |
|
|
added subscriber Ubuntu Stable Release Updates Team |
2022-08-03 02:47:41 |
Chris Halse Rogers |
bug |
|
|
added subscriber SRU Verification |
2022-08-03 02:47:45 |
Chris Halse Rogers |
tags |
bot-comment fr-1937 |
bot-comment fr-1937 verification-needed verification-needed-jammy |
|
2022-08-03 08:38:25 |
Simon Chopin |
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@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. |
[Impact]
The installer doesn't install the nvidia-driver-* metadata on 20.04.3 Desktop, which means that on
upgrade the user will be prompted to remove the actual driver packages as the final step of the install,
which will likely break their user session.
[Test plan]
This test plan is for the fix in ubuntu-release-upgrader:
On a system with a nvidia GPU:
* Install 20.04.3 with proprietary drivers enabled:
https://old-releases.ubuntu.com/releases/focal/ubuntu-20.04.3-desktop-amd64.iso
* Reboot
* sudo apt -s autoremove should list quite a few libnvidia* packages, including libnvidia-gl-*
* do-release-upgrade -p
-> At the end of the upgrade process, the only nvidia packages that should be up for removal are kernel modules for obsolete kernel
On the nvidia-enabled system (test that the fix doesn't break systems that are working)
* Install 21.10 with proprietary drivers enabled
https://old-releases.ubuntu.com/releases/impish/ubuntu-21.10-desktop-amd64.iso
* Fix the sources.list as noted there: https://help.ubuntu.com/community/EOLUpgrades#Update_sources.list
* dpkg -l | grep libnvidia-gl- should return one package
* sudo apt -s autoremove shouldn't list that same package
* do-release-upgrade -p
-> fully functional system at the end including nvidia drivers
[Potential regressions]
Potential regressions include:
* Crashing the upgrader, preventing users from upgrading
* Installing the nvidia proprietary stack on systems without user consent
* Totally breaking the graphics stack for desktop users
[Original report]
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@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. |
|
2022-08-03 10:05:11 |
Simon Chopin |
description |
[Impact]
The installer doesn't install the nvidia-driver-* metadata on 20.04.3 Desktop, which means that on
upgrade the user will be prompted to remove the actual driver packages as the final step of the install,
which will likely break their user session.
[Test plan]
This test plan is for the fix in ubuntu-release-upgrader:
On a system with a nvidia GPU:
* Install 20.04.3 with proprietary drivers enabled:
https://old-releases.ubuntu.com/releases/focal/ubuntu-20.04.3-desktop-amd64.iso
* Reboot
* sudo apt -s autoremove should list quite a few libnvidia* packages, including libnvidia-gl-*
* do-release-upgrade -p
-> At the end of the upgrade process, the only nvidia packages that should be up for removal are kernel modules for obsolete kernel
On the nvidia-enabled system (test that the fix doesn't break systems that are working)
* Install 21.10 with proprietary drivers enabled
https://old-releases.ubuntu.com/releases/impish/ubuntu-21.10-desktop-amd64.iso
* Fix the sources.list as noted there: https://help.ubuntu.com/community/EOLUpgrades#Update_sources.list
* dpkg -l | grep libnvidia-gl- should return one package
* sudo apt -s autoremove shouldn't list that same package
* do-release-upgrade -p
-> fully functional system at the end including nvidia drivers
[Potential regressions]
Potential regressions include:
* Crashing the upgrader, preventing users from upgrading
* Installing the nvidia proprietary stack on systems without user consent
* Totally breaking the graphics stack for desktop users
[Original report]
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@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. |
[Impact]
The installer doesn't install the nvidia-driver-* metadata on 20.04.3 Desktop, which means that on
upgrade the user will be prompted to remove the actual driver packages as the final step of the install,
which will likely break their user session.
[Test plan]
This test plan is for the fix in ubuntu-release-upgrader:
On a system with a nvidia GPU:
* Install 20.04.3 with proprietary drivers enabled:
https://old-releases.ubuntu.com/releases/focal/ubuntu-20.04.3-desktop-amd64.iso
* `sudo apt -s autoremove` should list quite a few libnvidia* packages, including libnvidia-gl-*
* Manually download the -proposed upgrader since jammy isn't available for LTS upgrades yet:
$ mkdir -p /tmp/u-r-u && wget http://archive.ubuntu.com/ubuntu/dists/jammy-proposed/main/dist-upgrader-all/current/jammy.tar.gz && tar -xaf jammy.tar.gz -C /tmp/u-r-u
$ cd /tmp/u-r-u
$ ./jammy
-> At the end of the upgrade process, the only nvidia packages that should be up for removal are kernel modules for obsolete kernel
On the nvidia-enabled system (test that the fix doesn't break systems that are working)
* Install 21.10 with proprietary drivers enabled
https://old-releases.ubuntu.com/releases/impish/ubuntu-21.10-desktop-amd64.iso
* Fix the sources.list as noted there: https://help.ubuntu.com/community/EOLUpgrades#Update_sources.list
* dpkg -l | grep libnvidia-gl- should return one package
* sudo apt -s autoremove shouldn't list that same package
* do-release-upgrade -p
-> fully functional system at the end including nvidia drivers
[Potential regressions]Potential regressions include:
* Crashing the upgrader, preventing users from upgrading
* Installing the nvidia proprietary stack on systems without user consent
* Totally breaking the graphics stack for desktop users
[Original report]
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@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. |
|
2022-08-03 11:56:49 |
Simon Chopin |
tags |
bot-comment fr-1937 verification-needed verification-needed-jammy |
bot-comment fr-1937 verification-done-jammy |
|
2022-08-03 15:48:00 |
Brian Murray |
ubuntu-release-upgrader (Ubuntu): status |
Confirmed |
Invalid |
|
2022-08-08 16:50:22 |
Launchpad Janitor |
ubuntu-release-upgrader (Ubuntu Jammy): status |
Fix Committed |
Fix Released |
|
2022-08-08 16:50:30 |
Łukasz Zemczak |
removed subscriber Ubuntu Stable Release Updates Team |
|
|
|
2022-08-12 18:19:38 |
Launchpad Janitor |
merge proposal linked |
|
https://code.launchpad.net/~ubuntu-core-dev/ubuntu-release-upgrader/+git/ubuntu-release-upgrader/+merge/428277 |
|
2023-02-28 22:15:58 |
robert flecken |
ubiquity (Ubuntu): status |
Incomplete |
Fix Released |
|
2023-02-28 22:16:04 |
robert flecken |
ubiquity (Ubuntu Jammy): status |
Incomplete |
Fix Released |
|
2023-02-28 22:16:11 |
robert flecken |
ubiquity (Ubuntu): assignee |
|
robert flecken (rob636) |
|
2023-02-28 22:16:13 |
robert flecken |
ubiquity (Ubuntu Jammy): assignee |
|
robert flecken (rob636) |
|
2023-02-28 22:16:15 |
robert flecken |
ubuntu-release-upgrader (Ubuntu): assignee |
|
robert flecken (rob636) |
|
2023-02-28 22:16:17 |
robert flecken |
ubuntu-release-upgrader (Ubuntu): assignee |
robert flecken (rob636) |
|
|
2023-02-28 22:16:20 |
robert flecken |
ubuntu-release-upgrader (Ubuntu Jammy): assignee |
|
robert flecken (rob636) |
|
2023-02-28 22:16:24 |
robert flecken |
ubuntu-release-upgrader (Ubuntu): assignee |
|
robert flecken (rob636) |
|
2023-02-28 22:16:32 |
robert flecken |
ubuntu-release-upgrader (Ubuntu): status |
Invalid |
Fix Released |
|
2023-02-28 22:17:41 |
robert flecken |
ubuntu-release-upgrader (Ubuntu Jammy): assignee |
robert flecken (rob636) |
|
|