Results 1 to 3 of 3

Thread: format of .lz4 files in /var/lib/apt/lists

  1. #1
    Join Date
    Jan 2010
    Location
    Wheeling WV USA
    Beans
    2,021
    Distro
    Xubuntu 20.04 Focal Fossa

    format of .lz4 files in /var/lib/apt/lists

    there are a bunch of files in /var/lib/apt/lists. several, including the 4 largest files, have the .lz4 extension. i have tried to uncompress these files but everything i try with the xz, lzma, and unlzma commands tells me that the format is not recognized. i am assuming they are in some raw format which requires knowing the custom filter chains that were used. does anyone know how to uncompress these files? i think they may be the ones that list all the files in all repository packages. if so, those are the ones i need to have my script read.
    Mask wearer, Social distancer, System Administrator, Programmer, Linux advocate, Command Line user, Ham radio operator (KA9WGN/8, tech), Photographer (hobby), occasional tweetXer

  2. #2
    Join Date
    Jun 2007
    Location
    Arizona U.S.A.
    Beans
    5,724

    Re: format of .lz4 files in /var/lib/apt/lists

    does anyone know how to uncompress these files?
    lz4 command should do it.

    Code:
     lz4  file.lz4
    would decompress the file.
    Code:
    dmn@Sydney:~$ apt-cache policy lz4
    lz4:
      Installed: 1.9.2-2ubuntu0.20.04.1
      Candidate: 1.9.2-2ubuntu0.20.04.1
      Version table:
     *** 1.9.2-2ubuntu0.20.04.1 500

  3. #3
    Join Date
    Jan 2010
    Location
    Wheeling WV USA
    Beans
    2,021
    Distro
    Xubuntu 20.04 Focal Fossa

    Re: format of .lz4 files in /var/lib/apt/lists

    thank you very much. i was not aware of that command or any others shown on its man page. i should have, at lest, tried finding a man page for the extension.
    Mask wearer, Social distancer, System Administrator, Programmer, Linux advocate, Command Line user, Ham radio operator (KA9WGN/8, tech), Photographer (hobby), occasional tweetXer

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •