首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >dpkg依赖问题

dpkg依赖问题
EN

Ask Ubuntu用户
提问于 2020-08-22 13:13:10
回答 1查看 286关注 0票数 1

我试图按照下面的说明将内核升级到5.5:http://ubuntuhandbook.org/index.php/2020/01/install-kernel-5-5-ubuntu/。我下载了这些包,但是当我试图使用命令sudo dpkg -i *.deb安装它们时,我得到了以下错误:

代码语言:javascript
复制
(Reading database ... 180196 files and directories currently installed.)
Preparing to unpack linux-headers-5.5.0-050500_5.5.0-050500.202001262030_all.deb ...
Unpacking linux-headers-5.5.0-050500 (5.5.0-050500.202001262030) over (5.5.0-050500.202001262030) ...
Preparing to unpack linux-headers-5.5.0-050500-generic_5.5.0-050500.202001262030_amd64.deb ...
Unpacking linux-headers-5.5.0-050500-generic (5.5.0-050500.202001262030) over (5.5.0-050500.202001262030) ...
Selecting previously unselected package linux-image-unsigned-5.5.0-050500-generic.
Preparing to unpack linux-image-unsigned-5.5.0-050500-generic_5.5.0-050500.202001262030_amd64.deb ...
Unpacking linux-image-unsigned-5.5.0-050500-generic (5.5.0-050500.202001262030) ...
Preparing to unpack linux-modules-5.5.0-050500-lowlatency_5.5.0-050500.202001262030_amd64.deb ...
Unpacking linux-modules-5.5.0-050500-lowlatency (5.5.0-050500.202001262030) over (5.5.0-050500.202001262030) ...
Setting up linux-headers-5.5.0-050500 (5.5.0-050500.202001262030) ...
Setting up linux-headers-5.5.0-050500-generic (5.5.0-050500.202001262030) ...
dpkg: dependency problems prevent configuration of linux-image-unsigned-5.5.0-050500-generic:
 linux-image-unsigned-5.5.0-050500-generic depends on linux-modules-5.5.0-050500-generic; however:
  Package linux-modules-5.5.0-050500-generic is not installed.

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

我环顾了一下论坛,但找不到解决问题的办法。我的内核版本是5.4.0-42-泛型.我试图升级到5.5的原因是我的互联网在Ubuntu20.04中运行得非常慢(比如拨号速度慢)。我知道这不是我的互联网,因为我和我的另一台电脑有着完美的连接。另一个用户提供的解决方案是更改内核版本(升级或降级)。如果你还需要其他信息,请告诉我。

谢谢!

EN

回答 1

Ask Ubuntu用户

回答已采纳

发布于 2020-08-22 13:37:55

你下载了错误的包裹。您下载了generic版本的linux-imagelinux-headers,但下载了lowlatency版本的linux-modulesgenericlowlatency不兼容,完全不同。您下载了不正确的包的linux-modules-5.5.0-050500-lowlatency。您必须下载linux-modules-5.5.0-050500-generic并安装它。

票数 1
EN
页面原文内容由Ask Ubuntu提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://askubuntu.com/questions/1269209

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档