-   Linux - Newbie (
-   -   Removepkg pkgtools and removepkg tar problem.. (

pepe41695 08-25-2013 08:04 PM

Removepkg pkgtools and removepkg tar problem..
Hello, ı run "removepkg man tar" by mistake.Then, I download tar-1.26* file and when ı wrote "installpkg tar1.26*", then ı see pkgtools unstable > tar*1.13, error like this...

So ı finally wrote "removepkg pkgtools".How can ı reinstall "tar" and "pkgtools"? I cant install anything.

astrogeek 08-25-2013 08:15 PM

The quick and easy way would be to boot to the install DVD, mount your root device then installpkg -root /mount/point path/to/package... For example...


mount /dev/sdx1 /mnt

installpkg -root /mnt path/to/pkgtools...txz

installpkg -root /mnt path/to/tar...txz

Then reboot.

Alternatively you could probably extract the packages directly in your root directory, like this...


cd /
cp /path/to/package.txz .
zcat package.tgz |cpio -i

That wll not run the install scripts, but the commands will likely work fine for those packages.

Just to be sure, after you have pkgtools working, run installpkg or upgradepkg --reinstall on each of them to bring everything back into sync.

pepe41695 08-26-2013 02:59 AM

Ok.thank you. ı will try this. I m at work now, and ı will try at evening. thanks again :)

brianL 08-26-2013 04:11 AM

Why did you want to remove man tar?
Sorry. Noticed it was a mistake.

All times are GMT -5. The time now is 12:41 PM.