Re: How do I create a mirror from my CDs

2002-11-26 Thread Michelle Konzack
Hello, 

Where is the problem ???

0)  use mc to copy the CD's

1)  Copy a cd to the Harddisk
2)  remove all TRANS.TLB files
3)  remove all Packages.gz files  NOT the Packages files !!!

mount the second CD 

4)  Copy the CD to the Harddisk
5)  If mc warn you about the Packages file, say APPEND !!!
6)  remove all TRANS.TLB files
7)  remove all Packages.gz files  NOT the Packages files !!! 

Repeet the las section for the other 5 CD's

Now make from the Packages files the packages,gz files

Point your ftpd, httpd and nfsd to the Ropt of your Mirror. 

Mount from an other Machine the Mirror and make an 'apt-get update'... 

I have done this with the WOODY CD's from www.lob.de and it works 
quiet well. But I have changed the 'pool' from ./pool to 
./debin/dists/3.0r0/pool and I have repaced the Filename: string 
in the Packages file to correspod with the new location. 

Have Fun
Michelle


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]




Re: How do I create a mirror from my CDs

2002-11-20 Thread Chris Kenrick
On Tue, Nov 19, 2002 at 05:24:12PM +0800, [EMAIL PROTECTED] wrote:
 I've googled. I've found scripts that don't Work For Me. I've found the APT
 howto and not understood the little information I could see there.
 
 I've got seven CDs burned myself from the ISO images I downloaded.
 
 Unpacking them is no problem, I can mount -o loop,ro with the best of them, and from 
there I can
 
 tar cC /mnt/cdrom | tar xpC /var/ftp/pub/linux/debian
 
 and recursively chmod and rm TRANS.TBLs.
 
 
 I'm new to Debian, not new to Linux.
 
 What I can't figure is precisely how to create those Packages files. What command(s) 
do I run, and importantly, in what directories?

There's a couple of ways to achieve this...

1. Copy the contents of each CD to a separate subdirectory, and add
seven entries in your /etc/apt/sources.list.  An entry might look something
like this:

deb file:/home/debcds/disk1 woody contrib main non-US/contrib non-US/main

2. Make an empty directory, copy CDs into it.  Install apt-utils if not
already installed, and run apt-ftparchive to generate Packages.gz and
Sources.gz.  Add one entry to /etc/apt/sources/list

I've done option 1, and it works fine.  Option 2 was an alternative
suggested when I asked the same question of the list

- Chris
__
Do you Yahoo!?
Yahoo! Web Hosting - Let the expert host your site
http://webhosting.yahoo.com


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]