No sound. Cannot access any system settings GUI. pulseaudio installed, but not working.

Asked by Shane on 2017-10-15

http://www.alsa-project.org/db/?f=7642233845c509389163783793142fc98de1f974

I have recently had a failed boot, where garbage was found in the file system. Three or so boots later and there is no audio, is this related?

Here is what I have so far:

I have tried purging & reinstalling, which didn't fix.

:sudo apt-get install pavucontrol
Reading package lists... Done
Building dependency tree
Reading state information... Done
pavucontrol is already the newest version (3.0-3build1).
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.

:pavucontrol
pavucontrol: error while loading shared libraries: libpulsecommon-10.0.so: cannot open shared object file: No such file or directory

:alsamixer
ALSA lib conf.c:3523:(snd_config_hooks_call) Cannot open shared library libasound_module_conf_pulse.so
ALSA lib control.c:1373:(snd_ctl_open_noupdate) Invalid CTL default
cannot open mixer: No such file or directory

pulseaudio
pulseaudio: error while loading shared libraries: libpulsecommon-10.0.so: cannot open shared object file: No such file or directory

pulseaudio is already the newest version (1:10.0-1ubuntu2)

killall pulseaudio:

killall pulseaudio; rm -r ~/.config/pulse/* ; rm -r ~/.pulse*
pulseaudio: no process found
rm: cannot remove '/home/bacon/.config/pulse/*': No such file or directory
rm: cannot remove '/home/bacon/.pulse*': No such file or directory

aplay /usr/share/sounds/alsa/Front-Center.wav
ALSA lib conf.c:3523:(snd_config_hooks_call) Cannot open shared library libasound_module_conf_pulse.so
ALSA lib pcm.c:2495:(snd_pcm_open_noupdate) Unknown PCM default
aplay: main:788: audio open error: No such file or directory

Maybe one of the garbage 'inodes' was something to do with pulse audio, or something more? Much more?

I have run 'sudo apt autoremove' and sudo apt-get upgrade', which worked well. Autoremove deleted almost 3gb of stuff.

Thanks-

A really scared Ubuntu user.

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu alsa-driver Edit question
Assignee:
No assignee Edit question
Solved by:
Shane
Solved:
2017-10-18
Last query:
2017-10-18
Last reply:
2017-10-18
Manfred Hampl (m-hampl) said : #1

Try step 4 from https://help.ubuntu.com/community/SoundTroubleshootingProcedure to reinstall the sound packages (in case that they are not correctly installed or broken by the disk failure)

Shane (dreams-in-orbit) said : #2

Thanks for the reply, and sorry for not being quick to respond.

 I tried what you suggested, it did a thing, but the problem remains. I saved the output if you would like to look at it.

Also; another issue that I hadn't noticed is I cannot open Unity-Control-Center, do you think they would be related? Since I cannot access the sound settings menu because U-C-C won't work, but I do not think they are one in the same.

Manfred Hampl (m-hampl) said : #3

If you now open pavucontrol, alsamixer or pulseaudio, do you still get the "no such file" error?

Shane (dreams-in-orbit) said : #4

Yes, still getting that error unfortunately.

Manfred Hampl (m-hampl) said : #5

Please provide the output that you get for the commands

uname -a
lsb_release -crid
apt-cache policy libpulse0
sudo updatedb
locate libpulsecommon-10.0.so
ldd /usr/lib/x86_64-linux-gnu/pulseaudio/libpulsecommon-10.0.so

Shane (dreams-in-orbit) said : #6

  uname -a :

Linux Waka-Flaka-Flame 4.10.0-37-generic #41-Ubuntu SMP Fri Oct 6 20:20:37 UTC 2017 x86_64 x86_64 x86_64 GNU/Linux

  lsb_release -crid :

Distributor ID: Ubuntu
Description: Ubuntu 17.04
Release: 17.04
Codename: zesty

  apt-cache policy libpulse0 :

libpulse0:
Installed: 1:10.0-1ubuntu2
Candidate: 1:10.0-1ubuntu2
Version table:
*** 1:10.0-1ubuntu2 500
        500 http://ca.archive.ubuntu.com/ubuntu zesty/main amd64 Packages
        100 /var/lib/dpkg/status

  sudo updatedb gave no output, with slight pause.

  locate libpulsecommon-10.0.so :

/usr/lib/i386-linux-gnu/pulseaudio/libpulsecommon-10.0.so

  ldd /usr/lib/x86_64-linux-gnu/pulseaudio/libpulsecommon-10.0.so :

ldd: /usr/lib/x86_64-linux-gnu/pulseaudio/libpulsecommon-10.0.so: No such file or directory

Manfred Hampl (m-hampl) said : #7

What do you get for the commands

sudo apt-get install --reinstall libpulse0
sudo updatedb
locate libpulsecommon-10.0.so
ldd /usr/lib/x86_64-linux-gnu/pulseaudio/libpulsecommon-10.0.so

Shane (dreams-in-orbit) said : #8

 sudo apt-get install --reinstall libpulse-0 :

Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package libpulse-0

#I tried to just install libpulse-0, and the package could not located.

 sudo updatedb :

No output, with much longer pause then last time.

 locate libpulsecommon-10.0.so :

/usr/lib/i386-linux-gnu/pulseaudio/libpulsecommon-10.0.so

 ldd /usr/lib/x86_64-linux-gnu/pulseaudio/libpulsecommon-10.0.so :

ldd: /usr/lib/x86_64-linux-gnu/pulseaudio/libpulsecommon-10.0.so: No such file or directory

Manfred Hampl (m-hampl) said : #9

You mistyped the package name.
It is not libpulse-0 but libpulse0
Why don't you use copy and paste?

Shane (dreams-in-orbit) said : #10

Sorry about that, I like to practice and learn when I can.

 sudo apt-get install --reinstall libpulse0 :

Reading package lists... Done
Building dependency tree
Reading state information... Done
0 upgraded, 0 newly installed, 2 reinstalled, 0 to remove and 0 not upgraded.
Need to get 537 kB of archives.
After this operation, 0 B of additional disk space will be used.
Do you want to continue? [Y/n] y
Get:1 http://ca.archive.ubuntu.com/ubuntu zesty/main amd64 libpulse0 amd64 1:10.0-1ubuntu2 [266 kB]
Get:2 http://ca.archive.ubuntu.com/ubuntu zesty/main i386 libpulse0 i386 1:10.0-1ubuntu2 [272 kB]
Fetched 537 kB in 1s (515 kB/s)
(Reading database ... 273417 files and directories currently installed.)
Preparing to unpack .../libpulse0_1%3a10.0-1ubuntu2_amd64.deb ...
Unpacking libpulse0:amd64 (1:10.0-1ubuntu2) over (1:10.0-1ubuntu2) ...
Preparing to unpack .../libpulse0_1%3a10.0-1ubuntu2_i386.deb ...
Unpacking libpulse0:i386 (1:10.0-1ubuntu2) over (1:10.0-1ubuntu2) ...
Setting up libpulse0:amd64 (1:10.0-1ubuntu2) ...
Setting up libpulse0:i386 (1:10.0-1ubuntu2) ...
Processing triggers for libc-bin (2.24-9ubuntu2.2) ...

 locate libpulsecommon-10.0.so :

/usr/lib/i386-linux-gnu/pulseaudio/libpulsecommon-10.0.so
/usr/lib/x86_64-linux-gnu/pulseaudio/libpulsecommon-10.0.so

 sudo updatedb : slight pause

 ldd /usr/lib/x86_64-linux-gnu/pulseaudio/libpulsecommon-10.0.so :

 linux-vdso.so.1 => (0x00007ffcb51ab000)
 libxcb.so.1 => /usr/lib/x86_64-linux-gnu/libxcb.so.1 (0x00007f0892519000)
 libsystemd.so.0 => /lib/x86_64-linux-gnu/libsystemd.so.0 (0x00007f0892491000)
 libwrap.so.0 => /lib/x86_64-linux-gnu/libwrap.so.0 (0x00007f0892287000)
 libsndfile.so.1 => /usr/lib/x86_64-linux-gnu/libsndfile.so.1 (0x00007f089200f000)
 libasyncns.so.0 => /usr/lib/x86_64-linux-gnu/libasyncns.so.0 (0x00007f0891e09000)
 libdbus-1.so.3 => /lib/x86_64-linux-gnu/libdbus-1.so.3 (0x00007f0891bbb000)
 libpthread.so.0 => /lib/x86_64-linux-gnu/libpthread.so.0 (0x00007f089199d000)
 librt.so.1 => /lib/x86_64-linux-gnu/librt.so.1 (0x00007f0891795000)
 libdl.so.2 => /lib/x86_64-linux-gnu/libdl.so.2 (0x00007f0891591000)
 libm.so.6 => /lib/x86_64-linux-gnu/libm.so.6 (0x00007f0891288000)
 libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00007f0890ec1000)
 libXau.so.6 => /usr/lib/x86_64-linux-gnu/libXau.so.6 (0x00007f0890cbb000)
 libXdmcp.so.6 => /usr/lib/x86_64-linux-gnu/libXdmcp.so.6 (0x00007f0890ab5000)
 libselinux.so.1 => /lib/x86_64-linux-gnu/libselinux.so.1 (0x00007f089088d000)
 liblzma.so.5 => /lib/x86_64-linux-gnu/liblzma.so.5 (0x00007f0890667000)
 liblz4.so.1 => /usr/lib/x86_64-linux-gnu/liblz4.so.1 (0x00007f089044f000)
 libgcrypt.so.20 => /lib/x86_64-linux-gnu/libgcrypt.so.20 (0x00007f089013f000)
 /lib64/ld-linux-x86-64.so.2 (0x000055ce5930b000)
 libnsl.so.1 => /lib/x86_64-linux-gnu/libnsl.so.1 (0x00007f088ff24000)
 libFLAC.so.8 => /usr/lib/x86_64-linux-gnu/libFLAC.so.8 (0x00007f088fcad000)
 libogg.so.0 => /usr/lib/x86_64-linux-gnu/libogg.so.0 (0x00007f088faa4000)
 libvorbis.so.0 => /usr/lib/x86_64-linux-gnu/libvorbis.so.0 (0x00007f088f879000)
 libvorbisenc.so.2 => /usr/lib/x86_64-linux-gnu/libvorbisenc.so.2 (0x00007f088f5d0000)
 libresolv.so.2 => /lib/x86_64-linux-gnu/libresolv.so.2 (0x00007f088f3b5000)
 libpcre.so.3 => /lib/x86_64-linux-gnu/libpcre.so.3 (0x00007f088f140000)
 libgpg-error.so.0 => /lib/x86_64-linux-gnu/libgpg-error.so.0 (0x00007f088ef2c000)

Manfred Hampl (m-hampl) said : #11

ok, now try starting pavucontrol and pulseaudio. Do they now work, or do you get new error messages?

Shane (dreams-in-orbit) said : #12

Beautiful, it's working now! Thanks so much!

Do you have some time to tell me what happened?

Manfred Hampl (m-hampl) said : #13

I do not really know what happened. I just saw that some files were missing and the "apt-get ..." command cared for reinstalling these files.