LinuxQuestions.org
Visit the LQ Articles and Editorials 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 09-12-2005, 05:15 AM   #1
waterox
Member
 
Registered: Jul 2004
Posts: 62

Rep: Reputation: 15
pkgtools Nightmare HELP!!!!!!!!!!


Ok so now I am looking back wondering why I did something sooooo stupid. I thought that it was not so stupid at the time. I got the upgraded pkgtools TGZ for Slackware 10.1. I was using the kde packagemanager to work with my installations. It works pretty good. But I did not have it upgrade my files. So now I have some major issues with certain programs not working.

Anyways. I double installed two versions of PKGTOOLS. So I deleted the older one. But that did not fix my problems. So I tried upgrade. But it would not let me. So I used REMOVE. Well that removed my Pkgtools. Which are needed to install PkgTools. I can not even install them from the installation disk.

So is there anyway I can cvs PkgTools? Or maybe an rpm. Hey I would be satisfied with a src.



Please help a fool undo his foolish things.
 
Old 09-12-2005, 05:45 AM   #2
Nobber
Member
 
Registered: Jun 2002
Location: Nova Scotia
Distribution: Debian (home), Kubuntu 7.04 (work)
Posts: 265

Rep: Reputation: 30
Can't you just "tar zxf" the pkgtools slackware package while in /, and then "sh /install/doinst.sh"?
 
Old 09-12-2005, 06:53 AM   #3
masonm
Senior Member
 
Registered: Mar 2003
Location: Following the white rabbit
Distribution: Slackware64 13.37 Android 4.0
Posts: 2,248

Rep: Reputation: 46
You should be able to manually install the package as Nobber suggested. It's just shell script.

Remember, the only officially recognized way to manage Slack packages is with Pat's tools pkgtool, installpkg et al, and slackpkg. Avoids a lot of headaches if you stick to them and use some caution about config file changes.

Don't be so hard on yourself. Sometimes the best way to learn is to really bork your system. If you're having multiple problems due to improper package management, perhaps the best solution would simply be to backup your important files, hose the system, and reinstall the whole thing to get a fresh start. Extreme, but sometimes a clean start with lessons learned can be a good thing.
 
Old 09-12-2005, 07:57 AM   #4
jcslacker
LQ Newbie
 
Registered: Jan 2005
Location: New Jersey
Distribution: Slackware
Posts: 11

Rep: Reputation: 0
You could do this...

First untar pkgtools in your home directory...
$ tar -xvzf pkgtools*.tgz

You should now see a number of directories in your homedir sbin, usr, var etc...

Then use it to reinstall itself (installpkg is a shell script in sbin). As root type...
# sbin/installpkg pkgtools*.tgz

As far as I can tell this should work.
 
Old 09-12-2005, 12:46 PM   #5
waterox
Member
 
Registered: Jul 2004
Posts: 62

Original Poster
Rep: Reputation: 15
Quote:
Originally posted by Nobber
Can't you just "tar zxf" the pkgtools slackware package while in /, and then "sh /install/doinst.sh"?
The funny thing is I tried to do that but you kinda need installpkg installed to use the install script. But I read the last post on this. I had unzipped the files to a directory. So I went there and it took me a second to realize that I had to ./install and after that it all worked ok.

Funny thing is it did not fix kpackage Call me lazy but I like to use the graphical point and click system. And hey they included it with Slackware so I figured it was alright. And for the most part it works great.

The funny thing is it reminds me of when I first started in Computers. Everyone had started doing this Zip file thing. It was so cool. But you had to have pkzip to use it. And when it first came out you had to buy pkzip. So I went onto the bbs and bought pkzip. But they sent me Pkzip.zip So the key was in the locked box. That made me go down to the computer store buy it again so I could get an exe of it.


But thanks for all the help. If it were not for linuxquestions. org I probably would have been back to windows a long time ago.
 
  


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
missing pkgtools chopp Slackware 7 02-05-2005 12:41 AM
What have i done! :( (removed pkgtools) BBB Slackware 9 12-31-2004 12:55 PM
Forgot to install pkgtools? jrbush82 Slackware 3 10-27-2004 04:31 AM
pkgtools problem??? brbrow Slackware 2 09-10-2003 01:58 PM
ML 8.2 Nightmare! descras Linux - General 2 08-22-2002 04:06 AM


All times are GMT -5. The time now is 02:06 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