:: Re: [DNG] Installing local .deb fil…
Forside
Slet denne besked
Besvar denne besked
Skribent: Ralph Ronnquist
Dato:  
Til: dng
Emne: Re: [DNG] Installing local .deb files with dependencies
On Thu, Jul 27, 2023 at 01:45:35PM +0200, Antony Stone wrote:
> On Thursday 27 July 2023 at 13:43:27, Ralph Ronnquist wrote:
>
> > ----------
> > for P in *.deb ; do
> > ar p $P control.tar.xz | tar xOJf - ./control
> > echo
> > done | gzip > Packages.gz
> > ----------
>
> Aha - ta - I'll give this a go :)


I realized the Packages.gz file will need "Filename: ./$P" tags added
to the blocks as well. So possibly it works to add them at the end,
like:

----------
for P in *.deb ; do
ar p $P control.tar.xz | tar xOJf - ./control
echo "Filename: ./$P"
echo
done | gzip > Packages.gz
----------

Ralph.

>
>
> Antony.
>
> --
> Python is executable pseudocode.
> Perl is executable line noise.
>
>                                                    Please reply to the list;
>                                                          please *don't* CC me.
> _______________________________________________
> Dng mailing list
> Dng@???
> https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng