我使用运行内核版本 5.7.0 的 Ubuntu 20.04。我想运行旧版本的内核(5.5.0),因此正在下载软件包:
cd /tmp/
wget -c https://kernel.ubuntu.com/~kernel-ppa/mainline/v5.5/linux-headers-5.5.0-050500_5.5.0-050500.202001262030_all.deb
wget -c https://kernel.ubuntu.com/~kernel-ppa/mainline/v5.5/linux-headers-5.5.0-050500-generic_5.5.0-050500.202001262030_amd64.deb
wget -c https://kernel.ubuntu.com/~kernel-ppa/mainline/v5.5/linux-image-unsigned-5.5.0-050500-generic_5.5.0-050500.202001262030_amd64.deb
wget -c https://kernel.ubuntu.com/~kernel-ppa/mainline/v5.5/linux-modules-5.5.0-050500-lowlatency_5.5.0-050500.202001262030_amd64.deb
sudo dpkg -i *.deb
不幸的是,我无法安装此内核版本,并且在使用 dpkg 时出现一些错误:
dpkg: error processing package linux-image-unsigned-5.5.0-050500-generic (--install):
dependency problems - leaving unconfigured
Setting up linux-modules-5.5.0-050500-lowlatency (5.5.0-050500.202001262030) ...
Errors were encountered while processing:
linux-image-unsigned-5.5.0-050500-generic
请问有什么帮助吗?
感谢您的回答,抱歉,我对 Linux 还很陌生!我是否应该只下载:
wget -c https://kernel.ubuntu.com/~kernel-ppa/mainline/v5.5/linux-headers-5.5.0-050500_5.5.0-050500.202001262030_all.deb
wget -c https://kernel.ubuntu.com/~kernel-ppa/mainline/v5.5/linux-headers-5.5.0-050500-generic_5.5.0-050500.202001262030_amd64.deb
wget -c https://kernel.ubuntu.com/~kernel-ppa/mainline/v5.5/linux-image-unsigned-5.5.0-050500-generic_5.5.0-050500.202001262030_amd64.deb
进而
sudo dpkg -i *.deb
?
答案1
您正在安装lowlatency
带有内核的模块generic
。
这样无法安装。您需要下载所有generic
、 或lowlatency
包。