LinuxQuestions.org
View the Most Wanted LQ Wiki articles.
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 04-05-2005, 08:05 AM   #1
hubabuba
Member
 
Registered: Jan 2002
Location: UK
Distribution: Slack 14.1
Posts: 193

Rep: Reputation: 30
pkgtool stopped working properly


Hi All!

I was removing stuff with pkgtool and it was taking a very long time to remove stuff so I stopped it by pressing Ctrl + Z. Now, when i enter pkgtool, it gets me to the menu, but when i go to remove, it displays the line below repeatedly:

/sbin/pkgtool: line 1: sed: command not found

What to do?

Thanks
 
Old 04-05-2005, 09:30 AM   #2
tw001_tw
Member
 
Registered: Mar 2003
Location: St. Louis, MO
Distribution: kubuntu-current
Posts: 551
Blog Entries: 4

Rep: Reputation: 31
Quote:
/sbin/pkgtool: line 1: sed: command not found
The 1st "sed" in my pkgtool script is on line 120 - in the word "passed".


If your pkgtool has become corrupted, you can:

download the same version of pkgtools.10.x.x.i486.tgz as you have now,
OR get them off the CD ROMs.

extract the pkgtools.xxxx.tgz file you just got

replace the script "pkgtools" in /sbin with the known good one you just extracted

chmod it accordingly if needed

All should be well.

good luck -tw
 
Old 04-05-2005, 11:54 AM   #3
hubabuba
Member
 
Registered: Jan 2002
Location: UK
Distribution: Slack 14.1
Posts: 193

Original Poster
Rep: Reputation: 30
done what you've said, still the same thing.
 
Old 04-05-2005, 12:38 PM   #4
Worstje
Member
 
Registered: Mar 2004
Distribution: Slackware-current
Posts: 93

Rep: Reputation: 15
You most likely removed your.. "sed" package.
 
Old 04-05-2005, 03:15 PM   #5
hubabuba
Member
 
Registered: Jan 2002
Location: UK
Distribution: Slack 14.1
Posts: 193

Original Poster
Rep: Reputation: 30
Yep, you are right, I removed the package, I keep doing this all the time and I didn't know "sed" is a package. Installed "sed" and it works.

Thanks
 
  


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
Ubuntu Updates have stopped all Linux distros installing or working properly! HELP!! blastradius Linux - Hardware 2 07-06-2005 04:35 PM
rsyncd: stopped logging properly hamish Linux - Software 0 01-23-2005 12:08 PM
It stopped working. UmneyDurak Fedora 8 08-15-2004 03:41 PM
My X just stopped working??? freeindy Linux - Newbie 4 11-30-2002 11:53 AM
pkgtool not working? esael Slackware 6 11-08-2002 06:01 AM


All times are GMT -5. The time now is 10:09 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