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

Re: be my own official primary debian source



On Thu, Dec 20, 2001 at 01:42:52PM -0800, pjordan@whitehorse.blackwire.com wrote:
> On Mon, Dec 17, 2001 at 04:44:34PM -0500, mdanish@andrew.cmu.edu wrote:
> > There's nothing mysterious about creating your own APT archive.  See
> > the manual file for 'apt-ftparchive' to create Packages and Sources files.
> 
> Seeing as how sid uses the debian/dists/pool tree structure,
> I think this would be a good thing to mimic.  However,
> apt-ftparchive doesn't grok it.
> 
> I created a /var/www/debian/dists/pool/ and some subdirs and
> copied my .debs into them and tried various contortions of apt-ftparchive
> and dpkg-scanpackages and nothing happens.
> 
> What I really want to know, is what script is run on the official
> mirrors that parses the pool directories and generates
> the Packages and Release files all on one go.
> Actually, not even the official mirrors, but the server that is
> mirrored.  I just want to "apt-get install"
> the package that gives me the capability to be my own official debian
> primary source.

If I'm not mistaken, the script that generates the Packagesfiles gets it's
information from an sql database.
I don't know if this database can be used anonymously, however, you don't
need that database to get the information, since you can find all you need
in /var/lib/apt/lists/*_Packages.

HTH
Admar
 



Reply to: