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

Re: Local distribution mirror plus "localization" site



On Thu, Nov 09, 2000 at 04:07:58PM -0600, Robert Guthrie wrote:

> If I have a set of .deb packages that aren't part of the official debian 
> distribution, how can I get them into an apt-getable directory structure, 
> complete with Packages.gz and Sources file?
> 
> Can someone point us in the right direction?  Please?

The simplest way to do it is:

cd dir/with/your/debs
dpkg-scanpackages '' /dev/null . | gzip -9 >Packages.gz
dpkg-scansources '' /dev/null . | gzip -9 >Sources.gz

-- 
Paul Martin <pm@zetnet.net> (work)
  <pm@nowster.zetnet.co.uk> (home)



Reply to: