Não é possível instalar ou remover o pacote

0

Esta mensagem específica é exibida no terminal

$ sudo apt-get remove bio-linux-cdbfasta
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following packages will be REMOVED:
  bio-linux-cdbfasta
0 upgraded, 0 newly installed, 1 to remove and 0 not upgraded.
1 not fully installed or removed.
After this operation, 311 kB disk space will be freed.
Do you want to continue? [Y/n] y
(Reading database ... 230300 files and directories currently installed.)
Removing bio-linux-cdbfasta (1:20100722bl-3) ...
Finished removing Bio-Linux package: bio-linux-cdbfasta
/var/lib/dpkg/info/bio-linux-cdbfasta.postrm: 3: /var/lib/dpkg/info/bio-linux-
cdbfasta.postrm: /usr/bin/update-menus: not found
dpkg: error processing package bio-linux-cdbfasta (--remove):
 subprocess installed post-removal script returned error exit status 127
Errors were encountered while processing:
 bio-linux-cdbfasta
E: Sub-process /usr/bin/dpkg returned an error code (1)
    
por arpit shukla 02.04.2015 / 13:58

1 resposta

0

O script de pós-remoção de bio-linux-cdbfasta requer um programa /usr/bin/update-menus , que está faltando na sua configuração. Por favor, reinstale seu pacote menu . Infelizmente, você não pode simplesmente usar

sudo apt-get install --reinstall menu

porque apt-get primeiro tentará remover todos os pacotes removidos pela metade, o que atualmente falha. Portanto, você precisará fazer o download manualmente (ou encontrá-lo em /var/cache/apt/archives/ ) e instalá-lo:

apt-get download menu
sudo dpkg -i menu_*.deb

Depois, você poderá desinstalar bio-linux-cdbfasta normalmente.

    
por David Foerster 02.04.2015 / 14:04