fai 3.3.2 + karmic koala

Binh Ngo binh.ngo at ec.gc.ca
Fri Nov 20 17:26:16 CET 2009


I got the same problem. The package libapt-pkg-perl was installed in the 
nfsroot.

The workaround for me is to create the instsoft.DEFAULT hook:

ls -l /live/image/live/filesystem.dir/* >/dev/null
mount --bind /live/image/live/filesystem.dir/var/lib /var/lib

Binh
Alexander Thomas wrote:
> Hello,
>
> I included this package to make-fai-nfsroot.conf:
> FAI_DEBOOTSTRAP_OPTS="--exclude=dhcp-client,info --include
> aptitude,linux-image-generic,libapt-pkg-perl --arch amd64"
>
> and got the same error.
>
> cu Alex
>
> Thomas Lange schrieb:
>   
>>>>>>> On Fri, 20 Nov 2009 11:51:06 +0100, Alexander Thomas <alex at gaponline.de> said:
>>>>>>>               
>>     >> Can't call method "exists" on an undefined value at
>>     > /usr/sbin/install_packages line 400, <FILE> line 82.
>> IIRC, is this the error if you did not install the package
>> libapt-pkg-perl into the nfsroot.
>>     


More information about the linux-fai mailing list