Re[2]: Home Debian "Mirror"

2004-08-20 Thread Alexander Moiseev
Hello John,

Friday, August 20, 2004, 6:53:48 AM, you wrote:

I believe he actually wanted to use the CDs to create a central
internal repository that he could use for network installs rather
than feeding each new machine the necessary CD(s).
  

>>>And that changes things how?  8:o)  The CDROMs use basically the same
>>>filesystem layout.  Just compare and contrast to a mirror...
>>>
>>>
>>
>>Having never used the CDs (I've always net installed) I honestly don't
>>know.  However, your initial response didn't seem to answer the question
>>the poster was asking.
>>
>>I assume that each CD has a Packages listing for the files in it's
>>subset of the archive.  Checking a 3.0r1 CD seems to back this up since
>>the Packages (non-compressed) listing on disk 1 is a mere 811K while the
>>same branch on my local mirror is 6.3M.  So at minimum these Package
>>listings would need to be regenerated.  This is probably what you mean
>>by "compare and contrast to a mirror".  However, I do believe the
>>original poster was looking for a tad more information than that.
>>
>>  
>>
JS> A few months ago, there was no documented procedure for creating a local
JS> repository from a set of CDs. You cannot just copy files into place
JS> because, as you note, you only get one tine Packages file.

There's a command 'dpkg-dsanpackages', however I don't remember exact
package that contains it... dpkg-dev I suppose. Create folder
structure on your hdd similar to cd's or ftp's one - f.e.
/mirror/dists/stable/main {non-free, contrib}/binary-i386/ and
/mirror/pool/main {non-free, contrib}/ for woody, assuming /mirror is
the top-level folder for your mirror. Then just copy from all cd's
content of pool folders, run dpkg-scanpackages as root without
parameters - this will give you short help on command, then pick
correct parameters and run command again. As a result you'll get
Packages file for each branch (namely main, non-free, contrib) and
procedure will take quite long time...


-- 
Best regards,
 Alexandermailto:[EMAIL PROTECTED]


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



Re: Home Debian "Mirror"

2004-08-20 Thread Alan Chandler
On Friday 20 August 2004 04:53, John Summerfield wrote:
>original poster was looking for a tad more information than that.
>
> A few months ago, there was no documented procedure for creating a local
> repository from a set of CDs. You cannot just copy files into place
> because, as you note, you only get one tine Packages file.

the command to do that is dpkg-scanpackage.

Can't remember exactly which debian package its in.
-- 
Alan Chandler
[EMAIL PROTECTED]
First they ignore you, then they laugh at you,
 then they fight you, then you win. --Gandhi


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



Re: Home Debian "Mirror"

2004-08-20 Thread John Summerfield
Preston Boyington wrote:
I would like to set up a home "mirror" (i386 archive) to run my installs from.  I am 
on dial-up and a friend has offered to download the 13 CDs of Sarge for me to help get started.
What is the best way to take the CDs and "convert" them into a working APT archive?  
Is this something I would use apt-mirror for, or is there another program?
This is new territory for me, so if someone could point to a good howto I would 
appreciate it very much.
Thanks for the time.
Preston
 

If you can lend your friend a disk drive, either to install in a 
computer or in a USB enclosure, that's a fine way to get a mirror. You 
can use debmirror for the purpose.

It also facilitates getting the mirror updated from time to time.It's 
pretty much what I do.

Also, a well-configured Squid is a handy thing: download once, reuse 
forever.



--
Cheers
John
-- spambait
[EMAIL PROTECTED]  [EMAIL PROTECTED]
Tourist pics http://portgeographe.environmentaldisasters.cds.merseine.nu/
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: Home Debian "Mirror"

2004-08-19 Thread John Summerfield
Jamin W. Collins wrote:
On Tue, Aug 17, 2004 at 04:37:18PM -0700, Paul Johnson wrote:
 

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
"Jamin W. Collins" <[EMAIL PROTECTED]> writes:
   


I believe he actually wanted to use the CDs to create a central
internal repository that he could use for network installs rather
than feeding each new machine the necessary CD(s).
 

And that changes things how?  8:o)  The CDROMs use basically the same
filesystem layout.  Just compare and contrast to a mirror...
   

Having never used the CDs (I've always net installed) I honestly don't
know.  However, your initial response didn't seem to answer the question
the poster was asking.
I assume that each CD has a Packages listing for the files in it's
subset of the archive.  Checking a 3.0r1 CD seems to back this up since
the Packages (non-compressed) listing on disk 1 is a mere 811K while the
same branch on my local mirror is 6.3M.  So at minimum these Package
listings would need to be regenerated.  This is probably what you mean
by "compare and contrast to a mirror".  However, I do believe the
original poster was looking for a tad more information than that.
 

A few months ago, there was no documented procedure for creating a local 
repository from a set of CDs. You cannot just copy files into place 
because, as you note, you only get one tine Packages file.

--
Cheers
John
-- spambait
[EMAIL PROTECTED]  [EMAIL PROTECTED]
Tourist pics http://portgeographe.environmentaldisasters.cds.merseine.nu/
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: Home Debian "Mirror"

2004-08-17 Thread Jamin W. Collins
On Tue, Aug 17, 2004 at 04:37:18PM -0700, Paul Johnson wrote:
> -BEGIN PGP SIGNED MESSAGE-
> Hash: SHA1
> 
> "Jamin W. Collins" <[EMAIL PROTECTED]> writes:
> 
> > On Tue, Aug 17, 2004 at 02:04:05PM -0700, Paul Johnson wrote:
> >> "Preston Boyington" <[EMAIL PROTECTED]> writes:
> >> 
> >> > What is the best way to take the CDs and "convert" them into a
> >> > working APT archive?  Is this something I would use apt-mirror
> >> > for, or is there another program?
> >> 
> >> CD's come as-is, ready for apt.
> >
> > I believe he actually wanted to use the CDs to create a central
> > internal repository that he could use for network installs rather
> > than feeding each new machine the necessary CD(s).
> 
> And that changes things how?  8:o)  The CDROMs use basically the same
> filesystem layout.  Just compare and contrast to a mirror...

Having never used the CDs (I've always net installed) I honestly don't
know.  However, your initial response didn't seem to answer the question
the poster was asking.

I assume that each CD has a Packages listing for the files in it's
subset of the archive.  Checking a 3.0r1 CD seems to back this up since
the Packages (non-compressed) listing on disk 1 is a mere 811K while the
same branch on my local mirror is 6.3M.  So at minimum these Package
listings would need to be regenerated.  This is probably what you mean
by "compare and contrast to a mirror".  However, I do believe the
original poster was looking for a tad more information than that.

-- 
Jamin W. Collins

It has always been Debian's philosophy in the past to stick to what
makes sense, regardless of what crack the rest of the universe is
smoking.  -- Andrew Suffield


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



Re: Home Debian "Mirror"

2004-08-17 Thread Paul Johnson
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

"Jamin W. Collins" <[EMAIL PROTECTED]> writes:

> On Tue, Aug 17, 2004 at 02:04:05PM -0700, Paul Johnson wrote:
>> "Preston Boyington" <[EMAIL PROTECTED]> writes:
>> 
>> > What is the best way to take the CDs and "convert" them into a working
>> > APT archive?  Is this something I would use apt-mirror for, or is there
>> > another program?
>> 
>> CD's come as-is, ready for apt.
>
> I believe he actually wanted to use the CDs to create a central internal
> repository that he could use for network installs rather than feeding
> each new machine the necessary CD(s).

And that changes things how?  8:o)  The CDROMs use basically the same
filesystem layout.  Just compare and contrast to a mirror...
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.5 (GNU/Linux)

iD8DBQFBIpavUzgNqloQMwcRAhLcAKDTbdihgc+YSjYCXv8jQ7RuDSmeoQCghx1g
2hkPNr6DGakXIRrWBjSVPpI=
=4TO4
-END PGP SIGNATURE-


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



Re: Home Debian "Mirror"

2004-08-17 Thread Jamin W. Collins
On Tue, Aug 17, 2004 at 02:04:05PM -0700, Paul Johnson wrote:
> "Preston Boyington" <[EMAIL PROTECTED]> writes:
> 
> > What is the best way to take the CDs and "convert" them into a working
> > APT archive?  Is this something I would use apt-mirror for, or is there
> > another program?
> 
> CD's come as-is, ready for apt.

I believe he actually wanted to use the CDs to create a central internal
repository that he could use for network installs rather than feeding
each new machine the necessary CD(s).

-- 
Jamin W. Collins

Facts do not cease to exist because they are ignored. -- Aldous Huxley,
"Proper Studies", 1927


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



Re: Home Debian "Mirror"

2004-08-17 Thread Paul Johnson
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

"Preston Boyington" <[EMAIL PROTECTED]> writes:

> What is the best way to take the CDs and "convert" them into a working
> APT archive?  Is this something I would use apt-mirror for, or is there
> another program?

CD's come as-is, ready for apt.
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.5 (GNU/Linux)

iD8DBQFBInLKUzgNqloQMwcRAr74AKC4Xyx9oDCFzZuzEQZWXpIWnxqOTACgzG9+
votq0nSHWRTM87n9U/UpKTY=
=t0Cm
-END PGP SIGNATURE-


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



Home Debian "Mirror"

2004-08-17 Thread Preston Boyington
I would like to set up a home "mirror" (i386 archive) to run my installs from.  I am 
on dial-up and a friend has offered to download the 13 CDs of Sarge for me to help get 
started.

What is the best way to take the CDs and "convert" them into a working APT archive?  
Is this something I would use apt-mirror for, or is there another program?

This is new territory for me, so if someone could point to a good howto I would 
appreciate it very much.

Thanks for the time.
Preston