Go Job Hunting at the LQ Job Marketplace
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


Search this Thread
Old 08-25-2013, 08:04 PM   #1
LQ Newbie
Registered: Aug 2013
Location: Niğde/Turkey
Distribution: Slackware-14
Posts: 3

Rep: Reputation: Disabled
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.
Old 08-25-2013, 08:15 PM   #2
Senior Member
Registered: Oct 2008
Distribution: Slackware [64]-X.{0|1|2|37|-current} ::12<=X<=14, FreeBSD_10{.0|.1}
Posts: 2,457

Rep: Reputation: 1036Reputation: 1036Reputation: 1036Reputation: 1036Reputation: 1036Reputation: 1036Reputation: 1036Reputation: 1036
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.

Last edited by astrogeek; 08-25-2013 at 08:47 PM.
Old 08-26-2013, 02:59 AM   #3
LQ Newbie
Registered: Aug 2013
Location: Niğde/Turkey
Distribution: Slackware-14
Posts: 3

Original Poster
Rep: Reputation: Disabled
Ok.thank you. ı will try this. I m at work now, and ı will try at evening. thanks again
Old 08-26-2013, 04:11 AM   #4
LQ 5k Club
Registered: Jan 2006
Location: Oldham, Lancs, England
Distribution: Slackware & Slackware64 14.1
Posts: 7,304
Blog Entries: 55

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

Last edited by brianL; 08-26-2013 at 04:24 AM.


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
Critical bug in removepkg kikinovak Slackware 14 11-20-2012 11:49 AM
removepkg behavior rvo Slackware 8 01-15-2009 03:19 PM
removepkg problem - cutoff folder names hellbillyJoker Slackware 5 01-11-2009 09:23 PM
RemovePkg Recursively? Kenji Miyamoto Slackware 3 05-23-2005 08:33 AM
removepkg alternative props666999 Slackware 2 11-10-2004 12:10 AM

All times are GMT -5. The time now is 06:07 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration