我刚刚安装了 Ubuntu 22.04,几乎无能为力。如果我想通过终端安装某些东西,它会自动尝试更新内核linux-image-5.15.0-56-generic
并卡在那里。
的输出sudo dpkg --configure -a
为:
dpkg: dependency problems prevent configuration of linux-modules-5.15.0-56-generic:
linux-modules-5.15.0-56-generic depends on linux-image-5.15.0-56-generic | linux-image-unsigned-5.15.0-56-generic; however:
Package linux-image-5.15.0-56-generic is not installed.
Package linux-image-unsigned-5.15.0-56-generic is not installed.
dpkg: error processing package linux-modules-5.15.0-56-generic (--configure):
dependency problems - leaving unconfigured
Errors were encountered while processing:
linux-modules-5.15.0-56-generic
apt autoremove
输出(停留在 6%)
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
The following additional packages will be installed:
linux-image-5.15.0-56-generic
Suggested packages:
fdutils linux-doc | linux-source-5.15.0 linux-tools linux-headers-5.15.0-56-generic linux-modules-extra-5.15.0-56-generic
The following packages will be REMOVED:
linux-headers-5.15.0-43 linux-headers-5.15.0-43-generic linux-image-5.15.0-43-generic linux-modules-5.15.0-43-generic linux-modules-extra-5.15.0-43-generic
The following packages will be upgraded:
linux-image-5.15.0-56-generic
1 upgraded, 0 newly installed, 5 to remove and 27 not upgraded.
2 not fully installed or removed.
Need to get 0 B/11,4 MB of archives.
After this operation, 550 MB disk space will be freed.
Do you want to continue? [Y/n] y
(Reading database ... 221817 files and directories currently installed.)
Preparing to unpack .../linux-image-5.15.0-56-generic_5.15.0-56.62_amd64.deb ...
有人可以帮帮我吗?