LinuxQuestions.org
View the Most Wanted LQ Wiki articles.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
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!

Notices



Reply
 
Search this Thread
Old 08-25-2013, 09:04 PM   #1
pepe41695
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
astrogeek
Senior Member
 
Registered: Oct 2008
Distribution: Slackware [64]X{.0|.1|.2|-current} ::X>=12<=14, FreeBSD_10{.0|.1}
Posts: 2,182

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

Code:
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...

Code:
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
pepe41695
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
brianL
LQ 5k Club
 
Registered: Jan 2006
Location: Oldham, Lancs, England
Distribution: Slackware & Slackware64 14.1
Posts: 7,139
Blog Entries: 52

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

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


Reply


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 03:59 PM.

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