SlackwareThis Forum is for the discussion of Slackware Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
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
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#
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.
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#
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.
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.
Location: 3rd electron on the left getting mugged by the nutrinos
Distribution: Slackware 13.1 32b
Posts: 125
Rep:
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.
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.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.