1

August 3-4 Ubuntu offered an update. It was not at all clear going in that it was a major version change, being a jump in major Linux version from 5.19 to 6.2. At first it booted as usual with a notification in 'system tray' that reported broken packages. I followed the suggestion to remove and reinstall those packages and was left with a box that will only boot into command line mode. Furthermore, reversion to previous version fails in the same way: no NVIDIA drivers available where they used to be.

Using recovery mode menu to run dpkg tells me there are no packages available for NVIDIA GeForce video card, and libglmesa. Also Zoom fwiw.

I would prefer not to start from scratch here. Anyone have any helpful pointers on how to patch this back up?

Date: 4 August 2023

Event: Ubuntu driven auto upgrade From Linux 5.19 to 6.2 in jammy 22.04LTS

Video card: NVIDIA GeForce

Drivers missing: NVIDIA 470 series, and others

Answer (h/t Rinzwind)

Reinstalling the desktop:

apt-get install --reinstall ubuntu-desktop

Applied at the command prompt in the newer version, it restored the use of the desktop on both the updated version with Linux 6.2 and the previous version with Linux 5.19.

Jammy is unjammed!

  • What version of Ubuntu? What graphics card? – Organic Marble Aug 06 '23 at 16:24
  • "major upgrade being a jump in major Linux version from 5 to 6" around August 3-4 suggests a point release of Ubuntu 22.04. But much better to so specify in your question -- our deduction might be wrong. – user535733 Aug 06 '23 at 17:10
  • Linux went from 5.19 to 6.2 It was Friday 8/4 for me. – LeMoyne Castle Aug 06 '23 at 18:06
  • 2
    you are not alone. see the diff. topics already on AU. several have what appear to be working solutions – Rinzwind Aug 06 '23 at 18:14
  • Thank you Rinzwind ... Any from this year? – LeMoyne Castle Aug 06 '23 at 18:19
  • 1
    All are from this month ;-) – Rinzwind Aug 06 '23 at 18:24
  • "and was left with a box that will only boot into command line mode." most seen suggestion: sudo apt-get install --reinstall ubuntu-desktop (change ubuntu ofc. to what you use ;)) Not sure what happend though; the topics have all not a lot of detail (only "i don't get a desktop"). Maybe a bug in systemd where it is told to pick server or desktop mode. A bug with the nvidia driver is likely: key ingredient to get a working desktop. What really is strange is that I do not see anything about it in the mailing lists :P – Rinzwind Aug 06 '23 at 18:50
  • Bless you Rinzwind. – LeMoyne Castle Aug 06 '23 at 19:19
  • Reinstalling the desktop worked on the new Linux 6.2 version, and the same beautifully simple brute force solution applied once to the newer version restored the desktop in the older version as well. – LeMoyne Castle Aug 06 '23 at 19:34

2 Answers2

0

Not sure if this ha been resolved. Standard Nouveau drivers were the only option for my system.

Could be that you're Nvidia card is not supported in the update/kernel revision. I have an LGR580 and the Nvidia GT130M graphics card has no support past 5.15 I believe.

Standard Nouveau drivers were the only thing that worked, unfortunately. Try rolling back the video driver from terminal. You should be able to boot to repair.

Please check out this post to switch back to the Nouveau driver from boot terminal...

Remove nVidia driver and go back to Nouveau

Hope that helps.

  • Thanks for replying Ragu. The restoral of the desktop has allowed the PC to function well for a couple days now. I believe the update with underlying Linux upgrade was the issue, it left many packages unselected and dysfunctional. – LeMoyne Castle Aug 09 '23 at 08:43
0

Same happened here. Fix was:

sudo dpkg --configure -a
sudo apt-get install --reinstall ubuntu-desktop

Then logout and back in.

sotirov
  • 3,169
Dan
  • 1
  • 1