Preso ao tentar instalar / atualizar pacotes [duplicado]

0

Eu não posso fazer nada com o apt-get porque existe um pacote estúpido que o impede de funcionar. Isso é o que acontece:

$ 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, eu acho que corro apt-get -f install então.

$ 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. Mas não pode ser que eu tenha ficado sem espaço?

$ 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

Isso é o que acontece seja o que for que eu esteja tentando fazer. Como posso me livrar dessas mensagens idiotas?

    
por Niclas Nilsson 19.08.2013 / 22:16

1 resposta

2

Tudo o que eu tive que fazer foi executar:

sudo dpkg --purge --force-depends "gimp*"

A solução foi realmente nesta pergunta anterior .

    
por Niclas Nilsson 19.08.2013 / 22:30