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

Re: Please add lzip support in the repository



Hi!

On Fri, 2017-06-16 at 00:35:37 +1000, Stuart Prescott wrote:
> > What is `apt-helper cat-file' and how does it help ?

> $ apt-file search apt-helper
> apt: /usr/lib/apt/apt-helper

> $ /usr/lib/apt/apt-helper download-file 
> http://deb.debian.org/debian/dists/sid/main/binary-amd64/Packages.xz 
> Packages.xz
> Get:1 http://deb.debian.org/debian/dists/sid/main/binary-amd64/Packages.xz 
> [7,547 kB]
> Fetched 7,547 kB in 5s (1,446 kB/s)
> 
> $ /usr/lib/apt/apt-helper cat-file Packages.xz | less

And it can be combined with «apt-get indextargets» which makes it even
more useful, for example with something like:

 $ apt-get indextargets --format '$(FILENAME)' "Created-by: Packages" \
     | xargs /usr/lib/apt/apt-helper cat-file

Please see apt-get(8), and acquire-additional-files.txt in the apt-doc
package.

Thanks,
Guillem


Reply to: