local debian mirrot

Bruce Edge bedge at troikanetworks.com
Fri Jun 28 17:25:30 CEST 2002


Do you have /files/scratch in your <servername>'s /etc/exports?
Did you restart the nfs services?

> -----Original Message-----
> From: Claus Wetzel [mailto:wet at vitracom.com]
> Sent: Friday, June 28, 2002 1:15 AM
> To: fai newsgroup
> Subject: local debian mirrot
> 
> 
> Hello,
> 
> im trying to setup a local debian mirror.
> I'm using the script mkdebmirror from the package fai 2.3.4.
> After downloading of approx. 6 GB and setting sources.list to
> 
> deb file:/files/scratch/debian woody main contrib non-free
> deb file:/files/scratch/debian/dists woody-proposed-updates/
> deb file:/files/scratch/debian-non-US woody/non-US main 
> contrib non-free
> deb file:/files/scratch/debian-security woody/updates main 
> contrib non-free
> deb ftp://ftp.uni-erlangen.de/pub/Linux/debian/ stable main 
> non-free contrib
> deb-src ftp://ftp.uni-erlangen.de/pub/Linux/debian/ stable 
> main non-free contrib
> deb http://non-us.debian.org/debian-non-US stable/non-US main 
> contrib non-free
> deb-src http://non-us.debian.org/debian-non-US stable/non-US 
> main contrib non-free
> deb http://security.debian.org/ stable/updates main contrib non-free
> 
> i can use dselect with the local debian mirror.
> I've set fai.conf to:
> 
> ftpserver=ftp.debian.org
> debdist=woody # distribution: potato, woody, sid
> FAI_DEBMIRROR=<servername>:/files/scratch
> MNTPOINT=/mnt2
> FAI_SOURCES_LIST="deb file:$MNTPOINT/debian $debdist main 
> contrib non-free
> deb file:$MNTPOINT/debian/dists $debdist-proposed-updates/
> deb file:$MNTPOINT/debian-non-US $debdist/non-US main contrib non-free
> deb file:$MNTPOINT/debian-security $debdist/updates main 
> contrib non-free"
> NFSROOT_PACKAGES="ssh expect reiserfsprogs dpkg-dev"
> FAI_ROOTPW="56hNVqht51tzc"
> KERNELPACKAGE=/usr/lib/fai/kernel/kernel-image-2.4.18_fai1_i386.deb
> LOGUSER=fai
> FAI_REMOTESH=rsh
> FAI_REMOTECP=rcp
> FAI_CONFIGDIR=/usr/local/share/fai
> FAI_SHAREDIR=/usr/share/fai
> FAI=/fai
> OS_TYPE=`uname -s |  tr '[A-Z]' '[a-z]'`
> 
> fai-setup reports a lot of warnings about dpkg dependency problems and
> finally the error message:
> 
> Account $LOGUSER=fai already exists.
> Make sure, that all install clients can
> log into this account without a password.
> /home/fai/.rhosts created.
> User account fai set up.
> Creating FAI nfsroot can take a long time and will
> need more than 150MB disk space in /usr/lib/fai/nfsroot.
> /usr/lib/fai/nfsroot already exists. Removing /usr/lib/fai/nfsroot
> dpkg: base-passwd: dependency problems, but configuring anyway as you
> request:
>  base-passwd depends on libc6 (>= 2.2.4-4); however:
>   Package libc6 is not installed.
> ...
> Creating base.tgz
> Upgrading /usr/lib/fai/nfsroot
> Failed to fetch 
file:/mnt2/debian/dists/woody-proposed-updates/Packages
File not found
Failed to fetch
file:/mnt2/debian-non-US/dists/woody/non-US/main/binary-i386/Packages
File not found
Failed to fetch
file:/mnt2/debian-non-US/dists/woody/non-US/contrib/binary-i386/Packages
File not found
Failed to fetch
file:/mnt2/debian-non-US/dists/woody/non-US/non-free/binary-i386/Packages
File not found
E: Some index files failed to download, they have been ignored, or old
ones used instead.

I think there is something wrong with my local debian mirror.
Any suggestions?

Greetings Claus

=============================
Dipl.-Inform. Claus Wetzel
Vitracom GmbH
wetzel at vitracom.de
Haid-und-Neu-Str. 7
76131 Karlsruhe

Tel.: +49 (0) 721 / 627679-2
Fax:                      -9
=============================




More information about the linux-fai mailing list