unpacking .txz?

You have a problem with Salix? Post here and we'll do what we can to help.
Post Reply
User avatar
mimosa
Salix Warrior
Posts: 3311
Joined: 25. May 2010, 17:02
Contact:

unpacking .txz?

Post 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.
User avatar
witek
Posts: 233
Joined: 16. Nov 2009, 13:41
Location: Poland.Łódź

Re: unpacking .txz?

Post by witek »

shoudn`t this be tar Jxvf file.txz? well http://lmgtfy.com/?q=extract+txz
User avatar
mimosa
Salix Warrior
Posts: 3311
Joined: 25. May 2010, 17:02
Contact:

Re: unpacking .txz?

Post 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.
linus72
Posts: 79
Joined: 1. Dec 2009, 00:12

Re: unpacking .txz?

Post by linus72 »

additionally if you have pkgtool installed you could just do

explodepkg ../libreoffice-3.3.0.2-i486-1alien.txz
User avatar
JRD
Salix Warrior
Posts: 950
Joined: 7. Jun 2009, 22:52
Location: Lyon, France

Re: unpacking .txz?

Post by JRD »

You drop the -z, -j or -J. tar will automatically determine the compression algorithm.
Image
User avatar
mimosa
Salix Warrior
Posts: 3311
Joined: 25. May 2010, 17:02
Contact:

Re: unpacking .txz?

Post 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.
User avatar
laprjns
Salix Warrior
Posts: 1113
Joined: 28. Aug 2009, 01:30
Location: Connecticut USA

Re: unpacking .txz?

Post 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
“The past was erased, the erasure was forgotten, the lie became the truth.”
― George Orwell, 1984
User avatar
mimosa
Salix Warrior
Posts: 3311
Joined: 25. May 2010, 17:02
Contact:

Re: unpacking .txz?

Post by mimosa »

Well, that was easy! :roll:

Thanks Rich.
Post Reply