dpkg依賴問題

dpkg依賴問題

我嘗試按照此處的說明將核心升級到 5.5:http://ubuntuhandbook.org/index.php/2020/01/install-kernel-5-5-ubuntu/。我下載了這些軟體包,但是當我嘗試使用命令安裝它們時,sudo dpkg -i *.deb出現以下錯誤:

(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-generic。我嘗試升級到 5.5 的原因是我的互聯網在 Ubuntu 20.04 中運行速度慢得離譜(就像撥號慢)。我知道這不是我的互聯網,因為我與另一台電腦建立了完美的連接。另一位用戶提供的解決方案是更改核心版本(升級或降級)。如果您需要任何其他信息,請告訴我。

謝謝你!

答案1

您下載了錯誤的軟體包。您下載了generic的版本linux-imagelinux-headers但是lowlatency的版本linux-modulesgeneric並且lowlatency不相容並且完全不同。您下載的linux-modules-5.5.0-050500-lowlatency套件不正確。您必須下載linux-modules-5.5.0-050500-generic並安裝它。

相關內容