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 05-23-2004, 03:59 PM   #1
linguae
LQ Newbie
 
Registered: Apr 2004
Distribution: FreeBSD 5.1
Posts: 11

Rep: Reputation: 0
Hard Time Installing Packages That Don't Already Come in *.tgz Format


Hello. I am using the ZipSlack distribution in Slackware 9.1, which enables me to dual-boot between Windows and Linux on one DOS partition. I downloaded the file utempter-0.5.2-i486-2.tgz.gz using Windows and placed it into a Windows folder, made a ZIP file and copied it to my Linux folder (I did that because whenever I download a file directly into my Linux folder that has multiple periods, whenever Linux boots up, it garbles up the filename; besides, I can't download it through Linux [stupid Winmodems, don't get me started...]), but when I booted into Linux, unzipped the file and gunzipped the file to make it into a *.tgz file, whenever I run pkgtool or installpkg in order to install the package, it returns a message saying that "the package is corrupt." I notice that I don't get this problem whenever I download a file that already comes in *.tgz format (even if it was in the *.zip format before it was extracted). What do I need to do differently so that way the file can work? Thank you.
 
Old 05-23-2004, 04:09 PM   #2
hp_tux
Member
 
Registered: Mar 2004
Location: Germany
Distribution: Slackware 14
Posts: 87

Rep: Reputation: 15
Hello,

Quote:
I downloaded the file utempter-0.5.2-i486-2.tgz.gz using Windows
hmm, I hope you didn't use the Internet Exploder for that!

cu

hp_tux
 
Old 05-23-2004, 04:17 PM   #3
linguae
LQ Newbie
 
Registered: Apr 2004
Distribution: FreeBSD 5.1
Posts: 11

Original Poster
Rep: Reputation: 0
No, I don't use Internet Exploder (I know better than that). I use Mozilla.

Last edited by linguae; 05-23-2004 at 04:18 PM.
 
Old 05-23-2004, 04:27 PM   #4
hp_tux
Member
 
Registered: Mar 2004
Location: Germany
Distribution: Slackware 14
Posts: 87

Rep: Reputation: 15
Hello,

well, did you try to rename the file before or after downloading, and rename it in Linux to its original name instead of zipping it?

cu

hp_tux
 
Old 05-23-2004, 04:28 PM   #5
shilo
Senior Member
 
Registered: Nov 2002
Location: Stockton, CA
Distribution: Slackware 11 - kernel 2.6.19.1 - Dropline Gnome 2.16.2
Posts: 1,132

Rep: Reputation: 49
Here's what I do. I always forget or mess up stuff when I am dealing with compressed files. Try using file roller to extract all of the files. The problem that you are having (and this is a total guess, here) is that utempter-0.5.2-i486-2.tgz is not a slackware package. The .tgz in this case just means that the file is tarred and gzipped. Once you unpack then file, you will probably see that what you have is just the source, and not a pre-compiled binary. You will need to read the README file. Probably just have to change to the new directory after unpacking and:
Code:
./configure
make
make install
You can also look into a program called checkinstall. It will make the souerce into a Slackware package for you so that you can upgrade/re-install more easily.
 
Old 05-23-2004, 04:44 PM   #6
hp_tux
Member
 
Registered: Mar 2004
Location: Germany
Distribution: Slackware 14
Posts: 87

Rep: Reputation: 15
Hello,

Quote:
that utempter-0.5.2-i486-2.tgz is not a slackware package.
hmm, have you ever seen a tarball especially for "i486"?

cu

hp_tux
 
Old 05-23-2004, 04:56 PM   #7
shilo
Senior Member
 
Registered: Nov 2002
Location: Stockton, CA
Distribution: Slackware 11 - kernel 2.6.19.1 - Dropline Gnome 2.16.2
Posts: 1,132

Rep: Reputation: 49
http://ftp.scarlet.be/pub/slackware/...1.1-i486-1.tgz
this is the package you want.

http://ftp.scarlet.be/pub/slackware/...r-0.5.2.tar.gz
this is the source you got.

Download the first one. I believe that there was a security issue with the source that you have.
 
Old 05-23-2004, 05:09 PM   #8
linguae
LQ Newbie
 
Registered: Apr 2004
Distribution: FreeBSD 5.1
Posts: 11

Original Poster
Rep: Reputation: 0
Thank you all for your help. I found the solution (shilo posted it after I was finishing installing XFree86/dual-booting into Windows); I downloaded the wrong file. Thank you.
 
  


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
Installing .tgz (Slackware packages) on other distros deadjoebob Linux - Newbie 3 06-10-2004 11:54 AM
installing .tgz.tar packages slack_is_good Slackware 6 12-18-2003 01:14 PM
installing rpm and tgz packages?? Ikik General 6 10-07-2003 09:00 AM
Hard Time Installing Packages. rvijay Linux - Newbie 1 09-15-2003 09:19 AM
creating packages (.tgz/.deb/.rpm) How from the source packages? l_9_l Linux - General 1 03-06-2002 07:03 PM


All times are GMT -5. The time now is 06:31 PM.

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