Error processing pulseaudio update 12/19/2013
root@steamos:/home/desktop# apt-get upgrade Reading package lists... Done Building dependency tree Reading state information... Done 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 1 not fully installed or removed. After this operation, 0 B of additional disk space will be used. Do you want to continue [Y/n]? y Setting up pulseaudio (2.0-6.1+steamos3+bsos1) ... [....]Starting system PulseAudio Daemon:/usr/bin/pulseaudio already running. invoke-rc.d: initscript pulseaudio, action "start" failed. dpkg: error processing pulseaudio (--configure): subprocess installed post-installation script returned error exit status 1 Errors were encountered while processing: pulseaudio E: Sub-process /usr/bin/dpkg returned an error code (1)
Workaround for now is to reboot into recovery console when upgrade fails and do apt-get install -f For some reason i can't kill pulse, so i did it this way.
Did your advice, I'm too without sound whatsoever, it did not work.
I had a perfectly working system before the update (today update). Now pulseaudio refuses to start displaying
/var/run/pulse/native connection refused
In the log it displays that it can't connect to D-Bus too.
The system as it is, is unusable, I've been 14 hours straight to making it work without UEFI, finally, yesterday everything was working after I configured hdmi to desktop and Realtek Analog to Steam BP mode but the today's update completely destroyed pulseaudio.
Tried to remove all configurations inside desktop/.pulse in both desktop and steam users, removed pulseaudio and purge configuration files, reinstalled with the -f options in recovery mode, no use..
Run "service pulseaudio stop", "killall -9 pulseaudio" and then run "apt-get upgrade" again.
root@steamos:/home/desktop# service pulseaudio stop
[....] Stopping system PulseAudio Daemon:No process in pidfile '/var/run/pulse/pid' found running; none killed.
[ ok ich is not running.
root@steamos:/home/desktop# killall -9 pulseaudio
pulseaudio: no process found
root@steamos:/home/desktop# killall -9 pulse
pulse: no process found
root@steamos:/home/desktop# apt-get upgrade
Reading package lists... Done
Building dependency tree
Reading state information... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
1 not fully installed or removed.
After this operation, 0 B of additional disk space will be used.
Do you want to continue [Y/n]?
Setting up pulseaudio (2.0-6.1+steamos3+bsos1) ...
[....] Starting system PulseAudio Daemon:invoke-rc.d: initscript pulseaudio, action "start" failed.
dpkg: error processing pulseaudio (--configure):
subprocess installed post-installation script returned error exit status 1
Errors were encountered while processing:
pulseaudio
E: Sub-process /usr/bin/dpkg returned an error code (1)
root@steamos:/home/desktop#
As you can see, pulseaudio never initialized itself, after the update from steam today, it stopped working.
It won't even start, so, there is no point in trying to stop it.
@tecnogaming did you modify any config files before the upgrade?
Can you run "service pulseaudio start" and paste the output here please
manually doing service pulseaudio start
root@steamos:/etc/pulse# service pulseaudio start [....] Starting system PulseAudio Daemon:root@steamos:/etc/pulse# ^C root@steamos:/etc/pulse#
trying to start it from pulseaudio...
root@steamos:/etc/pulse# pulseaudio --start W: [pulseaudio] main.c: This program is not intended to be run as root (unless --system is specified). N: [pulseaudio] main.c: User-configured server at /var/run/pulse/native, refusing to start/autospawn.
Did you guys tried JACK?, in my humble opinion it's far better than pulseaudio, will get rid of all this problems and wil have a better latency. Pulseaudio never worked right, not even on ubuntu, the majority of time.
I know this problem, go to etc/pulse/client.conf and change autospawn to no with nano, after that reboot select the recovery option when booting and try apt-get install -f again!
Sounds about right, this means the client.conf change with the package update failed to apply for you, probably because of local edits you did?
http://www.techrepublic.com/blog/linux-and-open-source/pulseaudio-an-achilles-heel-that-needs-repair/
This happened to me over and over (skipping) on Ubuntu.
Did not edit the client.conf until after the update failed so I try to edit things to see what went wrong.
Anyway, removing everything and doing apt-get install pulseaudio did not fix it either.
default-server = /var/run/pulse/native autospawn = no
This are the only variables active on my clients.conf the rest is commented. I already had autospawn no so it's not that.
Just try my method first and report back, and after he did install the package make sure to set autospawn to yes again.
We need to get rid of the:
pkg: error processing pulseaudio (--configure): subprocess installed post-installation script returned error exit status 1 Errors were encountered while processing:
root@steamos:/etc/pulse# apt-get remove --purge pulseaudio
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages will be REMOVED:
pulseaudio*
0 upgraded, 0 newly installed, 1 to remove and 0 not upgraded.
1 not fully installed or removed.
After this operation, 4,709 kB disk space will be freed.
Do you want to continue [Y/n]?
(Reading database ... 83599 files and directories currently installed.)
Removing pulseaudio ...
[....] Stopping system PulseAudio Daemon:No process in pidfile '/var/run/pulse/pid' found running; none killed.
[ ok ich is not running.
Purging configuration files for pulseaudio ...
Processing triggers for man-db ...
Processing triggers for libc-bin ...
Doing restart and trying your method now...
What autospawn does, is that when a PulseAudio daemon is needed it will load it, in my configuration this is set to "Yes", but ofcourse you need to get the package installed correcly first.
autospawn= Autospawn a PulseAudio daemon when needed. Takes a boolean value, defaults to "yes". It will not start pulse, in recovery console it only will install the package for you.
@alfred-valve i believe the upgrade package is trying to start it with the -start command that's why it's failing to upgrade, Steam is ofcourse using a pulse deamon while packages are upgraded, the upgrade package first need to stop "pulse on a correct way"
As you can see: initscript pulseaudio, action "start" failed. because it can not upgrade Pulse while it is running.
No use, tried at least 10 times already.
This clearly was working before the update, it refuses to finish updating with the message "start failed" quoting the invoke-rc script.
Any ideas?
Why would it like to start a pulse deamon in recovery console? are you sure you boot into recovery?
I believe we found out why it won't work. The script tries to start pulseaudio BEFORE it finish updating.
Invoking apt-get upgrade will always display 1 package to be upgraded.
root@steamos:/home/desktop# apt-get upgrade
Reading package lists... Done
Building dependency tree
Reading state information... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
1 not fully installed or removed.
After this operation, 0 B of additional disk space will be used.
Do you want to continue [Y/n]?
Setting up pulseaudio (2.0-6.1+steamos3+bsos1) ...
[....] Starting system PulseAudio Daemon:invoke-rc.d: initscript pulseaudio, action "start" failed.
dpkg: error processing pulseaudio (--configure):
subprocess installed post-installation script returned error exit status 1
Errors were encountered while processing:
pulseaudio
E: Sub-process /usr/bin/dpkg returned an error code (1)