“-bash: /usr/bin/: No such file or directory” for almost every command
I made a mistake and ran this command on my Ubuntu-Precise:
sudo dpkg -r --force-all libc6
Consequently all of the packages with a dependency to libc6 are removed, and whatever command I run, I get
-bash: /usr/bin/MY_COMMAND: No such file or directory
I can access the /bin/busybox but then when I want to reinstall libc6 package via
/bin/busybox dpkg --force-depends -i install libc6
I get "permission denied".
But the Sudo command doesn't work either!!
Does anyone has a suggestion on how I can install unistalled packages!
I made a mistake and ran this command on my Ubuntu-Precise:
sudo dpkg -r --force-all libc6
Consequently all of the packages with a dependency to libc6 are removed, and whatever command I run, I get
-bash: /usr/bin/MY_COMMAND: No such file or directory
I can access the /bin/busybox but then when I want to reinstall libc6 package via
/bin/busybox dpkg --force-depends -i install libc6
I get "permission denied".
But the Sudo command doesn't work either!!
Does anyone has a suggestion on how I can install unistalled packages!
No comments:
Post a Comment