FAI3 / mdadm

Frederik Wagner frederik.wagner at physik.lmu.de
Wed Oct 4 13:36:35 CEST 2006


Hi,

here the promised detail
> 
> I've seen these errors here as well, but didn't find the time to debug them (and
> didn't care about mdadm at all). Could you please try to do this? Would be very
> nice to know the reason of this problem.
> 
> Some hints:
> 
> Try 
> 
> chroot $NFSROOT
> apt-get -f install

this gives:
---
# apt-get -f install
Reading package lists... Done
Building dependency tree... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
1 not fully installed or removed.
Need to get 0B of archives.
After unpacking 0B of additional disk space will be used.
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)
---

> 
> Does it then try to reinstall mdadm? Does it ask any questions? If that doesn't
> work, please insert a "set -vx" in the second line of
> $NFSROOT/var/lib/dpkg/info/mdadm.postinst and retry the apt-get -f install

and this results in the following:
---
# apt-get -f install
Reading package lists... Done
Building dependency tree... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
1 not fully installed or removed.
Need to get 0B of archives.
After unpacking 0B of additional disk space will be used.
Setting up mdadm (2.5.3.git200608202239-6) ...

. /usr/share/debconf/confmodule
+ . /usr/share/debconf/confmodule
#!/bin/sh
# This is a shell library to interface to the Debian configuration
management
# system.

###############################################################################
# Initialization.

# Check to see if a FrontEnd is running.
if [ ! "$DEBIAN_HAS_FRONTEND" ]; then
        PERL_DL_NONLAZY=1
        export PERL_DL_NONLAZY
        # Since there is no FrontEnd, this program execs a FrontEnd.
        # It will then run a new copy of $0 that can talk to it.
        if [ "$DEBCONF_USE_CDEBCONF" ]; then
                exec /usr/lib/cdebconf/debconf $0 "$@"
        else
                exec /usr/share/debconf/frontend $0 "$@"
        fi
fi
++ '[' '!' '' ']'
++ PERL_DL_NONLAZY=1
++ export PERL_DL_NONLAZY
++ '[' '' ']'
++ exec /usr/share/debconf/frontend /var/lib/dpkg/info/mdadm.postinst
configure ''
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)
---

this is more or less what I wrote before, no? I hope it helps the debugging.

Hope to hear soon any news... :-)

Frederik!
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: OpenPGP digital signature
Url : http://lists.uni-koeln.de/pipermail/linux-fai/attachments/20061004/722e2c13/attachment.bin 


More information about the linux-fai mailing list