LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
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 05-02-2005, 09:19 PM   #1
keysorsoze
Member
 
Registered: Apr 2004
Location: Queens, NY
Distribution: Red Hat, Solaris
Posts: 295

Rep: Reputation: 30
Pkgtool, ls, cat all not found?


Hi!, my question is how do I reinstall the ls command and pkgtool command so they can function again. I have slackware 10.1 and in the best effort removal of extra apps I don't need I think I removed the packages for ls, cat etc. How do I go about reinstalling this, I can't even do a pkgtool anymore because I get the errors below. I do not wan't to reinstall the entire OS again, is there any other options? If I recompile the kernel will these commands come back? Any suggestions will be helpful

Thanks.

root@(none):~# ls
-bash: ls: command not found
cat
-bash: cat: command not found
/sbin/pkgtool: line 162: cat: command not found/sbin/pkgtool: lin/sbin/pkgtool: line 162: cat: command not found
/sbin/pkgtool: line 163: rm: command not found
/sbin/pkgtool: line 330: chmod: command not found
/sbin/pkgtool: line 331: chmod: command not found
/sbin/pkgtool: line 697: chmod: command not found
/sbin/pkgtool: line 698: chmod: command not found
 
Old 05-02-2005, 09:29 PM   #2
gbonvehi
Senior Member
 
Registered: Jun 2004
Location: Argentina (SR, LP)
Distribution: Slackware
Posts: 3,145

Rep: Reputation: 53
Boot with Slackware cdrom. Mount your harddisk somewhere like /mnt/hdd by using: mount /dev/hdXX /mnt/hdd
and then install any package you want using the command: installpkg -root /mnt/hdd pkgname
 
Old 05-02-2005, 09:30 PM   #3
Genesee
Member
 
Registered: Dec 2002
Distribution: Slackware
Posts: 927

Rep: Reputation: 30
did you remove coreutils??

have you tried booting with your install cd and reinstalling coreutils from the cd?
 
Old 05-02-2005, 10:48 PM   #4
keysorsoze
Member
 
Registered: Apr 2004
Location: Queens, NY
Distribution: Red Hat, Solaris
Posts: 295

Original Poster
Rep: Reputation: 30
Thanks for the help

Hi! Thanks for the help, I'll give it a try tonight.
 
  


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
Pkgtool: Command not found goldsaturn25 Slackware 8 09-18-2005 07:26 PM
pkgtool does nothing?! alienDog Slackware 8 10-31-2004 05:11 PM
using pkgtool ivans Slackware 2 05-28-2003 09:37 PM
pkgtool ktindle Slackware 4 12-15-2002 04:14 AM
found my pci modem in /cat /proc/pci... now what? bxb32001 Linux - Newbie 2 06-23-2001 11:43 PM

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

All times are GMT -5. The time now is 03:39 AM.

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