LinuxQuestions.org
LinuxAnswers - the LQ Linux tutorial section.
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 08-05-2003, 11:30 PM   #1
synaptical
Senior Member
 
Registered: Jun 2003
Distribution: Mint 13/15, CentOS 6.4
Posts: 2,020

Rep: Reputation: 46
installpkg: where's the install???


i downloaded some precompiled slackware packages to install, cd to directory, su [passwd], did installpkg filename.tgz, output says it's installing the package, package description, executing install script, etc., then...nothing. i can't find a trace of the installed program anywhere. same has happened before with tgz files (tried using pkgtool, btw -- same results), but i was too busy and said screw it and just used source files from then on. but now i'd like to know how to install from tgz. what am i missing or doing wrong?
 
Old 08-05-2003, 11:41 PM   #2
slakmagik
Senior Member
 
Registered: Feb 2003
Distribution: Slackware
Posts: 4,113

Rep: Reputation: Disabled
Sounds right to me. If you 'updatedb' and 'locate' and it isn't there, I don't know what's going on. Only thing I could figure was a bad package (and I have gotten one or two of those). Maybe try downloading from somewhere else? Or just get checkinstall and compile from source. I can't figure anything about that that doesn't make it the best of both worlds - your very own Slackware package.

Maybe try 'installpkg -warn fooapp' which will display what installpkg *would* do. Maybe you can see something wrong in that.
 
Old 08-05-2003, 11:45 PM   #3
carboncopy
Senior Member
 
Registered: Jan 2003
Location: Malaysia
Distribution: Fedora Core, Slackware, Mac OS X, Debian, OpenSUSE
Posts: 1,210
Blog Entries: 4

Rep: Reputation: 45
Usually in a "package" especially a slackware specific package, there is a script inside telling where each of the files should go. To know more about where and what has been installed. Run pkgtool in the console, choose View, and choose the specific package which you want to know about.

If you want to run the program which you have installed, checked whether it is in /bin (highly unlikely) /usr/bin, /usr/local/bin, or sbin equivalent. If there is a file copied to one of those path. Then you can invoke (run the prog) by just typing the file (prog name). For example: gs.
 
Old 08-05-2003, 11:46 PM   #4
synaptical
Senior Member
 
Registered: Jun 2003
Distribution: Mint 13/15, CentOS 6.4
Posts: 2,020

Original Poster
Rep: Reputation: 46
i did updatedb and locate (also whereis, which, find / -name foo ), and came up with nothing. it's always happened with tgz packages. i'll try the -warn option, see what that says, thanks.

could the installpkg tool (or tools) themselves be messed up or something? corrupted or bad from the start, or missing dependencies if that's possible? maybe i should try to make a package and see what happens. ?
 
Old 08-05-2003, 11:50 PM   #5
slakmagik
Senior Member
 
Registered: Feb 2003
Distribution: Slackware
Posts: 4,113

Rep: Reputation: Disabled
If it doesn't happen all the time, I wouldn't think anything was wrong with the pkgtools. carboncopy's got it. I must be brain-dead. I was trying to remember how to redirect a stream to tell you what the script was doing when it seemed to be doing nothing - something like 'command 2>&1' or something. Anway - that would still be helpful if installpkg *was* doing something wrong but you can at least see if the package's script is doing something goofy by following carboncopy's post..
 
Old 08-06-2003, 12:12 AM   #6
synaptical
Senior Member
 
Registered: Jun 2003
Distribution: Mint 13/15, CentOS 6.4
Posts: 2,020

Original Poster
Rep: Reputation: 46
using pkgtool viewer, it seems to be truncating the path to r/bin, r/local/bin, etc. instead of /usr/bin, etc. i don't know if that's just a rendering problem in the console or a problem with the installer. however, there is no evidence of any man files in the given paths, either.

when i tried uninstalling the packages using removepkg, for each file it said:

/r/path/path/ no longer exists. Skipping.

[edit: or is it supposed to say that?] pkgtool uninstalled them, though, wtf? esp. with the pkgtool viewer output i would think it was a bad package (what is that /r/ ? root?), but like i said it's happened every time with tgz files. wish i could remember the other ones i tried, but it was a couple of weeks ago.

anyway, i've removed all these latest with pkgtool, and tomorrow i'm going to try to find some other tgz files to test. maybe it was just a coincidence with a couple of bad packages, or maybe something with my system is messed up. thx.

Last edited by synaptical; 08-06-2003 at 12:15 AM.
 
Old 08-06-2003, 02:29 AM   #7
carboncopy
Senior Member
 
Registered: Jan 2003
Location: Malaysia
Distribution: Fedora Core, Slackware, Mac OS X, Debian, OpenSUSE
Posts: 1,210
Blog Entries: 4

Rep: Reputation: 45
You can download the dropline installer to try.
A very small package.

http://www.dropline.net/
 
Old 08-06-2003, 09:51 PM   #8
synaptical
Senior Member
 
Registered: Jun 2003
Distribution: Mint 13/15, CentOS 6.4
Posts: 2,020

Original Poster
Rep: Reputation: 46
i already had dropline installed, so i tried a couple of other packages instead:

+ wished: it installed into / directory, wouldn't run (found out later it was written in tcl/tk, tho, and i remember i didn't install that w/slack -- maybe that's why)
+ kcoloreditor: installed same place, but wouldn't run -- no binary to be found in directory or anywhere on system
+ cooledit: worked!
+ (original pkg was flightgear and the support pkgs, btw)

so the pkgtools are okay, maybe my system just isn't configed properly for some of these programs. i'll keep testing, though now i am on a security learning spree (shutting down all my daemons, rc.inet, etc. ) so i'm not going to worry too much about tgz now since w/some packages it does work. thanks for the help and input.
 
  


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
something about installpkg tintilin Slackware 5 11-26-2004 12:13 AM
installpkg mcd Slackware 4 10-17-2004 09:04 PM
Not sure about installpkg Superdude Linux - Software 8 01-04-2004 05:30 PM
help with installpkg mep]-[isto Slackware 3 11-19-2003 02:27 PM
installpkg question JROCK1980 Slackware 5 11-13-2003 09:02 PM


All times are GMT -5. The time now is 08:28 PM.

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 Google+: linuxquestions
Open Source Consulting | Domain Registration