so I read through some similar posts however I wasn't able to fix my problem because I'm getting a lot of errors when trying to follow the solutions.
My problem is that whenever I start my system it says the boot drive is full therefore I basically can't install anything right now. I have 37 GB free space on my disk ( it's a small USB drive).
So here's what I did so far.
uname - r
4.10.0-42-generic
awk '/^ii/{ print $2}' | grep -v -e uname -r | cut -f1,2 -d"-"
| grep -e '[0-9]'
linux-headers-4.10.0-28 linux-headers-4.10.0-28-generic
linux-headers-4.10.0-37 linux-headers-4.10.0-37-generic
linux-headers-4.10.0-38 linux-headers-4.10.0-38-generic
linux-headers-4.10.0-40 linux-headers-4.10.0-40-generic
linux-headers-4.4.0-103 linux-headers-4.4.0-103-generic
linux-headers-4.4.0-104 linux-headers-4.4.0-104-generic
linux-headers-4.4.0-98 linux-headers-4.4.0-98-generic
linux-image-4.10.0-28-generic linux-image-4.10.0-37-generic
linux-image-4.10.0-38-generic linux-image-4.10.0-40-generic
linux-image-4.4.0-103-generic linux-image-4.4.0-104-generic
linux-image-4.4.0-98-generic
sudo apt-get -y purge
Reading package lists... Done
Building dependency tree
Reading state information... Done
You might want to run 'apt-get -f install' to correct these.
The following packages have unmet dependencies:
linux-image-extra-4.4.0-109-generic : Depends: linux-image-4.4.0-109-generic but it is not installed
linux-image-extra-4.4.0-116-generic : Depends: linux-image-4.4.0-116-generic but it is not installed
linux-image-generic : Depends: linux-image-4.4.0-116-generic but it is not installed
E: Unmet dependencies. Try using -f.
This is one thing I tried and it's basically always showing unmet dependencies no matter what type of solution I'm trying to go for. I really don't know what I'm doing anyway, just want to free space on /boot.
sudo apt-get install aptitude
[sudo] password for someone:
Reading package lists... Done
Building dependency tree
Reading state information... Done
You might want to run 'apt-get -f install' to correct these:
The following packages have unmet dependencies:
aptitude : Depends: aptitude-common (= 0.7.4-2ubuntu2) but it is not going to be installed
Depends: libcwidget3v5 but it is not going to be installed
linux-image-extra-4.4.0-109-generic : Depends: linux-image-4.4.0-109-generic but it is not going to be installed
linux-image-extra-4.4.0-116-generic : Depends: linux-image-4.4.0-116-generic but it is not going to be installed
linux-image-generic : Depends: linux-image-4.4.0-116-generic but it is not going to be installed
E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).
df
. – xiota May 06 '18 at 18:03