first time poster but I've been using Linux for a while but I'm far from grasping the operating system. Any time there's an error that pops up when I'm doing stuff, it crashes my brain because I haven't a clue what to do.
With that said, I'm trying to install bleachbit (or any software) for that matter and it seems I keep getting the same errors. For example, I'm trying to install bleachbit via terminal and here's what I get:
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:~$
If I try via the Software interface, I get:
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
I'm running version 22.04.
I would love to know how to fix this. I checked devices and locations and it says I have 212.2 GB available on ubuntu-desktop.
This is what happens if I try to do the command:
sudo apt install linux-image-5.15.0-25-generic
sudo apt install linux-image-5.15.0-25-generic
If I try the command:
sudo apt install linux-modules-5.15.0-25-generic
sudo apt install linux-modules-5.15.0-25-generic
Lastly if I try:
sudo apt full-upgrade
Here is df -h;df -i
Here is 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
apt --fix-broken install
, as the message suggested? – Esther May 24 '22 at 20:38df - h;df -i
please – nobody May 24 '22 at 21:06sudo apt update
first before you install stuff. When you fail to do this, you can run into problems like this because the packages being fetched won't match the outdated package list on your computer. – mchid May 24 '22 at 23:18sudo apt install linux-image-5.15.0-25-generic
and thensudo apt install linux-modules-5.15.0-25-generic
? Also also,sudo apt full-upgrade
– mchid May 24 '22 at 23:20df -h
alsoapt-mark showmanual | grep linux-'[g|i|m|h]'
as text in codeblock not as image. thank''s – nobody May 25 '22 at 18:41sudo dpkg -P linux-generic-hwe-22.04 linux-image-5.15.0-25-generic linux-modules-5.15.0-25-generic
Make sure you has all default repository enabled https://askubuntu.com/questions/124017/how-do-i-restore-the-default-repositories then trysudo apt update && sudo apt install linux-generic-hwe-22.04
– nobody May 30 '22 at 14:39