Re: Generating pkglist
On Thu, Aug 15, 2002 at 03:29:03AM -0400, Richard Lemay wrote:
> Hello All.
>
> I'm used to have a script that generate Packages so I can use apt-get
> with my favorites local directories of packages. Here's what it contains:
Good. I was thinking doning it. Now I know.
list shall be package name not file name
> ls $1 > $1/list
> dpkg-scanpackages $1 $1/list > $1/Packages
> rm $1/list
# cd archive
# ls $1 |sed '_.*$/option AAA/' >overide
# dpkg-scanpackages . overide > Packages
> So my question is... is there a less dirty way of generating Packages
> that would be more friendly to apt? Because this method, of course, make
> dpkg-scanpackages return a warning message. Is there already a build-in
> tool that I could use?
If there is easier way, I want to know.
--
~\^o^/~~~ ~\^.^/~~~ ~\^*^/~~~ ~\^_^/~~~ ~\^+^/~~~ ~\^:^/~~~ ~\^v^/~~~ +++++
Osamu Aoki @ Cupertino CA USA
See "User's Guide": http://www.debian.org/doc/manuals/users-guide/
See "Debian reference": http://www.debian.org/doc/manuals/debian-reference/
"Debian reference" Project at: http://qref.sf.net
I welcome your constructive criticisms and corrections.
Reply to: