Diagnosing boot failure after apt and snap upgrades

Hello

I’m using Ubuntu 22.04 LTS with Gnome, booting with BIOS from HDD

A few days ago I ran an apt update/upgrade, followed by a snap refresh.

The next boot dropped out of splash screen to a text output, followed by a hung system system with the flashing “_” in the upper left corner.

The text mentioned 7 failed dependencies, 2 lines after the start of snap daemon, all similar to:

[DEPEND] Dependency failed for SSD NSS Service responder socket

for various “service responder sockets.”

It was the first upgrade in a while, so it probably included the kernel. Installed linux images are now

linux-image-5.15.0-152-generic/jammy-updates,jammy-security,now 5.15.0-152.162 amd64 [installed,auto-removable]
linux-image-5.15.0-153-generic/jammy-updates,jammy-security,now 5.15.0-153.163 amd64 [installed,automatic]
linux-image-5.15.0-163-generic/jammy-updates,jammy-security,now 5.15.0-163.173 amd64 [installed,automatic]
linux-image-generic/jammy-security,now 5.15.0.163.158 amd64 [installed,upgradable to: 5.15.0.164.159]

On the off chance the output about dependencies was significant, I reinstalled ubuntu-desktop at the suggestion of an online source, which resulted in successful boot on the default kernel, but with the Nvidia gpu driver misconfigured.

Rather than tweak the update further, I would like to
a) diagnose the boot failure after the update, and
b) regress that update and redo it successfully.

I’m currently booting and running without flaws on the 5.15.0-153 image. Only one of the -163 versions was added to GRUB. I have run no updates since the first one.

The link below to the NVidia forums might help. Generally, a new driver is/was required on each kernel update which is discussed at this link. I don’t use NVidia so can’t really speak to it.

https://forums.developer.nvidia.com/t/whats-the-process-for-fixing-nvidia-drivers-after-kernel-updates-in-ubuntu-20-04/208870/13i

thanks for the reply, however I don’t want to fix the driver on the new update. Not unless absolutely necessary. The overall problem was the unbootable state. Only after resolving that was a driver issue revealed.

What I’m hoping to do is roll back the -163 material, running on the working -153 version through grub advanced options, and try from there to update it without glitches. I don’t recall Nvidia problems from previous updates.

My hunch is updating apt and snap at basically the same time might be an issue. Why are there 2 different -163 kernel versions installed? hmmm. The 4th listed is actually an earlier version, is named very differently from the others. From different sources maybe, now conflicting?

This topic was automatically closed after 30 days. New replies are no longer allowed.