[Bug 60623] Re: Upgrading mdadm package is impossible - can't upgrade while raid arrays active

2006-09-15 Thread Giuseppe Iuculano
** Changed in: mdadm (Ubuntu)
   Status: Unconfirmed => Confirmed

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


[Bug 60623] Re: Upgrading mdadm package is impossible - can't upgrade while raid arrays active

2006-09-15 Thread Jools Smyth
I'm also having this problem. It tries to stop my "root" raid, which of
course is impossible whilst it's in use.

A developer on irc said they need to disable the stop call in preinst.
and to check how they did it for version 2.5 in Debian.

Would have been nice too if we got a newer mdadm for edgy, rather than a
version from April this year. Especially since the edgy kernel has new
features some of which work better with a newer 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


[Bug 60623] Re: Upgrading mdadm package is impossible - can't upgrade while raid arrays active

2006-09-15 Thread Jools Smyth
I managed to upgrade by moving /etc/init.d/mdadm-raid and replacing with
an empty script, upgrading and then moving it back.

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


[Bug 60623] Re: Upgrading mdadm package is impossible - can't upgrade while raid arrays active

2006-09-15 Thread Scott Kitterman
Moving mdadm-raid as in the previous comment worked for me too.

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


[Bug 60623] Re: Upgrading mdadm package is impossible - can't upgrade while raid arrays active

2006-09-16 Thread Holger Bauer
I get the error to on upgrading mdadm, but I don't have a raid.

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


[Bug 60623] Re: Upgrading mdadm package is impossible - can't upgrade while raid arrays active

2006-09-17 Thread Alex Muntada
Same as Holger Bauer here: no raid, but mdadm upgrade doesn't complete
beacuse "mdadm-raid stop" always fails.

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


[Bug 60623] Re: Upgrading mdadm package is impossible - can't upgrade while raid arrays active

2006-09-17 Thread Brett A. Taylor
I can also confirm this problem. Temporarily removing /etc/init.d/mdadm-
raid seems to have worked fine for me as well.

I suggest this get marked with a higher priority.

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


[Bug 60623] Re: Upgrading mdadm package is impossible - can't upgrade while raid arrays active

2006-09-17 Thread Fabio Massimo Di Nitto
I just uploaded mdadm ubuntu3 that will address this issue. It will be
available in the archive within a few hours.

Fabio

** Changed in: mdadm (Ubuntu)
   Status: Confirmed => Fix Released

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


[Bug 60623] Re: Upgrading mdadm package is impossible - can't upgrade while raid arrays active

2006-09-18 Thread Scott Kitterman
Thanks.  I can confirm that the new package installed just fine for me
on the same machine that had had a problem with the previous update.

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


[Bug 60623] Re: Upgrading mdadm package is impossible - can't upgrade while raid arrays active

2006-09-18 Thread Brett A. Taylor
I can also confirm the new package works. Thanks for the fast response.

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


[Bug 60623] Re: Upgrading mdadm package is impossible - can't upgrade while raid arrays active

2006-09-21 Thread Michaël Arnauts
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


[Bug 60623] Re: Upgrading mdadm package is impossible - can't upgrade while raid arrays active

2006-09-21 Thread Michaël Arnauts
I've managed to upgraded it by renaming /etc/init.d/mdadm* and renaming
them back afterwards

Removing then didn't work eather, and i had to rename them again, remove
the package, and remove the scripts for it to work.

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


[Bug 60623] Re: Upgrading mdadm package is impossible - can't upgrade while raid arrays active

2006-09-15 Thread Giuseppe Iuculano
** Changed in: mdadm (Ubuntu)
   Status: Unconfirmed => Confirmed

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


[Bug 60623] Re: Upgrading mdadm package is impossible - can't upgrade while raid arrays active

2006-09-15 Thread Jools Smyth
I'm also having this problem. It tries to stop my "root" raid, which of
course is impossible whilst it's in use.

A developer on irc said they need to disable the stop call in preinst.
and to check how they did it for version 2.5 in Debian.

Would have been nice too if we got a newer mdadm for edgy, rather than a
version from April this year. Especially since the edgy kernel has new
features some of which work better with a newer 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


[Bug 60623] Re: Upgrading mdadm package is impossible - can't upgrade while raid arrays active

2006-09-15 Thread Jools Smyth
I managed to upgrade by moving /etc/init.d/mdadm-raid and replacing with
an empty script, upgrading and then moving it back.

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


[Bug 60623] Re: Upgrading mdadm package is impossible - can't upgrade while raid arrays active

2006-09-15 Thread Scott Kitterman
Moving mdadm-raid as in the previous comment worked for me too.

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


[Bug 60623] Re: Upgrading mdadm package is impossible - can't upgrade while raid arrays active

2006-09-16 Thread Holger Bauer
I get the error to on upgrading mdadm, but I don't have a raid.

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


[Bug 60623] Re: Upgrading mdadm package is impossible - can't upgrade while raid arrays active

2006-09-17 Thread Alex Muntada
Same as Holger Bauer here: no raid, but mdadm upgrade doesn't complete
beacuse "mdadm-raid stop" always fails.

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


[Bug 60623] Re: Upgrading mdadm package is impossible - can't upgrade while raid arrays active

2006-09-17 Thread Brett A. Taylor
I can also confirm this problem. Temporarily removing /etc/init.d/mdadm-
raid seems to have worked fine for me as well.

I suggest this get marked with a higher priority.

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


[Bug 60623] Re: Upgrading mdadm package is impossible - can't upgrade while raid arrays active

2006-09-17 Thread Fabio Massimo Di Nitto
I just uploaded mdadm ubuntu3 that will address this issue. It will be
available in the archive within a few hours.

Fabio

** Changed in: mdadm (Ubuntu)
   Status: Confirmed => Fix Released

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


[Bug 60623] Re: Upgrading mdadm package is impossible - can't upgrade while raid arrays active

2006-09-18 Thread Scott Kitterman
Thanks.  I can confirm that the new package installed just fine for me
on the same machine that had had a problem with the previous update.

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


[Bug 60623] Re: Upgrading mdadm package is impossible - can't upgrade while raid arrays active

2006-09-18 Thread Brett A. Taylor
I can also confirm the new package works. Thanks for the fast response.

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


[Bug 60623] Re: Upgrading mdadm package is impossible - can't upgrade while raid arrays active

2006-09-21 Thread Michaël Arnauts
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


[Bug 60623] Re: Upgrading mdadm package is impossible - can't upgrade while raid arrays active

2006-09-21 Thread Michaël Arnauts
I've managed to upgraded it by renaming /etc/init.d/mdadm* and renaming
them back afterwards

Removing then didn't work eather, and i had to rename them again, remove
the package, and remove the scripts for it to work.

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


[Bug 60623] Re: Upgrading mdadm package is impossible - can't upgrade while raid arrays active

2006-09-15 Thread Giuseppe Iuculano
** Changed in: mdadm (Ubuntu)
   Status: Unconfirmed => Confirmed

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


[Bug 60623] Re: Upgrading mdadm package is impossible - can't upgrade while raid arrays active

2006-09-15 Thread Jools Smyth
I'm also having this problem. It tries to stop my "root" raid, which of
course is impossible whilst it's in use.

A developer on irc said they need to disable the stop call in preinst.
and to check how they did it for version 2.5 in Debian.

Would have been nice too if we got a newer mdadm for edgy, rather than a
version from April this year. Especially since the edgy kernel has new
features some of which work better with a newer 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


[Bug 60623] Re: Upgrading mdadm package is impossible - can't upgrade while raid arrays active

2006-09-15 Thread Jools Smyth
I managed to upgrade by moving /etc/init.d/mdadm-raid and replacing with
an empty script, upgrading and then moving it back.

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


[Bug 60623] Re: Upgrading mdadm package is impossible - can't upgrade while raid arrays active

2006-09-15 Thread Scott Kitterman
Moving mdadm-raid as in the previous comment worked for me too.

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


[Bug 60623] Re: Upgrading mdadm package is impossible - can't upgrade while raid arrays active

2006-09-16 Thread Holger Bauer
I get the error to on upgrading mdadm, but I don't have a raid.

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


[Bug 60623] Re: Upgrading mdadm package is impossible - can't upgrade while raid arrays active

2006-09-17 Thread Alex Muntada
Same as Holger Bauer here: no raid, but mdadm upgrade doesn't complete
beacuse "mdadm-raid stop" always fails.

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


[Bug 60623] Re: Upgrading mdadm package is impossible - can't upgrade while raid arrays active

2006-09-17 Thread Brett A. Taylor
I can also confirm this problem. Temporarily removing /etc/init.d/mdadm-
raid seems to have worked fine for me as well.

I suggest this get marked with a higher priority.

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


[Bug 60623] Re: Upgrading mdadm package is impossible - can't upgrade while raid arrays active

2006-09-17 Thread Fabio Massimo Di Nitto
I just uploaded mdadm ubuntu3 that will address this issue. It will be
available in the archive within a few hours.

Fabio

** Changed in: mdadm (Ubuntu)
   Status: Confirmed => Fix Released

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


[Bug 60623] Re: Upgrading mdadm package is impossible - can't upgrade while raid arrays active

2006-09-18 Thread Scott Kitterman
Thanks.  I can confirm that the new package installed just fine for me
on the same machine that had had a problem with the previous update.

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


[Bug 60623] Re: Upgrading mdadm package is impossible - can't upgrade while raid arrays active

2006-09-18 Thread Brett A. Taylor
I can also confirm the new package works. Thanks for the fast response.

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


[Bug 60623] Re: Upgrading mdadm package is impossible - can't upgrade while raid arrays active

2006-09-21 Thread Michaël Arnauts
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


[Bug 60623] Re: Upgrading mdadm package is impossible - can't upgrade while raid arrays active

2006-09-21 Thread Michaël Arnauts
I've managed to upgraded it by renaming /etc/init.d/mdadm* and renaming
them back afterwards

Removing then didn't work eather, and i had to rename them again, remove
the package, and remove the scripts for it to work.

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


[Bug 60623] Re: Upgrading mdadm package is impossible - can't upgrade while raid arrays active

2006-09-15 Thread Giuseppe Iuculano
** Changed in: mdadm (Ubuntu)
   Status: Unconfirmed => Confirmed

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


[Bug 60623] Re: Upgrading mdadm package is impossible - can't upgrade while raid arrays active

2006-09-15 Thread Jools Smyth
I'm also having this problem. It tries to stop my "root" raid, which of
course is impossible whilst it's in use.

A developer on irc said they need to disable the stop call in preinst.
and to check how they did it for version 2.5 in Debian.

Would have been nice too if we got a newer mdadm for edgy, rather than a
version from April this year. Especially since the edgy kernel has new
features some of which work better with a newer 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


[Bug 60623] Re: Upgrading mdadm package is impossible - can't upgrade while raid arrays active

2006-09-15 Thread Jools Smyth
I managed to upgrade by moving /etc/init.d/mdadm-raid and replacing with
an empty script, upgrading and then moving it back.

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


[Bug 60623] Re: Upgrading mdadm package is impossible - can't upgrade while raid arrays active

2006-09-15 Thread Scott Kitterman
Moving mdadm-raid as in the previous comment worked for me too.

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


[Bug 60623] Re: Upgrading mdadm package is impossible - can't upgrade while raid arrays active

2006-09-16 Thread Holger Bauer
I get the error to on upgrading mdadm, but I don't have a raid.

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


[Bug 60623] Re: Upgrading mdadm package is impossible - can't upgrade while raid arrays active

2006-09-17 Thread Alex Muntada
Same as Holger Bauer here: no raid, but mdadm upgrade doesn't complete
beacuse "mdadm-raid stop" always fails.

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


[Bug 60623] Re: Upgrading mdadm package is impossible - can't upgrade while raid arrays active

2006-09-17 Thread Brett A. Taylor
I can also confirm this problem. Temporarily removing /etc/init.d/mdadm-
raid seems to have worked fine for me as well.

I suggest this get marked with a higher priority.

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


[Bug 60623] Re: Upgrading mdadm package is impossible - can't upgrade while raid arrays active

2006-09-17 Thread Fabio Massimo Di Nitto
I just uploaded mdadm ubuntu3 that will address this issue. It will be
available in the archive within a few hours.

Fabio

** Changed in: mdadm (Ubuntu)
   Status: Confirmed => Fix Released

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


[Bug 60623] Re: Upgrading mdadm package is impossible - can't upgrade while raid arrays active

2006-09-18 Thread Scott Kitterman
Thanks.  I can confirm that the new package installed just fine for me
on the same machine that had had a problem with the previous update.

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


[Bug 60623] Re: Upgrading mdadm package is impossible - can't upgrade while raid arrays active

2006-09-18 Thread Brett A. Taylor
I can also confirm the new package works. Thanks for the fast response.

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


[Bug 60623] Re: Upgrading mdadm package is impossible - can't upgrade while raid arrays active

2006-09-21 Thread Michaël Arnauts
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


[Bug 60623] Re: Upgrading mdadm package is impossible - can't upgrade while raid arrays active

2006-09-21 Thread Michaël Arnauts
I've managed to upgraded it by renaming /etc/init.d/mdadm* and renaming
them back afterwards

Removing then didn't work eather, and i had to rename them again, remove
the package, and remove the scripts for it to work.

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


[Bug 60623] Re: Upgrading mdadm package is impossible - can't upgrade while raid arrays active

2006-09-15 Thread Giuseppe Iuculano
** Changed in: mdadm (Ubuntu)
   Status: Unconfirmed => Confirmed

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


[Bug 60623] Re: Upgrading mdadm package is impossible - can't upgrade while raid arrays active

2006-09-15 Thread Jools Smyth
I'm also having this problem. It tries to stop my "root" raid, which of
course is impossible whilst it's in use.

A developer on irc said they need to disable the stop call in preinst.
and to check how they did it for version 2.5 in Debian.

Would have been nice too if we got a newer mdadm for edgy, rather than a
version from April this year. Especially since the edgy kernel has new
features some of which work better with a newer 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


[Bug 60623] Re: Upgrading mdadm package is impossible - can't upgrade while raid arrays active

2006-09-15 Thread Jools Smyth
I managed to upgrade by moving /etc/init.d/mdadm-raid and replacing with
an empty script, upgrading and then moving it back.

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


[Bug 60623] Re: Upgrading mdadm package is impossible - can't upgrade while raid arrays active

2006-09-15 Thread Scott Kitterman
Moving mdadm-raid as in the previous comment worked for me too.

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


[Bug 60623] Re: Upgrading mdadm package is impossible - can't upgrade while raid arrays active

2006-09-16 Thread Holger Bauer
I get the error to on upgrading mdadm, but I don't have a raid.

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


[Bug 60623] Re: Upgrading mdadm package is impossible - can't upgrade while raid arrays active

2006-09-17 Thread Alex Muntada
Same as Holger Bauer here: no raid, but mdadm upgrade doesn't complete
beacuse "mdadm-raid stop" always fails.

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


[Bug 60623] Re: Upgrading mdadm package is impossible - can't upgrade while raid arrays active

2006-09-17 Thread Brett A. Taylor
I can also confirm this problem. Temporarily removing /etc/init.d/mdadm-
raid seems to have worked fine for me as well.

I suggest this get marked with a higher priority.

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


[Bug 60623] Re: Upgrading mdadm package is impossible - can't upgrade while raid arrays active

2006-09-17 Thread Fabio Massimo Di Nitto
I just uploaded mdadm ubuntu3 that will address this issue. It will be
available in the archive within a few hours.

Fabio

** Changed in: mdadm (Ubuntu)
   Status: Confirmed => Fix Released

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


[Bug 60623] Re: Upgrading mdadm package is impossible - can't upgrade while raid arrays active

2006-09-18 Thread Scott Kitterman
Thanks.  I can confirm that the new package installed just fine for me
on the same machine that had had a problem with the previous update.

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


[Bug 60623] Re: Upgrading mdadm package is impossible - can't upgrade while raid arrays active

2006-09-18 Thread Brett A. Taylor
I can also confirm the new package works. Thanks for the fast response.

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


[Bug 60623] Re: Upgrading mdadm package is impossible - can't upgrade while raid arrays active

2006-09-21 Thread Michaël Arnauts
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


[Bug 60623] Re: Upgrading mdadm package is impossible - can't upgrade while raid arrays active

2006-09-21 Thread Michaël Arnauts
I've managed to upgraded it by renaming /etc/init.d/mdadm* and renaming
them back afterwards

Removing then didn't work eather, and i had to rename them again, remove
the package, and remove the scripts for it to work.

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


[Bug 60623] Re: Upgrading mdadm package is impossible - can't upgrade while raid arrays active

2006-09-15 Thread Giuseppe Iuculano
** Changed in: mdadm (Ubuntu)
   Status: Unconfirmed => Confirmed

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


[Bug 60623] Re: Upgrading mdadm package is impossible - can't upgrade while raid arrays active

2006-09-15 Thread Jools Smyth
I'm also having this problem. It tries to stop my "root" raid, which of
course is impossible whilst it's in use.

A developer on irc said they need to disable the stop call in preinst.
and to check how they did it for version 2.5 in Debian.

Would have been nice too if we got a newer mdadm for edgy, rather than a
version from April this year. Especially since the edgy kernel has new
features some of which work better with a newer 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


[Bug 60623] Re: Upgrading mdadm package is impossible - can't upgrade while raid arrays active

2006-09-15 Thread Jools Smyth
I managed to upgrade by moving /etc/init.d/mdadm-raid and replacing with
an empty script, upgrading and then moving it back.

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


[Bug 60623] Re: Upgrading mdadm package is impossible - can't upgrade while raid arrays active

2006-09-15 Thread Scott Kitterman
Moving mdadm-raid as in the previous comment worked for me too.

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


[Bug 60623] Re: Upgrading mdadm package is impossible - can't upgrade while raid arrays active

2006-09-16 Thread Holger Bauer
I get the error to on upgrading mdadm, but I don't have a raid.

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


[Bug 60623] Re: Upgrading mdadm package is impossible - can't upgrade while raid arrays active

2006-09-17 Thread Alex Muntada
Same as Holger Bauer here: no raid, but mdadm upgrade doesn't complete
beacuse "mdadm-raid stop" always fails.

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


[Bug 60623] Re: Upgrading mdadm package is impossible - can't upgrade while raid arrays active

2006-09-17 Thread Brett A. Taylor
I can also confirm this problem. Temporarily removing /etc/init.d/mdadm-
raid seems to have worked fine for me as well.

I suggest this get marked with a higher priority.

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


[Bug 60623] Re: Upgrading mdadm package is impossible - can't upgrade while raid arrays active

2006-09-17 Thread Fabio Massimo Di Nitto
I just uploaded mdadm ubuntu3 that will address this issue. It will be
available in the archive within a few hours.

Fabio

** Changed in: mdadm (Ubuntu)
   Status: Confirmed => Fix Released

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


[Bug 60623] Re: Upgrading mdadm package is impossible - can't upgrade while raid arrays active

2006-09-18 Thread Scott Kitterman
Thanks.  I can confirm that the new package installed just fine for me
on the same machine that had had a problem with the previous update.

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


[Bug 60623] Re: Upgrading mdadm package is impossible - can't upgrade while raid arrays active

2006-09-18 Thread Brett A. Taylor
I can also confirm the new package works. Thanks for the fast response.

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


[Bug 60623] Re: Upgrading mdadm package is impossible - can't upgrade while raid arrays active

2006-09-21 Thread Michaël Arnauts
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


[Bug 60623] Re: Upgrading mdadm package is impossible - can't upgrade while raid arrays active

2006-09-21 Thread Michaël Arnauts
I've managed to upgraded it by renaming /etc/init.d/mdadm* and renaming
them back afterwards

Removing then didn't work eather, and i had to rename them again, remove
the package, and remove the scripts for it to work.

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