tags 390756 + patch moreinfo
thanks

also sprach Mark Rustad <[EMAIL PROTECTED]> [2006.10.02.2323 +0200]:
> Setting up mdadm (2.5.3.git200608202239-6) ...
> dpkg: error processing mdadm (--configure):
>  subprocess post-installation script returned error exit status 1
> Errors were encountered while processing:
>  mdadm
> E: Sub-process /usr/bin/dpkg returned an error code (1)

Could you please try whether the following patch against
/var/lib/dpkg/info/mdadm.config fixes the problem? Just copy-paste
the following few lines as a whole into a root shell:

patch /var/lib/dpkg/info/mdadm.config <<_eof
===================================================================
--- mdadm.config  (revision 190)
+++ mdadm.config  (revision 194)
@@ -80,7 +80,7 @@
   get_root_raiddev || echo all
 }
 
-[ -z "$INITRDSTART" ] && INITRDSTART="$(get_initrdstart)"
+[ -z "$INITRDSTART" ] && INITRDSTART="$(get_initrdstart)" || :
 [ -n "$INITRDSTART" ] && db_set mdadm/initrdstart "$INITRDSTART"
 
 db_capb escape
_eof
dpkg --configura mdadm

-- 
 .''`.   martin f. krafft <[EMAIL PROTECTED]>
: :'  :  proud Debian developer, author, administrator, and user
`. `'`   http://people.debian.org/~madduck - http://debiansystem.info
  `-  Debian - when you have better things to do than fixing systems

Attachment: signature.asc
Description: Digital signature (GPG/PGP)

Reply via email to