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

file and http URI-s to the same typ



I've had a lot of files in my cache directory of the apt-get program.
I used apt-move to create a local mirror. I'd like to use both ( the local
and the internet mirror ) to update my system. Is it possible for the apt
program with the following 'sources.list' file to look for at first in my
local mirror for files and than if the file doesn't exists it look for files
on the internet? 

It will be useful to create a new debian based box using both local and the
internet mirror.
I'd write the local mirror to cdrom.

Thanks
 Attila

---------
# Use for a local mirror - remove the ftp1 http lines for the bits
# your mirror contains.
# deb file:/your/mirror/here/debian stable main contrib non-free
# See sources.list(5) for more information, especial
# Remember that you can only use http, ftp or file URIs
deb file:/usr/mirrors/debian frozen main contrib non-free
deb file:/usr/mirrors/debian frozen non-US/main non-US/contrib non-US/non-free

deb ftp://ftp.hu.debian.org/debian frozen main contrib non-free
deb ftp://ftp.hu.debian.org/debian-non-US frozen non-US/main
deb ftp://ftp.hu.debian.org/debian-non-US frozen non-US/contrib
deb ftp://ftp.hu.debian.org/debian-non-US frozen non-US/non-free
--------



I got the following messages; is it problem?

Ign file: frozen/main Release
Ign file: frozen/contrib Release
Ign file: frozen/non-free Release
Ign file: frozen/non-US/main Release
Ign file: frozen/non-US/contrib Release
Ign file: frozen/non-US/non-free Release
..
..
..


-- 
----------------------------------------------------------------------
- Mail: acsosz@mail.datanet.hu; Debian 2.2 Linux  / 2.2.13 / exim    -
- Get my PGP key: gpg --keyserver keys.pgp.com --recv-key 0x2cc33acb -


Reply to: