Não é possível atualizar o pulseaudio no Ubuntu 16.04

1

Não consigo atualizar o pulseaudio no Ubuntu 16.04.

The following packages will be upgraded:
  pulseaudio
1 upgraded, 0 newly installed, 0 to remove and 37 not upgraded.    
2 not fully installed or removed.  
Need to get 0 B/766 kB of archives.  
After this operation, 4,096 kB of additional disk space will be used.
Do you want to continue? [Y/n] y
(Reading database ... 341675 files and directories currently installed.)
Preparing to unpack .../pulseaudio_1%3a8.0-0ubuntu3.8_amd64.deb ...
Unpacking pulseaudio (1:8.0-0ubuntu3.8) over (1:8.0-0ubuntu3.7)...  
dpkg: error processing archive /var/cache/apt/archives/pulseaudio_1%3a8.0-0ubuntu3.8_amd64.deb (unpack):  
unable to create '/usr/share/pulseaudio/alsa-mixer/paths/hdmi-output-1.conf.dpkg-new'  
(while processing '/usr/share/pulseaudio/alsa-mixer/paths/hdmi-output-1.conf'):  
Permission denied  
Processing triggers for dbus (1.10.6-1ubuntu3.3) ...  
Errors were encountered while processing:    
 /var/cache/apt/archives/pulseaudio_1%3a8.0-0ubuntu3.8_amd64.deb  
E: Sub-process /usr/bin/dpkg returned an error code (1)

Aqui está a saída de sudo apt-cache policy pulseaudio

pulseaudio:
  Installed: 1:8.0-0ubuntu3.7
  Candidate: 1:8.0-0ubuntu3.8
  Version table:
     1:8.0-0ubuntu3.8 500
        500 http://us.archive.ubuntu.com/ubuntu xenial-updates/main amd64 Packages
 *** 1:8.0-0ubuntu3.7 100
        100 /var/lib/dpkg/status
     1:8.0-0ubuntu3 500
        500 http://us.archive.ubuntu.com/ubuntu xenial/main amd64 Packages

Aqui está a saída de ls -ld /usr/share/pulseaudio/alsa-mixer/paths

drwxr-xr-x 2 root root 4096 Jan  6 10:58 /usr/share/pulseaudio/alsa-mixer/paths
    
por Peter Umoren 23.02.2018 / 09:07

1 resposta

0

O diretório /usr/share/pulseaudio/alsa-mixer/paths foi definido como imutável. Eu mudei executando sudo chattr -Ri /usr/share/pulseaudio/alsa-mixer/paths . E tudo foi consertado.

    
por Peter Umoren 27.02.2018 / 14:53