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

Troubleshooting • Re: [Semi-Repaired] 'sudo apt install git-all' trashed my system

$
0
0
Note that Windows used to have (may still have - I haven't checked in many a moon) the concept of protected files - files you can't delete because they are key to the OS and it just wouldn't ever make sense to delete them (i.e., allow the user to delete them). The way it worked is that the system kept a special, hidden copy of these files and if you ever deleted the one you could see, it (the OS) would silently copy the backup copy back into place (within a few seconds of your having deleted it). It was very frustrating for me (when I actually needed to get rid of one of those files) until I figured out where the backup copies were kept. Then I would delete the backup copy first, then the "real" one. Problem solved!

But seriously, folks. Linux needs to grow up, and realize that you should never, ever, allow the user to purge/delete systemd - given that all modern Linux systems depend on systemd for pretty much everything. (And more dependencies on systemd are being added every day).
Linux is doing just fine.

Like any other system where you're doing something that may break, like installing software, trying to fix it, etc, back up your system first.

If it breaks, restore it.

It's simple as that

Statistics: Posted by memjr — Fri May 31, 2024 12:05 am



Viewing all articles
Browse latest Browse all 5273

Trending Articles