problems in retrieving packages from the mirror

lorenzo118 at interfree.it lorenzo118 at interfree.it
Mon Nov 28 10:45:18 CET 2005


Hi,
I-m still trying to make fai installation work on my cluster. Now installation completes but the node simply doesn't boot.  I checked in fai.log of last installation and I found that fai can't retrive packages from the local mirror:

[...]
instsoft.FAIBASE     OK.
Calling task_instsoft
Installing software may take a while
Couldn't stat source package list files: sarge/main Packages (/tmp/target/var/lib/apt/lists/_mnt2_debian_dists_sarge_main_binary-i386_Packages) - stat (2 No such file or directory)
Couldn't stat source package list files: sarge/contrib Packages (/tmp/target/var/lib/apt/lists/_mnt2_debian_dists_sarge_contrib_binary-i386_Packages) - stat (2 No such file or directory)
Couldn't stat source package list files: sarge/non-free Packages (/tmp/target/var/lib/apt/lists/_mnt2_debian_dists_sarge_non-free_binary-i386_Packages) - stat (2 No such file or directory)
Couldn't stat source package list files: sarge/non-US/main Packages (/tmp/target/var/lib/apt/lists/_mnt2_debian-non-US_dists_sarge_non-US_main_binary-i386_Packages) - stat (2 No such file or directory)
Couldn't stat source package list files: sarge/non-US/contrib Packages (/tmp/target/var/lib/apt/lists/_mnt2_debian-non-US_dists_sarge_non-US_contrib_binary-i386_Packages) - stat (2 No such file or directory)
Couldn't stat source package list files: sarge/non-US/non-free Packages (/tmp/target/var/lib/apt/lists/_mnt2_debian-non-US_dists_sarge_non-US_non-free_binary-i386_Packages) - stat (2 No such file or directory)
Couldn't stat source package list files: sarge/updates/main Packages (/tmp/target/var/lib/apt/lists/_mnt2_debian-security_dists_sarge_updates_main_binary-i386_Packages) - stat (2 No such file or directory)
Couldn't stat source package list files: sarge/updates/contrib Packages (/tmp/target/var/lib/apt/lists/_mnt2_debian-security_dists_sarge_updates_contrib_binary-i386_Packages) - stat (2 No such file or directory)
Couldn't stat source package list files: sarge/updates/non-free Packages (/tmp/target/var/lib/apt/lists/_mnt2_debian-security_dists_sarge_updates_non-free_binary-i386_Packages) - stat (2 No such file or directory)
Couldn't stat source package list files: sarge/main Packages (/tmp/target/var/lib/apt/lists/_mnt2_debian_dists_sarge_main_binary-i386_Packages) - stat (2 No such file or directory)
Couldn't stat source package list files: sarge/contrib Packages (/tmp/target/var/lib/apt/lists/_mnt2_debian_dists_sarge_contrib_binary-i386_Packages) - stat (2 No such file or directory)
Couldn't stat source package list files: sarge/non-free Packages (/tmp/target/var/lib/apt/lists/_mnt2_debian_dists_sarge_non-free_binary-i386_Packages) - stat (2 No such file or directory)
Couldn't stat source package list files: sarge/non-US/main Packages (/tmp/target/var/lib/apt/lists/_mnt2_debian-non-US_dists_sarge_non-US_main_binary-i386_Packages) - stat (2 No such file or directory)
Couldn't stat source package list files: sarge/non-US/contrib Packages (/tmp/target/var/lib/apt/lists/_mnt2_debian-non-US_dists_sarge_non-US_contrib_binary-i386_Packages) - stat (2 No such file or directory)
Couldn't stat source package list files: sarge/non-US/non-free Packages (/tmp/target/var/lib/apt/lists/_mnt2_debian-non-US_dists_sarge_non-US_non-free_binary-i386_Packages) - stat (2 No such file or directory)
Couldn't stat source package list files: sarge/updates/main Packages (/tmp/target/var/lib/apt/lists/_mnt2_debian-security_dists_sarge_updates_main_binary-i386_Packages) - stat (2 No such file or directory)
Couldn't stat source package list files: sarge/updates/contrib Packages (/tmp/target/var/lib/apt/lists/_mnt2_debian-security_dists_sarge_updates_contrib_binary-i386_Packages) - stat (2 No such file or directory)
Couldn't stat source package list files: sarge/updates/non-free Packages (/tmp/target/var/lib/apt/lists/_mnt2_debian-security_dists_sarge_updates_non-free_binary-i386_Packages) - stat (2 No such file or directory)
You may want to run apt-get update to correct these problems
install_packages: read config file /fai/package_config/DEFAULT
install_packages: read config file /fai/package_config/BEOWULF
[...]

In my fai.conf there is

FAI_DEBMIRROR=/files/scratch/debmirror/debian

and

MNTPOINT=/mnt2

so I tried to modify (AFTER the fai-setup) the file /usr/lib/fai/nfsroot/etc/fai/fai.con as:

FAI_DEBMIRROR=$mirrorhost:/files/scratch/debmirror/debian

(if I don't do so, installation on the node halts because it can't mount the remote driectory of the mirror). Then I modified  (again after the fai-setup)  /usr/lib/fai/nfsroot/etc/apt/sources.list, putting the followinf lines:

deb file:///mnt2/debian sarge main contrib non-free
deb file:///mnt2/debian-non-US sarge/non-US main contrib non-free
deb file:///mnt2/debian-security/ sarge/updates main contrib non-free

but it still can't find the packages , so it gives (in log file) errors listed in the beginning of the mail. 
If I try anyway to boot the node from hard disk I obtain the GRUB prompt (I suppose that grub was installed but kernel wasn't).
How I could make FAI can download packages it needs from local debian mirror?
Thank you
Lorenzo

-------------------------------------------------------------------------
Visita http://domini.interfree.it, il sito di Interfree dove trovare
soluzioni semplici e complete che soddisfano le tue esigenze in Internet,
ecco due esempi di offerte:

-  Registrazione Dominio: un dominio con 1 MB di spazio disco +  2 caselle
   email a soli 18,59 euro
-  MioDominio: un dominio con 20 MB di spazio disco + 5 caselle email 
   a soli 51,13 euro

Vieni a trovarci!

Lo Staff di Interfree 
-------------------------------------------------------------------------



More information about the linux-fai mailing list