sarge and woody with one fai server (was Re: sarge)

Holger Levsen fai at layer-acht.de
Wed Mar 31 15:34:28 CEST 2004


Hi,

> Habe ein Problem mit fai-setup.
> Wenn ich statt woody sarge angebe (und die sources.list entsprechend
> ändere) stirbt es mit folgendem Fehler:

Roland has a problem with fai-setup if he configures fai.conf and sources.list 
to use sarge... (see below).

I have no idea about your problem, but succedd with the following hook, so I 
am able to install most of my machines with woody but some with sarge 
_from_one_fai_server:

./hooks/instsoft.$hostname
------schnipp-begin-----------
#! /bin/sh
# after installing the woody base system
# it get's upgraded to sarge
# before installing packages...

echo "Upgrading to sarge..."
fcopy /etc/apt/sources.list # containing sarge
$ROOTCMD apt-get update
$ROOTCMD apt-get -u dist-upgrade
------schnipp-end-----------

There is also Hennings install_packages 
(http://www.physik.fu-berlin.de/~glaweh/fai/), which I didn't try cause I 
couldn't figure out how it works. Henning, could you please give a hint, I 
would like to try it. Does it work with fai 2.5.4 ? How to use it ? Just 
provide $target/etc/apt/sources.list ?


regards,
	Holger

> Hat jemand eine Idee was ich verbockt hab?
> Danke!
> vg,
> Roland.
>
> ----
> Creating nfsroot for sarge using debootstrap
> dpkg: base-passwd: dependency problems, but configuring anyway as you
> request:
>  base-passwd depends on libc6 (>= 2.3.2.ds1-4); however:
>   Package libc6 is not installed.
> cp: error while loading shared libraries: libacl.so.1: cannot open
> shared object file: No such file or directory
> dpkg: error processing base-passwd (--install):
>  subprocess post-installation script returned error exit status 127
> dpkg: base-files: dependency problems, but configuring anyway as you
> request:
>  base-files depends on awk; however:
>   Package awk is not installed.
>  base-files depends on base-passwd (>= 2.0.3.4); however:
>   Package base-passwd is not configured yet.
> cp: error while loading shared libraries: libacl.so.1: cannot open
> shared object file: No such file or directory
> dpkg: error processing base-files (--install):
>  subprocess post-installation script returned error exit status 127
> Errors were encountered while processing:
>  base-passwd
>  base-files
> W: Failure trying to run: chroot /usr/lib/fai/nfsroot dpkg
> --force-depends --install
> /var/cache/apt/archives/base-files_3.0.13_i386.deb
> /var/cache/apt/archives
> /base-passwd_3.5.7_i386.deb
> chroot: apt-get: No such file or directory
> dpkg-divert: cannot open diversions: No such file or directory
> ------





More information about the linux-fai mailing list