Page 1 of 1
unpacking .txz?
Posted: 12. Jan 2011, 13:19
by mimosa
Code: Select all
mimosa[loffice]$ tar -zxvf ../libreoffice-3.3.0.2-i486-1alien.txz
gzip: stdin: not in gzip format
tar: Child returned status 1
Info here
http://slackblogs.blogspot.com/2009/05/ ... files.html
suggests the need to update tar etc. - but surely Salix already did?
The md5sum is correct, so it's not a bad download.
Re: unpacking .txz?
Posted: 12. Jan 2011, 13:31
by witek
shoudn`t this be tar Jxvf file.txz? well
http://lmgtfy.com/?q=extract+txz
Re: unpacking .txz?
Posted: 12. Jan 2011, 13:42
by mimosa
Quite so, thanks!
I did google it - but I then went for the information about problems with the format and not how to use the tar command, which I thought I already knew. It's what you don't know you don't know that screws you, as I think Donald Rumsfeld said.
Re: unpacking .txz?
Posted: 12. Jan 2011, 13:48
by linus72
additionally if you have pkgtool installed you could just do
explodepkg ../libreoffice-3.3.0.2-i486-1alien.txz
Re: unpacking .txz?
Posted: 12. Jan 2011, 15:46
by JRD
You drop the -z, -j or -J. tar will automatically determine the compression algorithm.
Re: unpacking .txz?
Posted: 12. Jan 2011, 18:58
by mimosa
Thanks linus72 - I did that. The effect is the same as using tar, is that right? And thanks for the tip JRD. If I'd known that I wouldn't have had the original problem. But when I did this:
Code: Select all
root[libre]# chmod +x ./install/doinst.sh
root[libre]# ./install/doinst.sh
nothing much seemed to happen, bar a slight pause and no output. I tried running it not as root and it produced a lot of permission denied errors. OpenOffice appears untouched (looking at the script, it seems to be replacing bits of it with new stuff). The read me file inside ./usr/doc ... is Greek to me. Should I follow its instructions? Have I downloaded the right file (in [alien]/pkg ...) - or should I have got the SlackBuild file in [alien]/build?
Maybe I'm just out of my depth here, in which case it's hardly the end of the world. Before the advent of slapt-src, I was totally defeated by slackbuilds, even with the instructions available on this site.
Re: unpacking .txz?
Posted: 12. Jan 2011, 21:32
by laprjns
So then your really trying to install the libreoffice-3.3.0.2-i486-1alien.txz package. No need to untar txz packages to install, just do the following as root;
Code: Select all
root[rich]# spkg -i libreoffice-3.3.0.2-i486-1alien.txz
Re: unpacking .txz?
Posted: 13. Jan 2011, 05:35
by mimosa
Well, that was easy!
Thanks Rich.