Re: Debian Archive Mgmt
On Wed, 2002-01-30 at 07:21, jose@iteso.mx wrote:
> Im almost sure there is a script/program somewhere there that creates
> Packages.gz and Release files for a given set of .debs in order to use
> them in apt/sources.list
>
> My current script does
>
> dpkg --info |grep relevant fields
> calculate remaining fields (filename,size, md5 etc.)>> Packages
>
> And somewhat does create a 'normal' Packages file, with some fields swapped
> in a different order than in a debian.org packages, but apt-get update
> does not like my Packages file, is states that it can't parse it and quits.
Why not use dpkg-scanpackages ??
apt-get install dpkg-dev to get dpkg-scanpackages.
--
Tot ziens,
Bart-Jan
Reply to: