[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

mirror-server



Plase help Me
I'Have debian-sarge 14CDs, will make server-mirror
I' try configuration following

begin 
copy all CDs to direktory /debian/sarge

#cp -R /media/cdrom/* /debian/sarge 
(what this real correct ???)
and move packet
#dpkg-scanpackages pool/contrib /dev/null |gzip -9c
>Pakckages.gz
#dpkg-scanpackages pool/main /dev/null |gzip -9c
>Pakckages.gz

Link to apache
#cd /var/www
#lin -s /debian/sarge

throwing away file apache-default of /var/www
and configurations
/etc/apache2/sites-enabled/00-default
#RedirectMatch ^/$ /apache2-default/

for client LAN configurations /etc/apt/sources
ded http://10.252.10.254 /sarge contrib main

Test
#apt-get update
its result
Err http://10.252.10.254 /sarge/contrib Packages
  404 Not Found
Ign http://10.252.10.254 /sarge/contrib Release
Err http://10.252.10.254 /sarge/main Packages
  404 Not Found
Ign http://10.252.10.254 /sarge/main Release
Failed to fetch
http://10.252.10.254/dists//sarge/contrib/binary-i386/Packages.gz
 404 Not Found
Failed to fetch
http://10.252.10.254/dists//sarge/main/binary-i386/Packages.gz
 404 Not Found
Reading Package Lists... Done
W: Couldn't stat source package list
http://10.252.10.254 /sarge/contrib Packages
(/var/lib/apt/lists/10.252.10.254_dists__sarge_contrib_binary-i386_Packages)
- stat (2 No such file or directory)
W: Couldn't stat source package list
http://10.252.10.254 /sarge/main Packages
(/var/lib/apt/lists/10.252.10.254_dists__sarge_main_binary-i386_Packages)
- stat (2 No such file or directory)
W: You may want to run apt-get update to correct these
problems
E: Some index files failed to download, they have been
ignored, or old ones used instead.


 
____________________________________________________________________________________
Never miss an email again!
Yahoo! Toolbar alerts you the instant new Mail arrives.
http://tools.search.yahoo.com/toolbar/features/mail/





Reply to: