我试图在我的网页浏览器中运行webgl应用程序,但是每当我尝试运行时,都不会发生任何事情。我发现可以安装ubuntu-restricted-extras来启用webgl。我的一个朋友在他们的系统上安装了这个软件包,并且能够运行我试图运行的webgl应用程序。当我试图使用Ubuntu软件中心安装软件包时,下载停止了,所以我不得不终止这个过程。
sudo apt-get install 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)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是什么导致了安装的问题?
发布于 2015-09-15 15:13:12
安装包ubuntu-restricted-extras,如您在命令apt-cache policy ubuntu-restricted-extras的输出中看到的那样
现在有三个命令来修复您的系统。
sudo rm /var/cache/debconf/*.dat
sudo apt-get update
sudo apt-get install -f如果安装ttf-mscorefonts-installer有问题,请阅读这。
https://askubuntu.com/questions/674232
复制相似问题