My mdadm package is not fully installed, when I run
sudo apt-get upgrade, I see the following error message:
Setting up mdadm (3.3-2ubuntu7.1) ... dpkg: error processing package mdadm (--configure): subprocess installed post-installation script returned error exit status 20 Errors were encountered while processing: mdadm E: Sub-process /usr/bin/dpkg returned an error code (1)
I tried to purge mdadm with
dpkg --purge mdadm to reinstall it later, but the system tells me:
ubuntu-server is dependent on mdadm.
I already tried the solutions suggested by http://www.iasptk.com/ubuntu-fix-broken-package-best-solution/
sudo apt-get update –fix-missing sudo dpkg –configure -a sudo apt-get -f install
I also tried to edit the dpkg-status-file manually and removed the block of information about mdadm, the error still remains.
Any help is very appreciated...
I'm running Ubuntu 16.04 LTS with Linux 4.4.0-24-generic on x86_64.