LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   pkgtools Nightmare HELP!!!!!!!!!! (https://www.linuxquestions.org/questions/slackware-14/pkgtools-nightmare-help-362592/)

waterox 09-12-2005 05:15 AM

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.

Nobber 09-12-2005 05:45 AM

Can't you just "tar zxf" the pkgtools slackware package while in /, and then "sh /install/doinst.sh"?

masonm 09-12-2005 06:53 AM

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.

jcslacker 09-12-2005 07:57 AM

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.

waterox 09-12-2005 12:46 PM

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.


All times are GMT -5. The time now is 05:38 PM.