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.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Please, stop laughing!
After a complete update of my slackware system with swaret (set to current) "pkgtool" wouldn't
start (ive had this problem before and fixed it by reinstalling pkgtools with swaret) so i tried
"swaret --remove pkgtool" and that worked, and when i then tried
"swaret --update && swaret install pkgtool" it sed that swaret needed pkgtools to install stuff :/ .
I searched for pkgtools on slackware.com and found the package.... in .tgz format :S .
So i can't install pkgtools since i NEED pkgtools to install pkgtools.... :S
What now?
If the previous suggestion doesn't work out for you, but it should - download the source
from ftp, unzip, and in the sbin directory is the installpkg script. might have to chmod it,
but its there.
If you have the old pkgtools .tgz, couldn't you just untar it in the root directory? This would amount to a manual install. (Unless you cleaned it up, you should be able to find it in /var/log/removed_packages.)
Code:
cd /
tar -xzvf /var/log/removed_packages/pkgtools*.tgz
Then you could use installpkg so that the package info is placed in /var/log/packages and the script (if there is one) is run.
Good idea, major.tom. That's basically what I would do. The only thing is that the file /var/log/removed_packages/pkgtools-... contains only the list of files, so we need to do
Code:
cd /
tar xvfz /mnt/cdrom/slackware/a/pkgtools-*.tgz
Then we can use installpkg to install pkgtools to finish.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.