error while running make-fai-nfsroot

Muniven Shekar-PTH473 Shekar.Muniven at motorola.com
Wed Sep 12 10:06:01 CEST 2007


Hi Michael,

I am getting similar error message when I ran fai-cd. Here is the
output..

-----------
Using configuration files from /etc/fai
Getting package information
Downloading packages for classes: AMD64 CHROOT DEFAULT DEMO DHCPC
FAIBASE FAISERVER GERMAN GNOME GRUB I386 LILO XORG
install_packages: reading config files from directory
/srv/fai/config/package_config
Can't call method "exists" on an undefined value at
/usr/sbin/install_packages line 388, <FILE> line 89.
-------------

I checked in all the NFSROOT and changed all occurrences of install to
aptitude. Still I am getting this error. How do we fix this?

Thanks,
Shekar


-----Original Message-----
From: Muniven Shekar-PTH473 
Sent: Tuesday, September 11, 2007 7:29 PM
To: 'Michael Tautschnig'
Cc: linux-fai at uni-koeln.de
Subject: RE: error while running make-fai-nfsroot

Thanks Michael! 
I changed "PACKAGES install" to "PACKAGES aptitude" and I am able to get
past that error.

Thanks,
Shekar 

-----Original Message-----
From: Michael Tautschnig [mailto:tautschn at model.in.tum.de] 
Sent: Tuesday, September 11, 2007 6:11 PM
To: Muniven Shekar-PTH473
Cc: linux-fai at uni-koeln.de
Subject: Re: error while running make-fai-nfsroot

> Hi,
> 
> I am getting following error when I ran make-fai-nfsroot -v. Are there
> any files I need to change under /etc/fai ?
>
[...]

The problem is that you've probably got PACKAGES install lines in your
config
space. To cope with them, FAI requires the libapt-pkg-perl package. You
either
need to change your configs to use PACKAGES aptitude instead of PACKAGES
install, or hack make-fai-nfsroot to install libapt-pkg-perl into the
NFSROOT
before calling install_packages. 

This problem will be fixed in the next upload of FAI.

HTH,
Michael



More information about the linux-fai mailing list