第一次发帖,但我已经使用 Linux 一段时间了,但还远远没有掌握操作系统。每当我在做某事时出现错误,我的大脑就会崩溃,因为我不知道该怎么做。
话虽如此,我正在尝试安装 bleachbit(或任何软件),但似乎总是出现相同的错误。例如,我尝试通过终端安装 bleachbit,结果如下:
ubuntu@ubuntu-desktop:~$ sudo apt install bleachbit
[sudo] password for ubuntu:
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
You might want to run 'apt --fix-broken install' to correct these.
The following packages have unmet dependencies:
linux-modules-5.15.0-25-generic : Depends: linux-image-5.15.0-25-generic but it is not going to be installed or
linux-image-unsigned-5.15.0-25-generic but it is not going to be installed
E: Unmet dependencies. Try 'apt --fix-broken install' with no packages (or specify a solution).
ubuntu@ubuntu-desktop:~$
如果我通过软件界面尝试,我会得到:
Unable to install Bleachbit: Error while installing package: installed linux-image-5.15.0-25-generic package post-removal script subprocess returned error exit status 1
我正在运行 22.04 版本。
我很想知道如何修复这个问题。我检查了设备和位置,它显示我在 ubuntu-desktop 上有 212.2 GB 可用空间。
如果我尝试执行以下命令,将发生以下情况:
sudo apt install linux-image-5.15.0-25-generic
sudo apt 安装 linux-image-5.15.0-25-generic
如果我尝试以下命令:
sudo apt install linux-modules-5.15.0-25-generic
sudo apt 安装 linux-modules-5.15.0-25-generic
最后如果我尝试:
sudo apt full-upgrade
这里是 apt-mark showmanual | grep linux-'[g|i|m|h]'
ubuntu@ubuntu-desktop:~$ apt-mark showmanual | grep linux-'[g|i|m|h]' linux-generic-hwe-22.04 linux-image-5.15.0-25-generic linux-modules-5.15.0-25-generic