[issue890] grml-live: FAI softupdate problem

Michael Prokop bts at bts.grml.org
Sat Aug 7 15:14:52 CEST 2010


Michael Prokop <mika at grml.org> added the comment:

* Tong Sun wrote in grml's BTS on 20100807 / 05:54:

> I just tried it, seems that the problem might be further deeper in FAI:

> % grml-live-git -c $CLASSES -u -q -n

> grml-live-git [0.10.1]: check your configuration (or use -F to force execution):

[...]
> FAI_CONFIG_SRC is set to file:///aufs/gl/m
> Using local path /aufs/gl/m as config space.
> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

That's what you want, right?

> Installing software may take a while
> E: Sub-process /usr/bin/dpkg returned an error code (1)
> E: Sub-process /usr/bin/dpkg returned an error code (1)
> E: Sub-process /usr/bin/dpkg returned an error code (1)
> Exit code task_instsoft: 620
[...]
>  * Error: there was a critical error during execution of stage 'fai dirinstall'
>  * Note:  check out /var/log/fai/depen/last/ for details. [exit 3]       [ !! ]

> $ grep -A7 'taken from FAI' /aufs/gl/m/hooks/updatebase.GRMLBASE
>    ## taken from FAI's lib/updatebase:
>    # some packages must access /proc even in chroot environment
>    mount -t proc proc $FAI_ROOT/proc
>    # some packages must access /sys even in chroot environment
>    mount -t sysfs sysfs $FAI_ROOT/sys
>    # if we are using udev, also mount it into $FAI_ROOT
>    [ -f /etc/init.d/udev ] && mount --bind /dev $FAI_ROOT/dev
>    mount -t devpts devpts $FAI_ROOT/dev/pts

> $ grep -E '/dev|/proc' /var/log/fai/depen/last/software.log
> Cannot find /proc/version - is /proc mounted?
> /var/lib/dpkg/info/uswsusp.config: line 21: /dev/stderr: No such file
> or directory
> Cannot find /proc/version - is /proc mounted?
> /var/lib/dpkg/info/uswsusp.config: line 21: /dev/stderr: No such file
> or directory
> /var/lib/dpkg/info/uswsusp.config: line 21: /dev/stderr: No such file
> or directory
> Cannot find /proc/version - is /proc mounted?
> /var/lib/dpkg/info/uswsusp.config: line 21: /dev/stderr: No such file
> or directory
> ERROR: chroot /dev/shm/gl/grml_chroot aptitude . . .

Please try dropping the -q option from the grml-live cmdline and if
that doesn't fix the problem start of with a fresh installation.

regards,
-mika-

----------
assignedto: mika
files: var_log_fai_depen.tgz
messages: 3308, 3309, 3310, 3311, 3312
nosy: mika, suntong1
priority: bug
status: fixed-in-git
title: grml-live: FAI softupdate problem

_____________________________________
GRML issue tracker <bts at bts.grml.org>
<http://bts.grml.org/grml/issue890>
_____________________________________


More information about the Bugs-changes mailing list