Tiny Core Linux

Tiny Core Base => TCB Q&A Forum => Topic started by: neonix on September 21, 2024, 07:11:28 AM

Title: LZMA2 in tar
Post by: neonix on September 21, 2024, 07:11:28 AM
I tried to unpack vivaldi deb and it use LZMA2 compression. Does busybox' s tar or binutils tar support LZMA2?
Title: Re: LZMA2 in tar
Post by: mocore on September 21, 2024, 07:25:00 AM
it appears busybox xz does that ...
https://www.busybox.net/
Quote
# 1 January 2014 -- BusyBox 1.22.0 (unstable)
...
xz: fix decoding of LZMA2 streams having no uncompressed data.

I tried to unpack vivaldi deb and it use LZMA2 compression.
presumably this fails ?
...if so ..
 how dose it fail !?!!


Title: Re: LZMA2 in tar
Post by: neonix on May 16, 2025, 02:43:29 PM
Code: [Select]
wget --no-check-certificate https://downloads.vivaldi.com/stable/vivaldi-stable_6.7.3329.27-1_amd64.deb
ar x *.deb
sudo tar fxJ /home/tc/data.tar.xz
Title: Re: LZMA2 in tar
Post by: yvs on May 17, 2025, 02:44:26 PM
If it works with smaller archives, likely that dictionary size is too big for embedded version.