LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   Pkgtool, ls, cat all not found? (https://www.linuxquestions.org/questions/slackware-14/pkgtool-ls-cat-all-not-found-319546/)

keysorsoze 05-02-2005 09:19 PM

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

gbonvehi 05-02-2005 09:29 PM

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

Genesee 05-02-2005 09:30 PM

did you remove coreutils??

have you tried booting with your install cd and reinstalling coreutils from the cd?

keysorsoze 05-02-2005 10:48 PM

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


All times are GMT -5. The time now is 04:13 AM.