this post was submitted on 22 Aug 2024
13 points (93.3% liked)
techsupport
2450 readers
20 users here now
The Lemmy community will help you with your tech problems and questions about anything here. Do not be shy, we will try to help you.
If something works or if you find a solution to your problem let us know it will be greatly apreciated.
Rules: instance rules + stay on topic
Partnered communities:
founded 1 year ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
It seems to me that uninstalling
udev
removed a great deal more than just that package. Likely the first time you attempted to install it, the response was something like "udev already installed, set to manual", which means that it was previously automatically already installed as a requirement for another package, but was set to "manual" selection by your attempt to reinstall it manually, when it was already there.When you uninstalled it, everything that depends on it in some way was also removed.
The /var/log/apt directory will have log files showing what was actually removed.
I don't have a computer in front of me, but it's likely that the entire desktop was removed when you uninstalled udev.
Reinstalling udev would only install the things that udev depends on, not the things that depend on udev.
I'm not sure what the meta package for a Mint install is precisely called, but it's likely something like mint-desktop.
A meta package is an empty package that doesn't install anything itself, but it has a great many dependencies which automatically get installed when you install it.
Finally,
rm -r
andsudo rm -r
or worse ,sudo rm -rf
are not commands you should be using with your level of experience because one misplaced space will cause you to irrevocably shoot yourself in the foot with no chance of undo.I went to that directory and did a cat on the history.log and got this. I also tried looking for the meta package you were talking about and installed mint-meta-cinnamon.
Edit: Holy Shit. I just tried installing gnome and got my desktop back. Thank you so much.
Given that the list for removed is longer than the one for subsequent install, you didn't install the correct package. It doesn't have to be called meta to be a meta package.
Essentially, you need to reinstall all the things you removed.
Also stop using -y with apt, it's a very bad habit to create.
Welcome to Linux my guy. You can fix basically anything here without ever having to reinstall
Also you should reinstall all those packages your removal of udev uninstalled, otherwise some things might not work as they should/not work at all