O Mdadm bloqueia o upgrade do apt-get

0

Então

O Mdadm parece causar um erro ao tentar atualizar pacotes. apt-get upgrade resulta em:

Reading package lists... Done
Building dependency tree
Reading state information... Done
Calculating upgrade... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
1 not fully installed or removed.
After this operation, 0 B of additional disk space will be used.
Do you want to continue? [Y/n] y
Setting up mdadm (3.3-2ubuntu7.2) ...
dpkg: error processing package mdadm (--configure):
 subprocess installed post-installation script returned error exit status 128
Errors were encountered while processing:
 mdadm
E: Sub-process /usr/bin/dpkg returned an error code (1)

O mesmo erro está me limitando a instalar, por exemplo meld sudo apt-get install meld

também resulta em

Processing triggers for libc-bin (2.23-0ubuntu7) ...
Errors were encountered while processing:
 mdadm
E: Sub-process /usr/bin/dpkg returned an error code (1)

Eu tentei pacote quebrado, mas não posso purgar ou reinstalar! sem sucesso.

apt-get -f install dá:

Reading package lists... Done
Building dependency tree
Reading state information... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
1 not fully installed or removed.
After this operation, 0 B of additional disk space will be used.
Setting up mdadm (3.3-2ubuntu7.2) ...
dpkg: error processing package mdadm (--configure):
subprocess installed post-installation script returned error exit status 128
Errors were encountered while processing:
  mdadm
E: Sub-process /usr/bin/dpkg returned an error code (1)

Alguma ideia sobre o que fazer? Estou no Ubuntu Server 16.04.2 LTS

    
por Axel Johansson 11.06.2017 / 13:19

1 resposta

0

Ok, resolvido pela remoção do pacote mdadm :

sudo apt-get install -f mdadm-

Por precaução, executei uma atualização de pacote:

sudo apt-get update && sudo apt-get upgrade
    
por Axel Johansson 12.06.2017 / 09:13