Erro ao tentar instalar extras extras do Ubuntu

0

Estou tentando executar aplicativos webgl no meu navegador, mas sempre que eu tento, nada acontece, então eu pesquisei e descobri que extras ubuntu-restricted-extras podem ser instalados para habilitar o webgl. Um dos meus amigos instalou o pacote em seu sistema e conseguiu executar o aplicativo webgl que eu estava tentando executar. Quando eu tentei instalar o pacote usando o ubuntu software center, o download parou e eu tive que matar o processo.

Saída de sudo apt-get ubuntu-restricted-extras

Reading package lists... Done
Building dependency tree       
Reading state information... Done
ubuntu-restricted-extras is already the newest version.
The following packages were automatically installed and are no longer required:
  python-cssselect python-queuelib python-w3lib
Use 'apt-get autoremove' to remove them.
The following packages will be upgraded:
  ttf-mscorefonts-installer
1 upgraded, 0 newly installed, 0 to remove and 145 not upgraded.
1 not fully installed or removed.
Need to get 0 B/27.8 kB of archives.
After this operation, 134 kB of additional disk space will be used.
debconf: DbDriver "config": /var/cache/debconf/config.dat is locked by another process: Resource temporarily unavailable
(Reading database ... 286934 files and directories currently installed.)
Preparing to unpack .../ttf-mscorefonts-installer_3.4+nmu1ubuntu1_all.deb ...
debconf: DbDriver "config": /var/cache/debconf/config.dat is locked by another process: Resource temporarily unavailable
dpkg: error processing archive /var/cache/apt/archives/ttf-mscorefonts-installer_3.4+nmu1ubuntu1_all.deb (--unpack):
 subprocess new pre-installation script returned error exit status 1
Errors were encountered while processing:
 /var/cache/apt/archives/ttf-mscorefonts-installer_3.4+nmu1ubuntu1_all.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)

Saída de apt-cache policy ubuntu-restricted-extras

$ apt-cache policy ubuntu-restricted-extras
ubuntu-restricted-extras:
  Installed: 60.1
  Candidate: 60.1
  Version table:
 *** 60.1 0
        500 http://us.archive.ubuntu.com/ubuntu/ trusty-updates/multiverse amd64 Packages
        100 /var/lib/dpkg/status
     60 0
        500 http://us.archive.ubuntu.com/ubuntu/ trusty/multiverse amd64 Packages

O que está causando o problema com a instalação?

    
por loremIpsum1771 15.09.2015 / 03:43

1 resposta

0

O pacote ubuntu-restricted-extras está instalado como você pode ver na saída do comando apt-cache policy ubuntu-restricted-extras

Agora, existem três comandos para reparar seu sistema.

sudo rm /var/cache/debconf/*.dat 
sudo apt-get update
sudo apt-get install -f

Se você tiver problemas para instalar o ttf-mscorefonts-installer , leia este .

    
por A.B. 15.09.2015 / 17:13