leebrent
October 6th, 2016, 05:21 AM
Having some troubles updating a box I inherited, tried a few things on google with little success, so here I am:
brent@eblend:~$ sudo apt-get install -f
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages will be REMOVED:
mdadm
0 upgraded, 0 newly installed, 1 to remove and 105 not upgraded.
1 not fully installed or removed.
After this operation, 1,201 kB disk space will be freed.
Do you want to continue? [Y/n] y
(Reading database ... 153576 files and directories currently installed.)
Removing mdadm (3.3-2ubuntu7.1) ...
/var/lib/dpkg/info/mdadm.postrm: 10: /var/lib/dpkg/info/mdadm.postrm: update-initramfs: not found
dpkg: error processing package mdadm (--remove):
subprocess installed post-removal script returned error exit status 127
Errors were encountered while processing:
mdadm
E: Sub-process /usr/bin/dpkg returned an error code (1)
Any help would be appreciated.
brent@eblend:~$ sudo apt-get install -f
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages will be REMOVED:
mdadm
0 upgraded, 0 newly installed, 1 to remove and 105 not upgraded.
1 not fully installed or removed.
After this operation, 1,201 kB disk space will be freed.
Do you want to continue? [Y/n] y
(Reading database ... 153576 files and directories currently installed.)
Removing mdadm (3.3-2ubuntu7.1) ...
/var/lib/dpkg/info/mdadm.postrm: 10: /var/lib/dpkg/info/mdadm.postrm: update-initramfs: not found
dpkg: error processing package mdadm (--remove):
subprocess installed post-removal script returned error exit status 127
Errors were encountered while processing:
mdadm
E: Sub-process /usr/bin/dpkg returned an error code (1)
Any help would be appreciated.