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 |
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 |
did you remove coreutils??
have you tried booting with your install cd and reinstalling coreutils from the cd? |
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. |