首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >文件"/usr/lib/update-notifier/package-data-downloader",第29行,在<module>导入目录中

文件"/usr/lib/update-notifier/package-data-downloader",第29行,在<module>导入目录中
EN

Ask Ubuntu用户
提问于 2014-01-12 07:16:38
回答 2查看 6.9K关注 0票数 2

因此,我试图安装Flash插件,但它说更新通知程序-公共是没有配置的。所以我做了sudo dpkg --configure update-notifier-common,它显示了

代码语言:javascript
复制
Traceback (most recent call last):
 File "/usr/lib/update-notifier/package-data-downloader", line 29, in <module>
  import debconf
ImportError: No module named debconf
dpkg: error processing update-notifier-common (--configure):
 subprocess installed post-installation script returned error exit status 1
Errors were encountered while processing:
 update-notifier-common

但是sudo apt-get install debconf给了

代码语言:javascript
复制
Setting up update-notifier-common (0.147.1) ...
Traceback (most recent call last):
  File "/usr/lib/update-notifier/package-data-downloader", line 29, in <module>
    import debconf
ImportError: No module named debconf
dpkg: error processing update-notifier-common (--configure):
 subprocess installed post-installation script returned error exit status 1
dpkg: dependency problems prevent configuration of flashplugin-installer:
 flashplugin-installer depends on update-notifier-common (>= 0.119ubuntu2); however:
  Package update-notifier-common is not configured yet.

dpkg: error processing flashplugin-installer (--configure):
 dependency problems - leaving unconfigured
No apport report written because the error message indicates its a followup error from a previous failure.
          Errors were encountered while processing:
 update-notifier-common
 flashplugin-installer
E: Sub-process /usr/bin/dpkg returned an error code (1)

因此,在我安装了debconf之前,我似乎无法配置更新通知程序--通用的更新通知程序,而在我安装debconf和配置的更新通知程序--公共的情况下,我才能安装debconf。帮助?

EN

回答 2

Ask Ubuntu用户

发布于 2014-10-08 00:36:20

不需要长流程Braiam的具体说明。

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

该让你走了。

票数 0
EN

Ask Ubuntu用户

发布于 2015-10-20 13:30:47

您需要更新您的/usr/bin/python以指向pythonVersion2.7

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

https://askubuntu.com/questions/404222

复制
相关文章

相似问题

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