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

Re: apt-get with Packages out of arbitrary directory?



manegold@uni-trier.de wrote:
>Is there a way to use apt-get on packages in a directory somewhere on a
>system, that are not organized like archive and that do not have
>Packages.gz files (how are those created anyhow?).

You need a Packages.gz file. They're not hard to create, though.
dpkg-scanpackages produces Packages files given an archive (it doesn't
necessarily have to be organized the same way as the Debian archive) and
an "override file" stating sections and priorities; you then gzip the
output. dpkg-scansources does a similar thing for source archives.

-- 
Colin Watson                                     [cjw44@flatline.org.uk]



Reply to: