Hello - I’m new to linux and I need help… I’m sorry for my bad english skills…
Short story:
updated fedora today
reboot
sound does not worked anymore
checked top (no pulseaudio)
some duckduckgo research and I saw a thread where reinstalling pulseaudio might fix my sound issue
opened terminal (entered sudo dnf deinstall pusleaudio and then install pulseaudio again)
reboot
system only starts with black screen which says:
Fedora 30 (Workstation Edition)
Kernel 5.2.9-200.fc30.x86_64 on an x86_64 (tty1)
localhost login: _
What can I do to restore my system? What happend - did I crushed it?
Note the version of gdm package installed (it’s 3.32.0-3).
Or just
# rpm -q gdm
without any answer if you happen to have no such package installed. Edit: I was wrong about empty answer for no such package, as @vgaetera pointed out. )))
You are right - I checked it again - it showed that their were not installed at all - so I installed them - rebooted and now I am back in my system! Damn nice - thank you @vgaetera and @nightromantic!
I think their must be deleted while I deinstalled Pulseaudio - but why and maybe some other stuff might got lost too - I am curious - still wondering if my system is stable again - but my sound is back… haha
you can try to look up the history of package operations. Operations done from command line with dnf is definitely there, I’m not 100% sure about operations done through gnome-software in GUI.
sudo dnf history list
will show you the list of all dnf transactions (i.e. package management operations).
sudo dnf history info <number>
will show you a full log of one transaction: which packages were installed, updated or removed. The in question you need to take from the output of history list command.
So you can actually see which packages were removed from your system along with pulseaudio and install back any you think you need.
We can also compare them with my more or less clean system if you want – does my system have them installed or not.
Or you can just save that list for future reference.
Speaking about ‘dnf history’ I’d also like to mention
sudo dnf history undo <number>
will undo the transaction you specify. I’ve actually only used it with the last transaction – when I’ve installed or removed something by mistake and knew it right away. Actually, it could have helped you in the beginning right after reboot. I always inspect carefully what it suggests to do before committing to it.