This question already has an answer here:
I can't do anything with apt-get because there are a stupid package that blocks it from working. This is what happens:
$ sudo apt-get upgrade 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: gimp-help-sv : Depends: gimp-help-common (= 1:2.8-0precise8~ppa) but 1:2.8-0precise16~ppa is installed E: Unmet dependencies. Try using -f.
Ok, I guess I run
apt-get -f install then.
$ sudo apt-get -f install Reading package lists... Done Building dependency tree Reading state information... Done Correcting dependencies... Done The following package was automatically installed and is no longer required: icedtea-netx-common Use 'apt-get autoremove' to remove them. The following extra packages will be installed: gimp-help-sv The following packages will be upgraded: gimp-help-sv 1 upgraded, 0 newly installed, 0 to remove and 27 not upgraded. Need to get 0 B/29.6 MB of archives. After this operation, 0 B of additional disk space will be used. Do you want to continue [Y/n]? (Reading database ... 803609 files and directories currently installed.) Preparing to replace gimp-help-sv 1:2.8-0precise8~ppa (using .../gimp-help-sv_1%3a2.8-0precise16~ppa_all.deb) ... Unpacking replacement gimp-help-sv ... dpkg: error processing /var/cache/apt/archives/gimp-help-sv_1%3a2.8-0precise16~ppa_all.deb (--unpack): unable to create `/usr/share/gimp/2.0/help/sv/gimp-tool-crop.html.dpkg-new' (while processing `./usr/share/gimp/2.0/help/sv/gimp-tool-crop.html'): No space left on device No apport report written because the error message indicates a disk full error dpkg-deb: error: subprocess paste was killed by signal (Broken pipe) Errors were encountered while processing: /var/cache/apt/archives/gimp-help-sv_1%3a2.8-0precise16~ppa_all.deb E: Sub-process /usr/bin/dpkg returned an error code (1)
Ok. But it can't be that I've ran out of space?
$ df -H Filesystem Size Used Avail Use% Mounted on /dev/sda2 15G 11G 3.1G 79% / udev 2.1G 4.1k 2.1G 1% /dev tmpfs 828M 1.1M 827M 1% /run none 5.3M 0 5.3M 0% /run/lock none 2.1G 316k 2.1G 1% /run/shm /dev/sda5 125G 103G 16G 88% /home
This is what happens whatever I am trying to do. How can I get rid of those stupid messages?