Welp, I just apt purge'd damn near everything except the kernel. How's your Friday going?
-
If you are trying a new install go for something with timeshift or Silver Blue, OpenSUSE snapshotting. You can trash the whole setup, then reboot to the previous state. A catastrophic failure becomes a 1 minute fix.
-
If you don't mess with the partitions during the install and don't format, and make the same username, you should be back to normal after a reinstall. Take a backup offline, of course.
-
Nice day to move to nixos
-
make sure not to reformat though. it can be a problem depending on the installer his distro uses.
i think its safer to just save the home folder, and replace it later when the system is installed.
-
OP mentioned having used Linux for 4 weeks. If they are interested in learning more about Linux, I feel like even Arch would be a better next step.
I love NixOS and have been using it for over a year at this point but sometimes when things don't work I feel like I'm banging my head against a wall. I've been using Linux for ~7 years now.
-
Btrfs with pre and post pacman-triggered snapshots. Only had to use it once, but it was very smooth.
-
yeah, that's how I roll there
-
Lol Nvidia has quiet the reputation in the Linux world. Keep at it though. We all make mistakes.
-
Last week I accidentally overwrite my configuration.nix file. If you use NixOS this should fill you with horror. If you don't, that file contains a description of your entire system -- all the packages as well as many settings tweaks to anything from GUI apps to core kernel & systemd options.
I have now learned my lesson and started using git to track my changes. Happily I had already split out the most difficult to reproduce sections into their own files (mostly networking stuff), so it wasn't that catastrophic, but it still turned a few minutes of tinkering into a couple hours of forehead-smacking.
-
See my top-level comment; even if they're ready for the complexity, it doesn't protect you from a similar mistake!
-
the truest form of Linux, without all the GNU bloat, well done!
-
Couple days ago I accidentally removed a package, not fully understanding what would happen. Ended up logging out thinking nothing of it. Couldn't log back in as there were zero sessions available. Also, for some reason a huge on-screen keyboard kept popping up a lot when I'd click on the login panels things.
I am very grateful my distro came with Timeshift by default and that I had a backup from the day before to fix everything. Also glad Rescuezilla allowed me to install Timeshift and restore.
Doesn't matter who you are or what you believe, it's definitely a rite of passage to break your system once. That is something I'll always agree with.
-
D'hoe...
-
I'm not clear what you've done here, but I've never played with the purge command. I take it you removed a lot of basic packages. How did it happen? Wildcards?
-
I'd like to interject here...
-
You might want to look into Snapper: https://documentation.suse.com/smart/systems-management/html/snapper-basic-concepts/index.html
Booting from snapshots has pulled my chestnuts out of the fire a few times--between using a rolling release distro as my daily driver, and NVIDIA graphics not always behaving well in conjunction with that.
-
I did that. Since I had everything backed up to my nextcloud, I just pulled the Debian USB out of my backpack and razed what was left. Rebuilt on the rubble.
-
Yeah but, you're a towel.
-
I can't entirely recall the precise details now, but I was trying to uninstall Nvidia and Mesa packages to fix some driver issues. Some mesa-related packages were remaining, and I couldn't figure out why, so I manually typed their names in and purged them, then proceeded to watch python, the desktop environment — everything — all uninstall haha.
-
It was all just bloat anyways, who needs anything besides a kernel?