Visit Jeremy's Blog.
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, 09: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, 09:15 PM   #2
Senior Member
Registered: Oct 2008
Distribution: Slackware [64]-X.{0|1|2|37|-current} ::12<=X<=14, FreeBSD_10{.0|.1|.2}
Posts: 3,072

Rep: Reputation: 1340Reputation: 1340Reputation: 1340Reputation: 1340Reputation: 1340Reputation: 1340Reputation: 1340Reputation: 1340Reputation: 1340Reputation: 1340
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 09:47 PM.
Old 08-26-2013, 03: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, 05:11 AM   #4
LQ 5k Club
Registered: Jan 2006
Location: Oldham, Lancs, England
Distribution: Slackware & Slackware64 14.1
Posts: 7,453
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 05: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 12:49 PM
removepkg behavior rvo Slackware 8 01-15-2009 04:19 PM
removepkg problem - cutoff folder names hellbillyJoker Slackware 5 01-11-2009 10:23 PM
RemovePkg Recursively? Kenji Miyamoto Slackware 3 05-23-2005 09:33 AM
removepkg alternative props666999 Slackware 2 11-10-2004 01:10 AM

All times are GMT -5. The time now is 02:19 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration