Score:0

Verify files after restoring /bin from LiveCD

us flag

TL;DR

I deleted my /bin folder by running sudo make clean and managed to restore it. Now I want to verify that everything is working properly to prevent issues. I don't have enough reputation to just ask this in the mentioned link below.

Complete

I managed to delete my /bin folder by running sudo make clean to supposedly remove a software installed with the command make. Given my inexperience, I didn't see a difference and just believed that running it as root would help. Instead of that suddenly I didn't have make anymore and would receive the error about /bin/sh file or directory not found, same for essential commands like bash. In panic I restarted the system and it would get stuck at the login screen, with no way to call the terminal.

Looking for guidance I found these amazing answers. I tried the most voted answer by Ravexina, but unfortunately I couldn't manage to run chroot and also suddenly commands previously executed in the same session like mount couldn't be found anymore. By comparing with a LiveCD I could see that the whole /bin folder was missing, and not only some files like bash. I copied and pasted it by opening my broken system as root by following the suggestion by Dmitry Grigoryev which was my last alternative that made sense to me before of screwing things up more with more commands I don't fully understand.

Now I would like to verify that my files are all alive and I don't have missing dependencies or something like that. Running apt-get install --reinstall as suggested didn't prompt something apart of Reading package lists... Done | Building dependency tree | Reading state information... Done and the list of upgradable prackages.

bac0n avatar
cn flag
`debsums | grep -v 'OK$'`
mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.