[Nix-dev] how to find packages by file?
Benno Fünfstück
benno.fuenfstueck at gmail.com
Thu Mar 16 00:29:41 CET 2017
I've been working on a similar tool that stores the paths in a
locatedb-like format and compresses the result with zstandard. Size is
about 13mb
Bjørn Forsman <bjorn.forsman at gmail.com> schrieb am Mi., 15. März 2017,
17:05:
> On 15 March 2017 at 16:39, Domen Kožar <domen at dev.si> wrote:
> > It's a few GB per channel commit. At least stored in SQL as-is.
> >
> > With compression and denormalization that could be improved though :)
>
> Ah, I guess that's why you have to run "apt-file update" on Debian to
> get it. It's not there by default.
>
> I checked one of the files that it downloads (Contents-amd64.gz).
> That's a 32 MiB file that when extracted becomes a 480 MiB plain text
> file. So it's comparable to your figure -- apt-file downloads a few of
> these files (one per apt repository).
>
> However, apt-file never extracts the files, it simply runs zfgrep on
> the ~32 MiB sized .gz files. So it's not that bad.
>
> Best regards,
> Bjørn Forsman
> _______________________________________________
> nix-dev mailing list
> nix-dev at lists.science.uu.nl
> http://lists.science.uu.nl/mailman/listinfo/nix-dev
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.science.uu.nl/pipermail/nix-dev/attachments/20170315/4c1dca90/attachment-0001.html>
More information about the nix-dev
mailing list