SliTaz SliTaz Forum

You are not logged in.

#1 2015-01-23 15:29:59

Emmanuel
Member
Registered: 2014-05-21
Posts: 16

busybox zcat failed

zcat (provided by busybox) failed in 1.23 (works correctly in 1.22.1) if the file extension doesn't match with the compression.

[attachment=35746,1842]

Offline

#2 2015-01-28 07:48:08

Emmanuel
Member
Registered: 2014-05-21
Posts: 16

Re: busybox zcat failed

Due to this bug, it is not possible to install the last rolling slitaz 5.

Tazinst use zcat to decompress rootfs.gz...

[c]( zcat "$i" 2>/dev/null || /usr/bin/lzma d "$i" -so || \
  1884           cat "$i" ) 2>>"$LOG" | /bin/busybox cpio -idu[/c]

Offline

#3 2015-01-28 08:22:53

bellard
Administrator
Registered: 2011-03-28
Posts: 657

Re: busybox zcat failed

Looks like a status problem :

tux@slitaz:~$ zcat rootfs4.gz ; echo $?

zcat: out of memory

0

Offline

#4 2015-01-30 20:29:48

bellard
Administrator
Registered: 2011-03-28
Posts: 657

Re: busybox zcat failed

The fix: http://hg.slitaz.org/wok/rev/76ff15b5d3ea

Offline

#5 2015-01-30 21:17:05

Emmanuel
Member
Registered: 2014-05-21
Posts: 16

Re: busybox zcat failed

Thank you @bellard the issue is solved.

Offline

Registered users online in this topic: 0, guests: 1
[Bot] ClaudeBot

Board footer

Powered by FluxBB
Modified by Visman

[ Generated in 0.016 seconds, 7 queries executed - Memory usage: 1.53 MiB (Peak: 1.77 MiB) ]