LinuxQuestions.org
Go Job Hunting at the LQ Job Marketplace
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
 
LinkBack Search this Thread
Old 08-02-2004, 11:24 AM   #16
onegear
LQ Newbie
 
Registered: Aug 2004
Location: Indianapolis, IN
Distribution: FreeBSD, Slackware
Posts: 14

Original Poster
Rep: Reputation: 0

Okay.....

the 'xf' did something a little different. Following is the output:

bash-2.05b# tar xf swaret-1.6.2-noarch-1.tgz.tar
bash-2.05b# ls
etc install swaret-1.6.2-noarch-1.tgz.tar usr

Just not sure what to do from here.
 
Old 08-02-2004, 11:25 AM   #17
darin3200
Guru
 
Registered: Dec 2002
Distribution: Gentoo!
Posts: 1,153

Rep: Reputation: 45
Quote:
Originally posted by Cedrik
Well, the man who made the archive must was drunk lol he named badly his file (which brings me into error, I thought of a tared slackware package)
Yeh, probably We should have just saved some server bandwidth and taken this chat to irc
 
Old 08-02-2004, 11:30 AM   #18
Cedrik
Senior Member
 
Registered: Jul 2004
Distribution: Slackware
Posts: 2,040

Rep: Reputation: 210Reputation: 210Reputation: 210
onegear, try the command I indicated on my edited post :

tar xjf swaret-1.6.2-noarch-1.tgz.tar
installpkg swaret-1.6.2-noarch-1.tgz
 
Old 08-02-2004, 11:31 AM   #19
onegear
LQ Newbie
 
Registered: Aug 2004
Location: Indianapolis, IN
Distribution: FreeBSD, Slackware
Posts: 14

Original Poster
Rep: Reputation: 0
will do.
 
Old 08-02-2004, 11:34 AM   #20
onegear
LQ Newbie
 
Registered: Aug 2004
Location: Indianapolis, IN
Distribution: FreeBSD, Slackware
Posts: 14

Original Poster
Rep: Reputation: 0
Tried and received the following:

bash-2.05b# tar xjf swaret-1.6.2-noarch-1.tgz.tar
bzip2: (stdin) is not a bzip2 file.
tar: Child returned status 2
tar: Error exit delayed from previous errors
bash-2.05b#
 
Old 08-02-2004, 11:39 AM   #21
darin3200
Guru
 
Registered: Dec 2002
Distribution: Gentoo!
Posts: 1,153

Rep: Reputation: 45
onegear, have you tried 'tar zxvf swaret.tgz.tar' ? What's the output?
 
Old 08-02-2004, 11:40 AM   #22
Cedrik
Senior Member
 
Registered: Jul 2004
Distribution: Slackware
Posts: 2,040

Rep: Reputation: 210Reputation: 210Reputation: 210
What the hell is this file ???

Last suggestion, it is a normal package with a .tar extension added so :
mv swaret-1.6.2-noarch-1.tgz.tar swaret-1.6.2-noarch-1.tgz
installpkg swaret-1.6.2-noarch-1.tgz

And put the link where you downloaded this file please.
 
Old 08-02-2004, 11:42 AM   #23
onegear
LQ Newbie
 
Registered: Aug 2004
Location: Indianapolis, IN
Distribution: FreeBSD, Slackware
Posts: 14

Original Poster
Rep: Reputation: 0
bash-2.05b# tar zxvf swaret.tgz.tar
tar: swaret.tgz.tar: Cannot open: No such file or directory
tar: Error is not recoverable: exiting now
tar: Child returned status 2
tar: Error exit delayed from previous errors
bash-2.05b#
 
Old 08-02-2004, 11:45 AM   #24
darin3200
Guru
 
Registered: Dec 2002
Distribution: Gentoo!
Posts: 1,153

Rep: Reputation: 45
Here is the link to the file I have
http://sourceforge.net/project/showf...ease_id=220188
tar -zxvf worked fine for me on that file.
 
Old 08-02-2004, 11:49 AM   #25
Crashbox
Member
 
Registered: Jun 2004
Location: USA
Distribution: Slackware
Posts: 136

Rep: Reputation: 21
ok, guys, the problem is that the extra 'tar' on the end isn't actually supposed to be there. depending how the file was downloaded, this extension sometimes gets added. i had it happen when i downloaded a few packages with windows (i am required to use windows at the office). so, just rename the file by removing the '.tar' and then you should have no trouble using the 'installpkg' command to install it.

good luck

-crash
 
Old 08-02-2004, 11:50 AM   #26
onegear
LQ Newbie
 
Registered: Aug 2004
Location: Indianapolis, IN
Distribution: FreeBSD, Slackware
Posts: 14

Original Poster
Rep: Reputation: 0
Quote:
Originally posted by Cedrik
What the hell is this file ???

Last suggestion, it is a normal package with a .tar extension added so :
mv swaret-1.6.2-noarch-1.tgz.tar swaret-1.6.2-noarch-1.tgz
installpkg swaret-1.6.2-noarch-1.tgz

And put the link where you downloaded this file please.
I'll be damned!! That worked. Why was the package created this way?

After installing the package with installpkg, I moved it from /etc/swaret.conf.new to /etc/swaret.conf and configured it the way I like.

Everything is now working fine.

Thanks for all of your patience and help!

-chad
 
Old 09-02-2004, 11:12 PM   #27
Imyrryr
Member
 
Registered: Aug 2003
Location: 3rd electron on the left getting mugged by the nutrinos
Distribution: Slackware 13.1 32b
Posts: 125

Rep: Reputation: 15
Quote:
Originally posted by Cedrik
Well, the man who made the archive must was drunk lol he named badly his file (which brings me into error, I thought of a tared slackware package)

[edit]
Now I am thinking... It may be a bziped archive, so the command :

tar xjf swaret-1.6.2-noarch-1.tgz.tar

should uncompress the slackware package
As cheezy as it sounds, all I did was $>mv goober.tgz.tar goober.tgz and then ran installpkg goober.tgz. Ran like a champ.
 
Old 09-03-2004, 01:18 AM   #28
jong357
Senior Member
 
Registered: May 2003
Location: Columbus, OH
Distribution: DIYSlackware
Posts: 1,914

Rep: Reputation: 50
Heh, heh.... Yea... It's a Windows thing. Actually, I think it's a WinZip thing. It does some shell integration and starts checking things you want to download. If it decides it should be something else, it's going to rename it without asking you.

Rule of thumb. Don't download anything with Windows. Atleast not a linux package... :-) tgz's are really the only thing that I've noticed it doing that with.... Still..... That's shoddy.
 
Old 09-03-2004, 06:57 PM   #29
r_jensen11
Senior Member
 
Registered: Apr 2003
Location: Minnesota, USA
Distribution: Slack 10.0 w/2.4.26
Posts: 1,032

Rep: Reputation: 45
try renaming it to the same name, just taking the .tar off the end, then run installpkg
 
  


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
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Installing an RPM or Tar.GZ package on CDROM in Command Line. mr.linux.noob Linux - General 10 10-28-2008 02:04 AM
installing .tgz.tar packages slack_is_good Slackware 6 12-18-2003 01:14 PM
Error while installing package.tar.tar isone Linux - Software 2 11-03-2003 12:58 PM
.rpms, .tar.gz, .tgz, .src.rpm, & .tar.bz2 whoots Mandriva 10 10-18-2003 01:08 PM
.tgz or .tar.gz c0c0deuz Linux - General 9 12-14-2001 11:37 AM


All times are GMT -5. The time now is 11:20 AM.

Main Menu
 
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
identi.ca: @linuxquestions
Facebook: @linuxquestions
Open Source Consulting | Domain Registration