Public bug reported: Binary package hint: mdadm
I've upgraded to edgy and just today-ish a new mdadm package came out. I can't upgrade it, because /etc/init.d/mdadm-raid fails while trying to stop /dev/md0 and /dev/md1. Trying to do a mdadm -S /dev/md0 fails as well, even though it is not mounted and no processes (apparently) hold it open - it fails with "Device or resource busy". I tried to boot into singleuser, and the same thing happens. Booting with init=/bin/bash left me at the initramfs, where it was indeed possible to mdadm -S the arrays but it was not possible to upgrade mdadm (as I did not have the root fs mounted) For some reason booting with the "emergency" kernel option doesn't seem to work anymore, it does a normal boot instead. [EMAIL PROTECTED]:~$ sudo apt-get upgrade Reading package lists... Done Building dependency tree Reading state information... Done The following packages will be upgraded: mdadm 1 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 29 not fully installed or removed. Need to get 0B/152kB of archives. After unpacking 0B of additional disk space will be used. Do you want to continue [Y/n]? Preconfiguring packages ... (Reading database ... 162878 files and directories currently installed.) Preparing to replace mdadm 2.4.1-6ubuntu1 (using .../mdadm_2.4.1-6ubuntu2_amd64.deb) ... * Stopping RAID array md1... ...fail! * Stopping RAID array md0... ...fail! invoke-rc.d: initscript mdadm-raid, action "stop" failed. dpkg: warning - old pre-removal script returned error exit status 1 dpkg - trying script from the new package instead ... * Stopping RAID array md1... ...fail! * Stopping RAID array md0... ...fail! invoke-rc.d: initscript mdadm-raid, action "stop" failed. dpkg: error processing /var/cache/apt/archives/mdadm_2.4.1-6ubuntu2_amd64.deb (--unpack): subprocess new pre-removal script returned error exit status 1 * Assembling RAID arrays... ...done. * Starting RAID monitoring service mdadm --monitor /sbin/mdadm already running. ...fail! Errors were encountered while processing: /var/cache/apt/archives/mdadm_2.4.1-6ubuntu2_amd64.deb E: Sub-process /usr/bin/dpkg returned an error code (1) ** Affects: mdadm (Ubuntu) Importance: Untriaged Status: Unconfirmed -- Upgrading mdadm package is impossible - can't upgrade while raid arrays active https://launchpad.net/bugs/60623 -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs