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

Re: apt



On Mon, 22 Mar 1999, imrana wrote:
> 
> However I'm disappointed.
> It doesn't have "scan" support for a unconventional *.deb file stack.(like the
> one I've described above)
> 
> What I'm asking is this:
> 
> Will apt have a "scan" option?
> Is it possible or impossible?

Do you know about dpkg-scanpackages?

This program generates a Packages file from a directory structure, and is
the recommended way to support a custom package set.

dpkg-scanpackages is to be found in the dpkg-dev package.

An example would be like this:

cd /usr/local/repository
dpkg-scanpackages mydebs/ /dev/null > mydebs/Packages

Then, insert into apt/sources.list

deb file:/usr/local/repository mydebs/

(The trailing slash is important)

Jules

/----------------+-------------------------------+---------------------\
|  Jelibean aka  | jules@jellybean.co.uk         |  6 Evelyn Rd        |
|  Jules aka     |                               |  Richmond, Surrey   |
|  Julian Bean   | jmlb2@hermes.cam.ac.uk        |  TW9 2TF *UK*       |
+----------------+-------------------------------+---------------------+
|  War doesn't demonstrate who's right... just who's left.             |
|  When privacy is outlawed... only the outlaws have privacy.          |
\----------------------------------------------------------------------/


Reply to: