首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >处理时遇到错误:man

处理时遇到错误:man
EN

Ask Ubuntu用户
提问于 2012-02-15 17:45:19
回答 6查看 196.2K关注 0票数 35

当我使用apt-get upgrade & apt-get autoremove时,在每个apt-get [Something]..上,以及当我试图安装应用程序时,我都会遇到这个错误:

代码语言:javascript
复制
Errors were encountered while processing:
man-db
E: Sub-process /usr/bin/dpkg returned an error code (1)
EN

回答 6

Ask Ubuntu用户

发布于 2013-03-28 23:49:10

答案中没有提到的解决方案对我有效,我尝试了一个提到在Ubuntu论坛上的解决方案,执行以下命令

代码语言:javascript
复制
sudo dpkg -i --force-all [deb file path]

这起作用了。

票数 25
EN

Ask Ubuntu用户

发布于 2013-10-04 01:40:15

请阅读下面的评论。这可能是在系统上运行并创建不可恢复状态的危险命令。(这些行已注释掉,以防止复制和粘贴sysadmin‘’ing)。

简单工作我试过了!!

代码语言:javascript
复制
sudo -s
# cd /var/cache/debconf
# rm *.dat
apt-get update && apt-get upgrade

享受;)

票数 16
EN

Ask Ubuntu用户

发布于 2015-09-04 22:08:10

您可能还想知道,您可以使用dpkg --audit查看实际问题是什么。

如果输出类似于:

代码语言:javascript
复制
The following packages are in a mess due to serious problems during installation. 
They must be reinstalled for them (and any packages that depend on them) 
to function properly:
  gcdemu A GNOME panel applet to control CDEmu daemon

The following packages have been unpacked but not yet configured.
They must be configured using dpkg --configure or the configure
menu option in dselect for them to work:
 cdemu-daemon CDEmu daemon
 cdemu-client A simple command-line client to control CDEmu daemon

The following packages are only half configured, probably due to problems
configuring them the first time. The configuration should be retried using
dpkg --configure <package> or the configure menu option in dselect:
 transmission-daemon lightweight BitTorrent client (daemon)
 vhba-dkms VHBA virtual host bus adapter module

您可以运行命令:dpkg --configure <packagename>

代码语言:javascript
复制
 dpkg --configure cdemu-daemon

为了

代码语言:javascript
复制
Reconfigure an unpacked package. 
If -a  or  --pending  is  given instead of package, all unpacked but unconfigured
packages are configured.

此外,您还可以使用:

代码语言:javascript
复制
sudo apt-get -f install
sudo apt-get --reinstall install gcdemu

来修复那些处于混乱状态的包。

这里的例子:http://ubuntuforums.org/archive/index.php/t-1502826.html

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

https://askubuntu.com/questions/104493

复制
相关文章

相似问题

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