首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >无法加载Debconf

无法加载Debconf
EN

Unix & Linux用户
提问于 2017-08-14 14:01:24
回答 1查看 532关注 0票数 0

我试图在运行Linux 2的旧机器上升级libc,但是我得到了一个错误:

代码语言:javascript
复制
(Reading database ... 7426 files and directories currently installed.)
Preparing to replace libc6 2.2.5-11.8 (using .../libc6_2.24-11+deb9u1_i386.deb) ...
debconf: Unable to load Debconf::Element::Dialog::Error. Failed because: Can't locate Debconf/Element/Dialog/Error.pm in @INC (@INC contains: /usr/local/lib/perl/5.6.1 /usr/local/share/perl/5.6.1 /usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.6.1 /usr/share/perl/5.6.1 /usr/local/lib/site_perl .) at (eval 14) line 2, <GEN1> line 5.
BEGIN failed--compilation aborted at (eval 14) line 2, <GEN1> line 5.

dpkg: error processing /var/cache/apt/archives/libc6_2.24-11+deb9u1_i386.deb (--unpack):
 subprocess pre-installation script returned error exit status 1
/var/lib/dpkg/tmp.ci/postrm: dpkg-maintscript-helper: command not found
dpkg: error while cleaning up:
 subprocess post-removal script returned error exit status 127
Errors were encountered while processing:
 /var/cache/apt/archives/libc6_2.24-11+deb9u1_i386.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)

与perl类似,但我不知道该做什么。你能告诉我该怎么做吗?我的目标是升级Perl,为此,我还必须升级libc iiuc。

EN

回答 1

Unix & Linux用户

回答已采纳

发布于 2017-08-14 14:25:55

您应该升级perl。暂时忽略debconf (稍后,您将告诉debconf您希望再次收到这些问题)。

作为第一步,我会安装bash静态,只是为了有一个紧急工具,以防你不能定期启动系统。(从Debian站点下载,并使用dpkg -i安装)。

检查您需要的perl模块(在Debian包站点上导航,只检查必需的perl包)。安装它们(ev )。强迫他们使用dpkg -强制- )。不时地,尝试dpkg --配置--挂起,设置它缺少的内容。最后,您应该有一个工作的系统,并尝试定期更新包。

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

https://unix.stackexchange.com/questions/386041

复制
相关文章

相似问题

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