Tentando desinstalar pacotes vmware, mas recebendo o erro 'dependências não atendidas'

2

Então quando eu faço dpkg --get-selections | grep vmware eu recebo ...

vmware-tools-core               install
vmware-tools-esx-nox                install
vmware-tools-foundation             install
vmware-tools-guestlib               purge
vmware-tools-libraries-nox          install
vmware-tools-plugins-autoupgrade        install
vmware-tools-plugins-deploypkg          install
vmware-tools-plugins-guestinfo          install
vmware-tools-plugins-hgfsserver         install
vmware-tools-plugins-powerops           install
vmware-tools-plugins-timesync           install
vmware-tools-plugins-vix            install
vmware-tools-plugins-vmbackup           install
vmware-tools-services               install

Eu gostaria de removê-los. Então, por exemplo, quando eu faço ...

sudo apt-get -f remove vmware-tools-core

Eu recebo ...

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-virtual : Depends: linux-image-3.2.0-57-virtual but it is not going to be installed
 linux-server : Depends: linux-headers-server (= 3.2.0.56.66) but 3.2.0.57.68 is to be installed
 vmware-tools-esx-nox : Depends: vmware-tools-core (>= 9.0.5) but it is not going to be installed
 vmware-tools-plugins-autoupgrade : Depends: vmware-tools-core-9.0.5
 vmware-tools-plugins-deploypkg : Depends: vmware-tools-core-9.0.5
 vmware-tools-plugins-guestinfo : Depends: vmware-tools-core-9.0.5
 vmware-tools-plugins-hgfsserver : Depends: vmware-tools-core-9.0.5
 vmware-tools-plugins-powerops : Depends: vmware-tools-core-9.0.5
 vmware-tools-plugins-timesync : Depends: vmware-tools-core-9.0.5
 vmware-tools-plugins-vix : Depends: vmware-tools-core-9.0.5
 vmware-tools-plugins-vmbackup : Depends: vmware-tools-core-9.0.5
 vmware-tools-services : Depends: vmware-tools-core-9.0.5
E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).

Se eu executar apt-get -f install , obtenho ...

After this operation, 36.3 MB of additional disk space will be used.
Do you want to continue [Y/n]? 
(Reading database ... 464964 files and directories currently installed.)
Unpacking linux-image-3.2.0-57-virtual (from .../linux-image-3.2.0-57-virtual_3.2.0-57.87_amd64.deb) ...
Done.
dpkg: error processing /var/cache/apt/archives/linux-image-3.2.0-57-virtual_3.2.0-57.87_amd64.deb (--unpack):
 failed in write on buffer copy for backend dpkg-deb during './boot/abi-3.2.0-57-virtual': 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)
Examining /etc/kernel/postrm.d .
run-parts: executing /etc/kernel/postrm.d/initramfs-tools 3.2.0-57-virtual /boot/vmlinuz-3.2.0-57-virtual
run-parts: executing /etc/kernel/postrm.d/zz-update-grub 3.2.0-57-virtual /boot/vmlinuz-3.2.0-57-virtual
Errors were encountered while processing:
 /var/cache/apt/archives/linux-image-3.2.0-57-virtual_3.2.0-57.87_amd64.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
johnmlocklear@vweb-dev:~$ sudo apt-get autoremove
Reading package lists... Done
Building dependency tree       

Aqui está a saída do dpkg -l 'linux *' link

Meu objetivo é remover os pacotes de ferramentas VMware. Qualquer ajuda apreciada ...

    
por Lumbee 04.12.2013 / 18:31

2 respostas

1

Seu problema é duplo. Primeiro, você tem /boot cheio de scrub. Você precisa esfregar! Execute dpkg -l 'linux*' e remova os kernels antigos não utilizados. Isso resolverá o problema sudo apt-get -f install . O próximo é necessário remover todos os pacotes de uma só vez:

sudo apt-get remove linux-image-server linux-server linux-image-3.2.0-48-virtual linux-image-3.2.0-51-generic linux-image-3.2.0-51-virtual  linux-image-3.2.0-52-generic linux-image-3.2.0-52-virtual linux-image-3.2.0-53-generic linux-image-3.2.0-53-virtual linux-image-3.2.0-56-generic linux-image-3.2.0-56-virtual
sudo apt-get -f install
sudo apt-get autoremove  vmware-tools-esx-nox vmware-tools-services vmware-tools-plugins-* vmware-tools-core
sudo apt-get install linux-server linux-headers-server

Isso deve resolver seu problema

    
por Braiam 04.12.2013 / 18:42
-1

Eu tenho o mesmo problema e encontrei algumas informações úteis sobre este site (em francês).

Quando eu fiz um comando di -f , descobri que todos os i-nodes estavam sendo usados (100%, por favor corrija-me se estou dizendo algo errado).

Você deve tentar esvaziar /usr/src e ver se funciona.

EDIT: acabou de testar esta solução e deu certo, eu deletei algumas pastas em /urs/src e então eu pude executar o comando apt-get -f install .

    
por DarkRaven 05.12.2013 / 23:08