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

Re: Setting up a debian archive

Just get all files from some ftp mirror, from the debian directory and down,
and copy them to your harddisk. You'll need some 10-20GB for that.
But if you just want to do new i386 installs with the stable
release (potato) you can skip the following directories (assuming you are
standing in the debian directory):

  dists/sid            (for unreleased architectures I think i was)
  dists/woody          (the next release which is not released yet)
  dists/*/*/binary-xxx (where xxx != i386 or your preferred arch)
  dists/*/*/dists-xxx  (where xxx != i386 or your preferred arch)
  dists/*/*/upgrade-*  (for upgrades)
  dists/*/*/source     (unless you want the source code as well)
  project              (I don't think you'll need that stuff)

That will leave you with, hmm:

$ find . -type f | egrep -v './dists/(sid|woody)' |
> egrep -v '/source/|/upgrade-|/project' |
> egrep -v '(disks|binary)-(alpha|arm|m68|powerpc|sparc)' > ~/lst
$ wc -l ~/lst 
   5882 /home/karl/lst
$ cat ~/lst  | xargs ls -l | cut -b31-42 |
> perl -e '$s=0; while(<>) { $s+=$_;} print "$s\n";'

about 6000 files (plus links and directories) and less than 3GB disk space.
A little to much to download from the internet unless you have a very good
connection. But easily handled with CD-roms or tapes. If you take
the officially released i386 cd's and simply copy their contents to a
directory named debian somewhere on your disk, you'll be set.

If you don't want the complete i386 (or other arch) thing, well then I
cannot help you.


Karl Hammar                    Aspö Data           karl@kalle.csb.ki.se
Lilla Aspö 2340             +46  173 140 57                    Networks
S-742 94 Östhammar         +46  70 511 97 84                  Computers
Sweden                                                       Consulting

From: total <total@inreach.com>
Subject: Setting up a debian archive
Date: Thu, 02 Nov 2000 23:41:01 -0800

> I'm new to debian - if this isn't the correct place to ask this, please
> point me to the correct place.  Thanks :)  (I posted a similar question
> in debian-user yesterday & got no knowledgeable response.)
> I'm installing debian from files in my w95 c:/linux directory onto free
> space in hda.  I've got all the starting files there (install.bat
> loadlin linux base2_2 drivers root rescue) and the install goes fine.
> After the basic system is setup on the HD, the installer boots off the
> HD, and continues by asking me if I want to install from ppp.  I have
> gone through this several times, and each time it dl's about 5 MB.  I
> have saved the dl'd debs.
> The next time I do an install, I would like to have it grab the control
> info and these 1st base system debs off my HD, not dl them from the
> net.  After experimenting with the options available, it seems that the
> option I desire is to have the installer get the files from a "debian
> archive" that is currently mounted.
> The options it presents are:
> "Install from ppp? (no)
> Choose the method apt should use to access the debian archive: cdrom,
> ftp, http, filesystem, edit sources by hand"
> How do I set up a "debian archive" on my w95 c: drive (filesystem)?
> What doc's tell what a "debian archive" is, and how to set one up?
> I suspect it is more than just the appropriate deb files in a properly
> structured tree - I'm guessing there needs to be some "overview" files
> that the package installer reads to find out what the latest version of
> the various deb files are - something like "packages" "release" or
> "sources" (those are some of the words I thought I saw as the installer
> started dl'ing information.)
> (Note: I have found out how to have dselect get debs that are wanted
> later on, when I want more packages installed, by putting them in
> /var/cache/apt/archives.  So, how do I get the installer to grab all the
> info it needs (including the control files) from my HD, without having
> to connect to the net?  (Sorta like doing an install from a cd.))
> Your help, comments, pointers, are greatly appreciated!  Thank you. :-)
> -- 
> To UNSUBSCRIBE, email to debian-boot-request@lists.debian.org
> with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org

Reply to: