Ask Your Question

Attempting to uninstalled PulseAudio

asked 2017-03-14 23:31:34 -0500

wolfv gravatar image

updated 2017-03-18 09:56:56 -0500

This is a long post because I included all the events leading up to the failure.

Yesterday I installed PulseAudio equalizer by following the instructions on It sounded great.

Then I installed impending updates and rebooted. The speaker and headphones where never heard again. There is no sound. And the system menu space for selecting headphone or speaker, now says "Extension initializing..." image description In Settings > Sound, "Output volume" slider and "Input volume" slider are grayed out and stuck on zero.

I tried installing pavucontrol as suggested by xmetax on And rebooted to initialize. Unfortunately installing pavucontrol did not bring back the sound. System menu and Setting > Sound are still the same.

So I uninstalled PulseAudio:

$ sudo dnf remove pulseaudio
$ sudo dnf clean all

The "dnf clean all" hangs for 20 minutes. So I ctrl+c. But the keyboard is unresponsive. So I hard boot. Usually a login GUI appears after booting, but not anymore. Now only a terminal is displayed:

Fedora 25 (Workstation Edition)
Kernal 4.9.13-201.fc25.x86.64 on a x86_64(tty1)

localhost login: wolfv
Password: ******
[wolfv@localhost ~] $ ls

All my files and data are still there (and I made a backup before installing PulseAudio, so the data is safe).

Is there a way to get the Fedora GUI login and Gnome desktop running again? I can do a clean install if all else fails. But this was a clean install 5 weeks ago, which I do not want to repeat. Do you have an idea on how to get the GUI login and Gnome desktop back?

Thank you.


$ sudo dnf history
ID     | Command line             | Date and time    | Action(s)      | Altered
    15 | install gdm gnome-shell  | 2017-03-14 23:26 | Install        |   23   
    14 | remove pulseaudio        | 2017-03-14 19:55 | Erase          |   35 EE
    13 | install pavucontrol      | 2017-03-14 19:30 | Install        |    1  <
    12 | install pulseaudio-equal | 2017-03-13 22:34 | Install        |    7 ><
    11 | install gparted          | 2017-02-23 19:33 | Install        |    3 ><
$ dnf history rollback 11
RPM Fusion for Fedora 25 - Free - Updates                                       137 kB/s | 254 kB     00:01    
Opera packages                                                                   19 kB/s |  13 kB     00:00    
google-chrome                                                                    17 kB/s | 3.7 kB     00:00    
Fedora 25 - x86_64 - Updates                                                    159 kB/s |  20 MB     02:11    
Not found given transaction ID
Error: Failed history rollback, no transaction

Why did dnf rollback attempt to remove Updates, Opera, chrome? They were not listed by dnf history.

According to this link, dnf remove command removes the specified packages from the system along with any packages depending on the packages being removed.

When I removed pulseaudio it remove all its dependencies which included gdm and gnome it self. So now I am hesitant to use dnf remove.

I tried:

$ dnf history undo 14
$ dnf history undo 13
$ dnf history undo 12

And rebooted. The undo did not fix the following things.

The computer's sound is silent. The system menu space for selecting headphone or speaker ... (more)

edit retag flag offensive close merge delete


deleted comment

wolfv gravatar imagewolfv ( 2017-03-17 12:52:58 -0500 )edit

How about rephrasing your the title of your question? As you figured out, dnf remove pulseaudio removed gdm and gnome-shell, not the dnf clean all.

florian gravatar imageflorian ( 2017-03-17 13:53:08 -0500 )edit

@florian, Good idea. Changed title to, "Attempting to uninstalled PulseAudio."

wolfv gravatar imagewolfv ( 2017-03-17 14:42:06 -0500 )edit

Please create another question dedicated to sound problem

aeperezt gravatar imageaeperezt ( 2017-03-18 10:07:57 -0500 )edit

2 Answers

Sort by ยป oldest newest most voted

answered 2017-03-14 23:43:37 -0500

aeperezt gravatar image

When you remove pulseaudio it remove all its dependencies this include gdm and gnome it self.

So what you need to do is to install gdm and gnome-shell

sudo dnf install gdm gnome-shell control-center

or you can install it by group:

sudo dnf groupinstall "Fedora Workstation"

which will install all needed to return you graphical workstation

Good Luck

edit flag offensive delete link more


Thanks aeperezt. You saved the day. "sudo dnf install gdm gnome-shell control-center" worked like a charm. My login and desktop are back.

wolfv gravatar imagewolfv ( 2017-03-15 00:35:28 -0500 )edit

@aeperezt, The Tweak Tool is missing some Extensions. The applications-menu is missing, which is part of Classic Mode officially supported by GNOME:
Is there a way to put the applications-menu back into Tweak Tool?

wolfv gravatar imagewolfv ( 2017-03-15 04:42:03 -0500 )edit

I guess "dnf history undo last" would have been a better choice than "dnf install gdm gnome-shell control-center". However, it's not too late, just run "dnf history" to get the id of your pulseaudio removal and run "dnf history undo <id>" afterwards. This should reinstall everything you have wiped out with this transaction.

Axel Sommerfeldt gravatar imageAxel Sommerfeldt ( 2017-03-15 05:16:38 -0500 )edit

@alex, that gives me hope. Please review my plan (under UPDATE appended to the question) before I pull the trigger.

wolfv gravatar imagewolfv ( 2017-03-15 09:26:20 -0500 )edit

Just "sudo dnf history undo 14" should be sufficient. It should re-install all packages which were removed with the transaction no. 14 (and are not yet re-installed). "Erase" means that 35 packages were removed from your Fedora installation. "sudo dnf history undo 14" will download and install them again.

Axel Sommerfeldt gravatar imageAxel Sommerfeldt ( 2017-03-15 14:38:27 -0500 )edit

answered 2017-03-18 05:01:50 -0500

Axel Sommerfeldt gravatar image

updated 2017-03-18 05:03:44 -0500

(This is too long for a comment so I made this one an answer instead.)

First of all a big sorry, I always assumed that "dnf history undo" simply does ignore already installed packages. It seems I was wrong, and your question, if all of the transaction needs to be "undo" (in the right order) to get a correct result needed to be answered by "yes".

However, since we now have the list of the 35 erased packages, and know which one of those are already installed, it's easier to install the still-missing packages without trying all the "undo" stuff again. Please try instead:

sudo dnf install alsa-plugins-pulseaudio gnome-classic-session gnome-initial-setup gnome-shell-extension-alternate-tab gnome-shell-extension-apps-menu gnome-shell-extension-background-logo gnome-shell-extension-launch-new-instance gnome-shell-extension-places-menu gnome-shell-extension-window-list pulseaudio-module-x11

(as a single command line) and reboot your computer afterwards. Hopefully this will fix the remaining problems.

edit flag offensive delete link more


@Axel, I appended UPDATE_5 to the question.

wolfv gravatar imagewolfv ( 2017-03-18 09:57:35 -0500 )edit

Since now all packages which were previously removed are reinstalled again, it should be possible to fix the audio configuration. I would go through all sound settings and verify they are set as wanted. If the problem initially started with playing around with the Pulse Audio Synthesizer, I would reinstall it and play around with it again. Removing Pulse Audio does not make sense, especially since too much of Fedora Workstation is dependant on it. (As you have noticed.) And the current version of Firefox only supports Pulse Audio for audio in-/output.

Axel Sommerfeldt gravatar imageAxel Sommerfeldt ( 2017-03-18 12:40:53 -0500 )edit

Question Tools

1 follower


Asked: 2017-03-14 23:31:34 -0500

Seen: 2,416 times

Last updated: Mar 18 '17