Ubuntu 22.04内核降级至5.19.0-32-generic失败(无安装候选)的解决方法咨询
Hey there, I’ve dealt with this exact "no installation candidate" error when trying to grab older Ubuntu kernels before—let’s break down why this happens and how to fix it.
The issue here is that Canonical regularly removes older, unsupported kernel versions from the default Ubuntu software repositories. Since 5.19.0-32-generic is an older kernel for 22.04 (Jammy Jellyfish), it’s no longer available in the standard sources. Here’s what you can do to get it installed:
Step 1: Make sure you have network access in recovery mode
First, you need an active internet connection to fetch the old kernel. When you’re in the recovery mode menu:
- Select the network option, follow the prompts to enable your network connection
- Once done, go back to the menu and choose root to drop into a shell
Step 2: Add the old Ubuntu releases repository
We’ll add Ubuntu’s official archive for older packages, which still hosts many retired kernel versions. Run this command to create a new source list file:
echo "deb http://old-releases.ubuntu.com/ubuntu jammy main restricted universe multiverse" >> /etc/apt/sources.list.d/old-releases.list
Step 3: Update your package cache
Refresh your apt package list to include the new repository:
apt update
Step 4: Install the full kernel package set
Don’t just install the kernel image—you’ll also need the matching headers and modules to avoid compatibility issues. Run:
apt install linux-image-5.19.0-32-generic linux-headers-5.19.0-32-generic linux-modules-5.19.0-32-generic linux-modules-extra-5.19.0-32-generic
If the 5.19.0-32 version is still missing
In rare cases, even the old releases repo might not have this exact version. Try listing all available 5.19-series kernels to find a close alternative:
apt search linux-image-5.19.*-generic
Pick any 5.19 version that shows up (like 5.19.0-46-generic) and install it using the same full package set command above—any 5.19 kernel should resolve the boot black screen issue you’re facing.
Step 5: Update GRUB and reboot
Once the kernel is installed, update your boot loader to ensure the old kernel appears in the startup menu:
update-grub
Then type reboot to restart your system. When GRUB loads, select Advanced options for Ubuntu and choose the 5.19 kernel you installed.
Cleanup (optional but recommended)
After you confirm the kernel works, you can remove the old releases repo to avoid future update conflicts:
rm /etc/apt/sources.list.d/old-releases.list apt update
备注:内容来源于stack exchange,提问作者Ahmed2BP

