LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 08-25-2006, 06:28 PM   #1
R_Shackleford
Member
 
Registered: May 2003
Location: Earth
Distribution: Slackware
Posts: 76

Rep: Reputation: 15
bash: pkgtool: command not found


I know it was a not a good idea to do it, but I did it anyway (20/20 hindsight). I used swaret to upgrade to current. I read through the list of pkgs to be upgraded and I thought that they all looked safe, so one-by-one I ok'd the upgrade. After the upgrade, the first thing I noticed was that my eth was not working. Easy enough, I opened a terminal, su'd, and issued the netconfig command. command not found.
Okay, let's try the KDE network tool. Enabled eth1, and lo, it works! Great! Now to upgrade some third-party pkgs, like wine. So I downloaded the updated pkgs and attempted to use upgradepkg. Again, command not found. I tried pkgtool. command not found. So, I searched the fora here at LQ. I found this thread: http://www.linuxquestions.org/questi...d.php?t=364621

I downloaded the source package from -current/sources/a/pkgtools.tar.gz and untarred it in / as root.
I still have no pkgtool. ls -l /var/logs/packages shows that pkgtools is installed.

2006-08-25 16:13 pkgtools-11.0.0-i486-2

however, the command is still not found.

root@darkstar:/# pkgtool
bash: pkgtool: command not found
root@darkstar:/# which pkgtool
which: no pkgtool in (/usr/local/sbin:/usr/local/bin:/sbin:/usr/sbin:/bin:/usr/bin)
root@darkstar:/#

Can someone please help me fix this? Please no flames about swaret/slapt-get. Lesson learned.
 
Old 08-25-2006, 06:41 PM   #2
rkelsen
Senior Member
 
Registered: Sep 2004
Distribution: slackware
Posts: 4,448
Blog Entries: 7

Rep: Reputation: 2553Reputation: 2553Reputation: 2553Reputation: 2553Reputation: 2553Reputation: 2553Reputation: 2553Reputation: 2553Reputation: 2553Reputation: 2553Reputation: 2553
Quote:
Originally Posted by R_Shackleford
I downloaded the source package from -current/sources/a/pkgtools.tar.gz and untarred it in / as root.
That won't do much, because that file is only a directory tree.

Try doing the same with the actual pkgtools-11.0.0-i486-2 package.

If that still doesn't work, I'd strongly suggest running a backup of your important stuff, then doing a complete re-install. You can't be 100% sure what else has been damaged.
 
Old 08-25-2006, 08:13 PM   #3
R_Shackleford
Member
 
Registered: May 2003
Location: Earth
Distribution: Slackware
Posts: 76

Original Poster
Rep: Reputation: 15
Thanks rkelsen for pointing that out. I was completely misunderstanding what was written in the post I quoted. I re-read it, following your line of thought and fixed pkgtool!
 
  


Reply



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
Bash: command not found! Adil_uk Linux - General 14 04-09-2012 01:04 AM
bash -command not found- ALInux Linux - Newbie 3 12-30-2006 12:41 PM
bash: rpm: command not found && sudo: alien: command not found Java_Code Ubuntu 7 07-27-2006 11:57 PM
Pkgtool: Command not found goldsaturn25 Slackware 8 09-18-2005 07:26 PM
bash: command not found intels_ss Linux - Newbie 5 07-20-2005 07:41 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 09:45 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
Open Source Consulting | Domain Registration