Install pkgtools
While upgrading packages, removed pkgtools.
Is there a way to install subj? |
Hmmm Maybe the install media has that.
|
I have file pkgtools-15.0-noarch-30.txz, but I can't call installpkg: Command not found
|
Quote:
Code:
1. Download the right version of pkgtools from some mirror: 4. rm -rf /install Now you've got an "installpkg" script again, so now you can really install it with 5. installpkg <that pkgtools file> which will actually not do much, but it will create the pkgtools entries in the installed packages and scripts dirs. |
ehartman, thanks! You saved me! :-D
|
A more accepted solution would be to boot from the install media, follow the instructions in the paragraph starting with "In a pinch..", chroot to the crippled install and then run pkgtools from the install media.
|
ehartman's suggestion works great if you don't want to reboot. allend's suggestion would have you boot off the install media, which will put you to a mini Slackware install that will have pkgtools available. However, I don't think you'd be able to chroot, because then you'd be in your crippled install without pkgtools. Instead, you'd mount your root partition and run installpkg --root /location/to/mounted/root/partition /location/to/pkgtools-*.t?z to install it to a somewhere other than your current root.
|
All times are GMT -5. The time now is 11:30 AM. |