I can't update to -ubuntu3:

[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.
1 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]? y
Preconfiguring packages ...
(Reading database ... 123075 files and directories currently installed.)
Preparing to replace mdadm 2.4.1-6ubuntu2 (using 
.../mdadm_2.4.1-6ubuntu3_i386.deb) ...
/etc/init.d/mdadm-raid: 218: loop: parameter not set
invoke-rc.d: initscript mdadm-raid, action "stop" failed.
dpkg: warning - old pre-removal script returned error exit status 2
dpkg - trying script from the new package instead ...
/etc/init.d/mdadm: 60: loop: parameter not set
invoke-rc.d: initscript mdadm, action "stop" failed.
dpkg: error processing /var/cache/apt/archives/mdadm_2.4.1-6ubuntu3_i386.deb 
(--unpack):
 subprocess new pre-removal script returned error exit status 2
/etc/init.d/mdadm-raid: 218: loop: parameter not set
invoke-rc.d: initscript mdadm-raid, action "start" failed.
dpkg: error while cleaning up:
 subprocess post-installation script returned error exit status 2
Errors were encountered while processing:
 /var/cache/apt/archives/mdadm_2.4.1-6ubuntu3_i386.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
[EMAIL PROTECTED]:~$ 


SInce I don't run a RAID, i actually don't need it, but I can't uninstall it 
eather:

[EMAIL PROTECTED]:~$ sudo apt-get remove mdadm
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following packages were automatically installed and are no longer required:
  mdadm
Use 'apt-get autoremove' to remove them.
The following packages will be REMOVED:
  mdadm
0 upgraded, 0 newly installed, 1 to remove and 0 not upgraded.
1 not fully installed or removed.
Need to get 0B of archives.
After unpacking 463kB disk space will be freed.
Do you want to continue [Y/n]? y
dpkg: error processing mdadm (--remove):
 Package is in a very bad inconsistent state - you should
 reinstall it before attempting a removal.
terminate called after throwing an instance of 'std::logic_error'
  what():  basic_string::_S_construct NULL not valid
Aborted (core dumped)
[EMAIL PROTECTED]:~$ Errors were encountered while processing:
 mdadm

-- 
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

Reply via email to