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

Re: figuring out do_custom_download.pl



On Thu, 29 May 2008 16:26:44 -0500
Josh Cronemeyer <jcroneme@thoughtworks.com> wrote:

> Hi,
> 
> I am slogging through the instructions here 
> http://wiki.debian.org/DebianCustomCD and I used germinate to create
> a package list.  The instructions advise using the script here 
> http://wiki.debian.org/DebianCustomCD/CustomDownload to take the 
> germinated list and download the appropriate debs, but I'm confused
> by some of the parameters the script takes.
> 
> Here is the command I ran:
> 
> ./do_custom_download.pl -k i386 -g -p /home/josh/pool -v -a 
> http://us.archive.ubuntu.com/ubuntu -d hardy -c main -b 
> /home/josh/seeds/all -s /home/josh/seeds/all.sources
> 
> I get the following output
> Initializing package & source database...Couldn't read
> hardy_main_Packages Couldn't read hardy_main_InstallerPackages
> Couldn't read hardy_main_Sources
> Couldn't read hardy_contrib_Packages
> Couldn't read hardy_contrib_InstallerPackages
> Couldn't read hardy_contrib_Sources
> ok
> 
> but it isn't ok and nothing happens.  Do I need to specify something
> for the -l option which is the "package control" path? I have no idea

Yes you do.  It should point to wherever the results of germinate were
downloaded (it includes the packages files as well as the germinate
rules, from your paths I'd guess you need -l /home/josh/seeds).

> what path I would give it for that.  Does my pool directory already
> need to have a proper mirror directory structure?  Currently I just
> have an empty directory?
> 
> Is this the way the ubuntu folks do it?

The ubuntu folks use a full mirror.  Partial mirroring is an attempt to
with the fact that at the time I didn't have enough space for a full
i386 mirror so needed to generate mirror with just the packages I
needed.  If you have enough for a full hardy i386 binary mirror, I
would suggest using debmirror.  I had forgotten to update the wiki to
reflect that best practice is to not use a partial mirror (based on
package lists).

Regards,

Daniel

-- 
And that's my crabbing done for the day.  Got it out of the way early, 
now I have the rest of the afternoon to sniff fragrant tea-roses or 
strangle cute bunnies or something.   -- Michael Devore
GnuPG Key Fingerprint 86 F5 81 A5 D4 2E 1F 1C      http://gnupg.org
No more sea shells:  Daniel's Weblog    http://cshore.wordpress.com

Attachment: signature.asc
Description: PGP signature


Reply to: