LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 07-22-2011, 03:36 AM   #1
Konphine
Member
 
Registered: Jul 2011
Location: Phoenix, New York
Distribution: Slackware 13.37
Posts: 376

Rep: Reputation: 11
Ark can't open .xz File


Well, apparently .xz files aren't readable by Ark, but I need my computer to be able to read it in order install a package. Does anybody know how or what I can do to allow my computer to read .xz packages?
 
Old 07-22-2011, 03:46 AM   #2
Diantre
Member
 
Registered: Jun 2011
Distribution: Slackware
Posts: 515

Rep: Reputation: 228Reputation: 228Reputation: 228
They should be readable by ark. Use xz to check file integrity:

Code:
$ xz -tv yourfile.xz
 
Old 07-22-2011, 03:48 AM   #3
Konphine
Member
 
Registered: Jul 2011
Location: Phoenix, New York
Distribution: Slackware 13.37
Posts: 376

Original Poster
Rep: Reputation: 11
I get this error message:

Quote:
xz: /home/thomas/src/glibmm/glibmm-2.28.2.tar.xz: File format not recognized
 
Old 07-22-2011, 03:53 AM   #4
Diantre
Member
 
Registered: Jun 2011
Distribution: Slackware
Posts: 515

Rep: Reputation: 228Reputation: 228Reputation: 228
Use the file command to find out the type of file it is:

Code:
$ file glibmm-2.28.2.tar.xz
 
Old 07-22-2011, 03:54 AM   #5
Cheesesteak
Member
 
Registered: Jun 2008
Distribution: Slackware
Posts: 102

Rep: Reputation: 24
try this at a command line.

Code:
tar -Cxvf /home/thomas/src/glibmm/glibmm-2.28.2.tar.xz
 
Old 07-22-2011, 04:01 AM   #6
Konphine
Member
 
Registered: Jul 2011
Location: Phoenix, New York
Distribution: Slackware 13.37
Posts: 376

Original Poster
Rep: Reputation: 11
Diantre, with your code I got:

Quote:
/home/thomas/src/glibmm/glibmm-2.28.2.tar.xz: HTML document text
-----------------------------------------
Cheesesteak, with yours I got:
Quote:
tar: You must specify one of the `-Acdtrux' or `--test-label' options
Try `tar --help' or `tar --usage' for more information.
Edit:
Knowing how much you guys have helped me out, you can probably tell this already but it's a SlackBuilds library file that I'm trying to install, and when I use:
Quote:
./glibmm.SlackBuild
I get this:
Quote:
xz: (stdin): File format not recognized
tar: Child returned status 1
tar: Error is not recoverable: exiting now

Last edited by Konphine; 07-22-2011 at 04:05 AM.
 
Old 07-22-2011, 04:03 AM   #7
Diantre
Member
 
Registered: Jun 2011
Distribution: Slackware
Posts: 515

Rep: Reputation: 228Reputation: 228Reputation: 228
If it's a HTML file you can view it with any editor or pager. Open it with kwrite or kate.
 
Old 07-22-2011, 04:13 AM   #8
Konphine
Member
 
Registered: Jul 2011
Location: Phoenix, New York
Distribution: Slackware 13.37
Posts: 376

Original Poster
Rep: Reputation: 11
It said there was an internal error and couldn't open it. Even if I did open it in such a way, the glibmm.SlackBuild file needs to use it to create the .tgz file. How would I set it to do this?
 
Old 07-22-2011, 04:15 AM   #9
Diantre
Member
 
Registered: Jun 2011
Distribution: Slackware
Posts: 515

Rep: Reputation: 228Reputation: 228Reputation: 228
I have that package, glibmm-2.28.2, installed with sbopkg. The xz file should be around 4.5 MB. Why don't you delete it or move it elsewhere and have sbopkg download it again?
 
1 members found this post helpful.
Old 07-22-2011, 04:19 AM   #10
Konphine
Member
 
Registered: Jul 2011
Location: Phoenix, New York
Distribution: Slackware 13.37
Posts: 376

Original Poster
Rep: Reputation: 11
Thank you Diantre! It worked now after I deleted it and re-downloaded it. I don't know why the first .xz file didn't work. Any ideas?
 
Old 07-22-2011, 04:26 AM   #11
Diantre
Member
 
Registered: Jun 2011
Distribution: Slackware
Posts: 515

Rep: Reputation: 228Reputation: 228Reputation: 228
Once I was trying to download a non-existent link. Since the file was moved, I was getting an HTML page instead (a 404 error) and it was saved with the file's name. Probably something like that happened, don't know... Anyway, glad you have it working now.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Ark unable to open RAR? binary1011100 Linux - Newbie 2 08-30-2006 11:01 AM
Geting error loop QFike:getch: File not open QFile:atEnd: this file is not open badgerbox76 Linux - Newbie 6 01-07-2006 05:30 PM
LXer: DistroWatch Weekly: Le loi DADVSI, open source migrations in Berlin, Prague and Cape Town, SESUSE, Ark Linux 2005.2 LXer Syndicated Linux News 0 12-12-2005 04:46 AM
Yoper and ark dual boot but ark wont boot?? wrat Linux - Newbie 0 01-31-2005 07:03 AM
Making Ark and KDE file manager read ZIP files. xode Linux - Software 3 10-13-2003 03:12 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 07:26 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration