[Merge] lp:~oheoh/command-not-found/command-not-found into lp:command-not-found

Raphael Kienhöfer raphael at ubuntu.oheoh.de
Mon Apr 27 20:58:24 UTC 2020


Raphael Kienhöfer has proposed merging lp:~oheoh/command-not-found/command-not-found into lp:command-not-found.

Commit message:
db creator: Add handling for lz4-compressed command lists from apt

Requested reviews:
  Ubuntu Core Development Team (ubuntu-core-dev)

For more details, see:
https://code.launchpad.net/~oheoh/command-not-found/command-not-found/+merge/383023

Measures were put in place for command-not-found to not need python3-lz4 (universe) to be installed to work, it only is required if one wants to process lz4-compressed apt command lists.

Testing:
- enable apt index compression:
   /etc/apt/apt.conf.d/02compress-indexes:
    Acquire::GzipIndexes "true";
    Acquire::CompressionTypes::Order { "xz"; "gz"; };
    Acquire::Languages { "none"; };
- delete cnf DBs if they already exist
   rm /var/lib/command-not-found/*
- run apt update
- command lists in ls /var/lib/apt/lists/*Commands-* now are lz4-compressed
- command-not-found still works as intended
-- 
Your team Ubuntu Core Development Team is requested to review the proposed merge of lp:~oheoh/command-not-found/command-not-found into lp:command-not-found.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: review-diff.txt
Type: text/x-diff
Size: 1440 bytes
Desc: not available
URL: <https://lists.ubuntu.com/archives/ubuntu-reviews/attachments/20200427/0ecd24f2/attachment.diff>


More information about the Ubuntu-reviews mailing list