Quantcast
Channel: Raspberry Pi Forums
Viewing all articles
Browse latest Browse all 4844

Troubleshooting • Rescuing a broken installation - Deleted 'libc.so.6'

$
0
0
Accepting that, with hindsight, it was a rather foolish thing to have done, I removed '/lib/arm-linux-gnueabihf/libc.so.6' and that has screwed everything relying on it; 'ls', 'ln', 'cp', 'mv', 'chown', 'chmod', etc.

It was just a link -

Code:

lrwxrwxrwx 1 root root      12 May 25  2023 /lib/arm-linux-gnueabihf/libc.so.6 -> libc-2.28.so
The 'libc-2.28.so' still exists and I have a 'backup-libc.so.6' linked to it, so, if I can find a USB SD Card reader which will recognise that card, I should be able to simply rename it or recreate it using another Pi.

But I do currently have a Telnet connection open to it, and the entire disk from '/' down has read-write access as a share to my PC, so it may be possible to find some other means to get the link restored ?

Anyone know how to ?

Statistics: Posted by hippy — Tue Aug 20, 2024 5:14 pm



Viewing all articles
Browse latest Browse all 4844

Trending Articles