首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >dpkg被中断

dpkg被中断
EN

Ask Ubuntu用户
提问于 2015-10-15 08:30:58
回答 1查看 310关注 0票数 1

当我想安装matlab支持时,它要求我编写matlab的安装位置。输入位置后,终端被阻塞,有一段时间没有显示任何内容。然后我关闭了航站楼

代码语言:javascript
复制
sudo apt-get install matlab-support

现在,当我说升级或输入上面的代码时,它会在下面显示一个错误。该怎么办呢?

代码语言:javascript
复制
E: dpkg was interrupted, you must manually run 'sudo dpkg --configure -a' to correct the problem
EN

回答 1

Ask Ubuntu用户

回答已采纳

发布于 2015-10-15 08:32:49

正如错误消息所述:

代码语言:javascript
复制
sudo dpkg --configure -a

来自man dpkg

代码语言:javascript
复制
--configure package...|-a|--pending
        Configure a package which has been unpacked but not yet
        configured.  If -a or --pending is given instead of package, all
        unpacked but unconfigured packages are configured.

        To reconfigure a package which has already been configured, try
        the dpkg-reconfigure(8) command instead.

        Configuring consists of the following steps:

          1. Unpack the conffiles, and at the same time back up the old
             conffiles, so that they can be restored if something goes wrong.

          2. Run postinst script, if provided by the package.
票数 2
EN
页面原文内容由Ask Ubuntu提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://askubuntu.com/questions/685755

复制
相关文章

相似问题

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