[已解决]apt-get install过程中强制关闭了,再install就出错,怎么办?

为当前最终发行版之前的所有版本提供支持
回复
wgf4242
帖子: 513
注册时间: 2009-11-30 7:46
送出感谢: 0
接收感谢: 0

[已解决]apt-get install过程中强制关闭了,再install就出错,怎么办?

#1

帖子 wgf4242 » 2011-03-10 23:52

代码: 全选

Reading package lists... Done
Building dependency tree       
Reading state information... Done
wine1.2 is already the newest version.
The following packages will be upgraded:
  ttf-mscorefonts-installer
1 upgraded, 0 newly installed, 0 to remove and 280 not upgraded.
3 not fully installed or removed.
Need to get 0B/40.3kB of archives.
After this operation, 221kB of additional disk space will be used.
debconf: DbDriver "config": could not open /var/cache/debconf/config.dat
(Reading database ... 
dpkg: warning: files list file for package `ttf-mscorefonts-installer' missing, assuming package has no files currently installed.
(Reading database ... 138039 files and directories currently installed.)
Preparing to replace ttf-mscorefonts-installer 3.2ubuntu2 (using .../ttf-mscorefonts-installer_3.2ubuntu2_all.deb) ...
debconf: DbDriver "config": could not open /var/cache/debconf/config.dat
dpkg: error processing /var/cache/apt/archives/ttf-mscorefonts-installer_3.2ubuntu2_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.2ubuntu2_all.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
不让我再安装了。怎么解决?


[已解决]手动touch 一个/var/cache/debconf/config.dat
上次由 wgf4242 在 2011-03-11 8:22,总共编辑 1 次。
wgf4242
帖子: 513
注册时间: 2009-11-30 7:46
送出感谢: 0
接收感谢: 0

Re: [求助]apt-get install过程中强制关闭了,再install就出错,怎么办?

#3

帖子 wgf4242 » 2011-03-11 7:40

做了。现在install时提示..
我好像是之前把cache文件夹删了来着,有关系么?

代码: 全选

Do you want to continue [Y/n]? y
debconf: DbDriver "config": could not open /var/cache/debconf/config.dat
Setting up wine1.2 (1.2.2-0ubuntu2~maverick2) ...
debconf: DbDriver "config": could not open /var/cache/debconf/config.dat
dpkg: error processing wine1.2 (--configure):
 subprocess installed post-installation script returned error exit status 1
Setting up man-db (2.5.7-4) ...
debconf: DbDriver "config": could not open /var/cache/debconf/config.dat
dpkg: error processing man-db (--configure):
 subprocess installed post-installation script returned error exit status 1
Errors were encountered while processing:
 wine1.2
 man-db
E: Sub-process /usr/bin/dpkg returned an error code (1)
上次由 wgf4242 在 2011-03-11 7:48,总共编辑 1 次。
头像
枫叶饭团
论坛版主
帖子: 14685
注册时间: 2010-06-16 1:05
系统: Mac OS X
来自: Tencent
送出感谢: 1 次
接收感谢: 132 次
联系:

Re: [求助]apt-get install过程中强制关闭了,再install就出错,怎么办?

#4

帖子 枫叶饭团 » 2011-03-11 7:46

一个时间只能开一个apt
wgf4242
帖子: 513
注册时间: 2009-11-30 7:46
送出感谢: 0
接收感谢: 0

Re: [求助]apt-get install过程中强制关闭了,再install就出错,怎么办?

#5

帖子 wgf4242 » 2011-03-11 7:52

枫叶饭团 写了:一个时间只能开一个apt
我只开了一个的情况下报3 楼的错误。

连卸载都不行了。

代码: 全选

Removing wine1.2 ...
debconf: DbDriver "config": could not open /var/cache/debconf/config.dat
dpkg: error processing wine1.2 (--remove):
 subprocess installed post-removal script returned error exit status 1
Errors were encountered while processing:
 wine1.2
E: Sub-process /usr/bin/dpkg returned an error code (1)
aplikeu
帖子: 84
注册时间: 2009-06-02 3:44
送出感谢: 1 次
接收感谢: 0
联系:

Re: [求助]apt-get install过程中强制关闭了,再install就出错,怎么办?

#6

帖子 aplikeu » 2011-03-11 8:14

sudo dpkg --configure -a
头像
xupuuser
帖子: 9
注册时间: 2011-03-10 15:28
送出感谢: 0
接收感谢: 0

Re: [已解决]apt-get install过程中强制关闭了,再install就出错,怎么办?

#7

帖子 xupuuser » 2011-03-11 8:52

system manager update
看破放下自在随缘
头像
sevk
帖子: 2059
注册时间: 2007-05-08 16:26
系统: arch
来自: 火星内核某分子内某原子核内
送出感谢: 20 次
接收感谢: 6 次
联系:

Re: [已解决]apt-get install过程中强制关闭了,再install就出错,怎么办?

#8

帖子 sevk » 2011-03-11 9:34

代码: 全选

sudo aptitude install
笔记本 :
F208S : gentoo
A460P i3G D6 : UBUNTU + WIN7
UN43D1 : UBUNTU + WIN7
1000人超级QQ群 LINUX + WIN : 31465544 或 18210387
回复

回到 “老旧版本支持”