You need to enable JavaScript to run this app.
优惠活动
大模型
产品
解决方案
定价
更多

Ubuntu 22.04.2 LTS安装linux-image-5.15.0-76-generic失败,依赖包缺失求助

Ubuntu 22.04.2 LTS安装linux-image-5.15.0-76-generic失败,依赖包缺失求助

Hey there! Let's work through this kernel installation issue together. First, let's recap the problem from the command outputs you shared:

问题重现的命令及输出

root@ubuntu22:~# lsb_release -a
LSB Version:    core-11.1.0ubuntu4-noarch:security-11.1.0ubuntu4-noarch
Distributor ID: Ubuntu
Description:    Ubuntu 22.04.2 LTS
Release:        22.04
Codename:       jammy

root@ubuntu22:~# apt install linux-image-5.15.0-76-generic
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
linux-image-5.15.0-76-generic : Depends: linux-modules-5.15.0-76-generic but it is not installable
E: Unable to correct problems, you have held broken packages.

root@ubuntu22:~# apt search linux-modules-5.15.0-76-generic
Sorting... Done
Full Text Search... Done

As you pointed out, the required dependency linux-modules-5.15.0-76-generic isn't available in the Jammy repositories, which is blocking the installation. And since installing linux-image-5.15.0-75-generic works fine, the issue is definitely specific to the missing modules package for the 76 version.

Here are some practical fixes you can try:

方案1:更新软件源并修复系统依赖

First, make sure your repository lists are fully up-to-date, then fix any existing broken dependencies or locked packages:

sudo apt update
sudo apt --fix-broken install
sudo apt autoremove --purge
sudo apt clean
sudo apt autoclean

After running these commands, try installing the kernel image again to see if the dependency is now available.

方案2:安装仓库中可用的最新通用内核

If the 5.15.0-76 version has been removed from the official repositories, the safest alternative is to install the latest stable kernel version for Jammy. This will automatically pull in all required dependencies:

sudo apt install linux-image-generic

This command will set up the newest supported kernel image for your system, which should meet most use cases.

方案3:手动下载并安装对应的.deb包(仅当你必须使用5.15.0-76版本时)

If you specifically need the 5.15.0-76-generic kernel, you can manually grab the missing packages:

  1. Locate the correct .deb files for your system architecture (e.g., amd64) for both linux-image-5.15.0-76-generic and linux-modules-5.15.0-76-generic
  2. Download the files to your local system
  3. Install them using dpkg:
sudo dpkg -i linux-modules-5.15.0-76-generic_*.deb linux-image-5.15.0-76-generic_*.deb
  1. Run the following to resolve any remaining dependency issues:
sudo apt --fix-broken install

备注:内容来源于stack exchange,提问作者Aditya Srivastava

相关产品推荐
方舟 Agent Plan

超全模态模型 × Harness 升级,最新支持 Deepseek-V4.1-Flash、GLM-5.3 系列、Doubao-Seedream-5.0-pro、Kimi-K3 (部分), 限时 9.9 元起

最近更新时间:2026.04.22 11:37:59