First
-----

Don't touch the [tag:kernel], please, if you need space there's other places you can chop and vandalize. There's a reason you always have two version of the [tag:kernel] in the system. And [tag:apt] always tells you to remove the old (3rd one) when you upgrade it.


Second
------

[tag:apt] has space to fix itself, why didn't you answer `Y` *(yes)* when you ran `sudo apt install -f`?

Just run

    sudo apt install -f

answer *yes*, and then run

    sudo apt autoremove


----------


Now if you want to make space...

Run the command as [tag:root]

    # du -h / -d 1 --exclude=/home

or with `sudo`

    $ sudo du -h / -d 1 --exclude=/home

*(choose one)*

There we could see which directory uses more space, I bet and probably is `/var`. The moment you provide that feedback we can continue. Because the nature of you problem is space and I can't tell you to run commands that need space to work.

I could tell you, as an answer, to shrink `/home` to give more space to `/`, but that will need a lot of time and you could lose data in the process, so the best way _now_ is to go step by step. You more than an answer need a solution and I can help you if you keep giving us the information.

One thing is sure, you have space to make. No way you need 19 Gigs in the root mount point


----------

3
-

Run this command and paste the output please:

    $ df -ih

And also as root run this

    $ sudo su
    # for i in /*; do echo $i; find $i |wc -l; done
    # exit


----------

4
-

Now (after you ran `du` on `/`) please run:

     $ sudo du -h /lib/ -d 1

Also, we started to see what's your problem. Looks like you are out of `inodes` on `/`. I need to check what's on `/lib` and then we can start to do some stuff


----------

5
-

Run every command and paste each output separately:

    $ sudo du -h /lib/modules/* -d 1
    
    $ ls -la /lib/modules/
    
    $ uname -r
    
    $ dpkg --list | grep linux-image

    $ awk -F\' '/menuentry / {print $2}' /boot/grub/grub.cfg

Run as root

    $ sudo su
    # for i in /usr/*; do echo $i; find $i |wc -l; done
    # exit

----------


6
-

Run this

`sudo dpkg --purge --force-depends,remove-reinstreq linux-image-3.13.0-101-generic linux-image-3.13.0-105-generic linux-image-3.13.0-106-generic linux-image-3.13.0-107-generic linux-image-3.13.0-108-generic linux-image-3.13.0-110-generic linux-image-3.13.0-112-generic linux-image-3.13.0-113-generic linux-image-3.13.0-115-generic linux-image-3.13.0-116-generic linux-image-3.13.0-117-generic linux-image-3.13.0-119-generic linux-image-3.13.0-121-generic linux-image-3.13.0-123-generic linux-image-3.13.0-125-generic linux-image-3.13.0-126-generic linux-image-3.13.0-128-generic linux-image-3.13.0-129-generic linux-image-3.13.0-132-generic linux-image-3.13.0-133-generic linux-image-3.13.0-135-generic linux-image-3.13.0-137-generic linux-image-3.13.0-139-generic linux-image-3.13.0-141-generic linux-image-3.13.0-142-generic linux-image-3.13.0-143-generic linux-image-3.13.0-144-generic linux-image-3.13.0-145-generic linux-image-3.13.0-147-generic linux-image-3.13.0-45-generic linux-image-3.13.0-57-generic linux-image-3.13.0-74-generic linux-image-3.13.0-85-generic`

_I left the current and the last two versions_

[![dpkg-console-command][1]][1]
(paste the output)


----------

7
-

If you ran **6**, you should have only 3 kernel entries now

Let's check, run this:

    dpkg --list | grep linux-image


----------

8
-

Remove kernels leftovers (from 6)

`sudo dpkg --purge --force-depends,remove-reinstreq linux-image-extra-3.13.0-116-generic linux-image-extra-3.13.0-119-generic linux-image-extra-3.13.0-121-generic linux-image-extra-3.13.0-123-generic linux-image-extra-3.13.0-125-generic linux-image-extra-3.13.0-126-generic linux-image-extra-3.13.0-128-generic linux-image-extra-3.13.0-129-generic linux-image-extra-3.13.0-132-generic linux-image-extra-3.13.0-133-generic linux-image-extra-3.13.0-135-generic linux-image-extra-3.13.0-137-generic linux-image-extra-3.13.0-139-generic linux-image-extra-3.13.0-141-generic linux-image-extra-3.13.0-142-generic linux-image-extra-3.13.0-143-generic linux-image-extra-3.13.0-144-generic linux-image-extra-3.13.0-145-generic linux-image-extra-3.13.0-147-generic linux-image-extra-3.13.0-45-generic linux-image-extra-3.13.0-57-generic linux-image-extra-3.13.0-74-generic linux-image-extra-3.13.0-85-generic linux-image-extra-3.13.0-105-generic linux-image-extra-3.13.0-106-generic linux-image-extra-3.13.0-107-generic linux-image-extra-3.13.0-108-generic linux-image-extra-3.13.0-110-generic linux-image-extra-3.13.0-112-generic linux-image-extra-3.13.0-113-generic linux-image-extra-3.13.0-115-generic linux-modules-3.13.0-116-generic linux-modules-3.13.0-119-generic linux-modules-3.13.0-121-generic linux-modules-3.13.0-123-generic linux-modules-3.13.0-125-generic linux-modules-3.13.0-126-generic linux-modules-3.13.0-128-generic linux-modules-3.13.0-129-generic linux-modules-3.13.0-132-generic linux-modules-3.13.0-133-generic linux-modules-3.13.0-135-generic linux-modules-3.13.0-137-generic linux-modules-3.13.0-139-generic linux-modules-3.13.0-141-generic linux-modules-3.13.0-142-generic linux-modules-3.13.0-143-generic linux-modules-3.13.0-144-generic linux-modules-3.13.0-145-generic linux-modules-3.13.0-147-generic linux-modules-3.13.0-45-generic linux-modules-3.13.0-57-generic linux-modules-3.13.0-74-generic linux-modules-3.13.0-85-generic linux-modules-3.13.0-105-generic linux-modules-3.13.0-106-generic linux-modules-3.13.0-107-generic linux-modules-3.13.0-108-generic linux-modules-3.13.0-110-generic linux-modules-3.13.0-112-generic linux-modules-3.13.0-113-generic linux-modules-3.13.0-115-generic linux-headers-3.13.0-116-generic linux-headers-3.13.0-119-generic linux-headers-3.13.0-121-generic linux-headers-3.13.0-123-generic linux-headers-3.13.0-125-generic linux-headers-3.13.0-126-generic linux-headers-3.13.0-128-generic linux-headers-3.13.0-129-generic linux-headers-3.13.0-132-generic linux-headers-3.13.0-133-generic linux-headers-3.13.0-135-generic linux-headers-3.13.0-137-generic linux-headers-3.13.0-139-generic linux-headers-3.13.0-141-generic linux-headers-3.13.0-142-generic linux-headers-3.13.0-143-generic linux-headers-3.13.0-144-generic linux-headers-3.13.0-145-generic linux-headers-3.13.0-147-generic linux-headers-3.13.0-45-generic linux-headers-3.13.0-57-generic linux-headers-3.13.0-74-generic linux-headers-3.13.0-85-generic linux-headers-3.13.0-105-generic linux-headers-3.13.0-106-generic linux-headers-3.13.0-107-generic linux-headers-3.13.0-108-generic linux-headers-3.13.0-110-generic linux-headers-3.13.0-112-generic linux-headers-3.13.0-113-generic linux-headers-3.13.0-115-generic linux-headers-3.13.0-123 linux-headers-3.13.0-125 linux-headers-3.13.0-126 linux-headers-3.13.0-128 linux-headers-3.13.0-129 linux-headers-3.13.0-132 linux-headers-3.13.0-133 linux-headers-3.13.0-135 linux-headers-3.13.0-137 linux-headers-3.13.0-139 linux-headers-3.13.0-141 linux-headers-3.13.0-142 linux-headers-3.13.0-143 linux-headers-3.13.0-144 linux-headers-3.13.0-145 linux-headers-3.13.0-147 linux-headers-3.13.0-45 linux-headers-3.13.0-57 linux-headers-3.13.0-74 linux-headers-3.13.0-85 linux-headers-3.13.0-105 linux-headers-3.13.0-106 linux-headers-3.13.0-107 linux-headers-3.13.0-108 linux-headers-3.13.0-110 linux-headers-3.13.0-112 linux-headers-3.13.0-113 linux-headers-3.13.0-115`

Now, let's try

    sudo apt install -f

----------


----------


Pastebin | A Simple How-To
--------

 1. Copy the text from your computer. Include as much as you can.
 2. Visit https://pastebin.com/
 3. Paste your text into the big text box.
 4. Click the submit button. The button where it says "Create New Paste"
 5. The browser will take you to a new page.  The address (URL) of the page is unique. You can copy the address from the address bar, and share it with others, and they will be able to see the text you pasted.

  [1]: https://i.sstatic.net/hG0ey.png