Sunday, May 5, 2024
 Popular · Latest · Hot · Upcoming
0
rated 0 times [  0] [ 0]  / answers: 1 / hits: 756  / 1 Year ago, wed, february 1, 2023, 7:29:08

I can't use any command right now in linux besides cd. Doing ls, vim, shutdown returns on of the the following



bash: /usr/bin/name_of_command : No such file or directory
bash: /bin/name : No such file or directory
bash: /sbin/name : No such file or directory


I did something dumb on my system to start this problem (did a forceful remove of the libc6 package: sudo dpkg --force-all -P libc6). So now it seems as if I can't do anything using bin.



Somebody please help!!!


More From » uninstall

 Answers
0

Create a live USB System, boot it and connect to the internet.

Then chroot into your broken system and run apt-get install libc6.


[#22635] Friday, February 3, 2023, 1 Year  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
uccase

Total Points: 473
Total Questions: 100
Total Answers: 110

Location: Anguilla
Member since Sun, Jan 29, 2023
1 Year ago
uccase questions
;