首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >尝试安装时出错,请暂时不可用debconf资源。

尝试安装时出错,请暂时不可用debconf资源。
EN

Ask Ubuntu用户
提问于 2015-09-15 01:43:45
回答 1查看 2.4K关注 0票数 0

我试图在我的网页浏览器中运行webgl应用程序,但是每当我尝试运行时,都不会发生任何事情。我发现可以安装ubuntu-restricted-extras来启用webgl。我的一个朋友在他们的系统上安装了这个软件包,并且能够运行我试图运行的webgl应用程序。当我试图使用Ubuntu软件中心安装软件包时,下载停止了,所以我不得不终止这个过程。

sudo apt-get install ubuntu-restricted-extras输出

代码语言:javascript
复制
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输出

代码语言:javascript
复制
$ 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

是什么导致了安装的问题?

EN

回答 1

Ask Ubuntu用户

发布于 2015-09-15 15:13:12

安装包ubuntu-restricted-extras,如您在命令apt-cache policy ubuntu-restricted-extras的输出中看到的那样

现在有三个命令来修复您的系统。

代码语言:javascript
复制
sudo rm /var/cache/debconf/*.dat 
sudo apt-get update
sudo apt-get install -f

如果安装ttf-mscorefonts-installer有问题,请阅读

票数 0
EN
页面原文内容由Ask Ubuntu提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://askubuntu.com/questions/674232

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档