加入收藏 | 设为首页 | 会员中心 | 我要投稿 李大同 (https://www.lidatong.com.cn/)- 科技、建站、经验、云计算、5G、大数据,站长网!
当前位置: 首页 > 大数据 > 正文

apt-get返回错误“debconf:Perl可能未配置”/我如何理解linux错

发布时间:2020-12-16 06:13:01 所属栏目:大数据 来源:网络整理
导读:啊,那里. 所以我在我的覆盆子pi上安装了Debian,一切都很顺利,但是我的apt-get打破了.现在每当我尝试安装或删除任何东西时,它都会失败并返回错误消息,如下所示: debconf: Perl may be unconfigured (Quantifier follows nothing in regex; marked by -- HERE
啊,那里.

所以我在我的覆盆子pi上安装了Debian,一切都很顺利,但是我的apt-get打破了.现在每当我尝试安装或删除任何东西时,它都会失败并返回错误消息,如下所示:

debconf: Perl may be unconfigured (Quantifier follows nothing in regex; marked by <-- HERE in m/* <-- HERE     nostdio.h
 *
 *    Copyright (C) 1996,2000,2001,2005,by Larry Wall and others
 *
 *    You may distribute under the terms of either the GNU General Public
 *    License or the Artistic License,as specified in the README file.
 *
 */ at /usr/lib/perl/5.10/IO.pm line 8.
Compilation failed in require at /usr/lib/perl/5.10/IO/Handle.pm line 9.
BEGIN failed--compilation aborted at /usr/lib/perl/5.10/IO/Handle.pm line 9.
Compilation failed in require at /usr/lib/perl/5.10/IO/Seekable.pm line 9.
BEGIN failed--compilation aborted at /usr/lib/perl/5.10/IO/Seekable.pm line 9.
Compilation failed in require at /usr/lib/perl/5.10/IO/File.pm line 11.
BEGIN failed--compilation aborted at /usr/lib/perl/5.10/IO/File.pm line 11.
Compilation failed in require at /usr/share/perl/5.10/FileHandle.pm line 9.
Compilation failed in require at (eval 1) line 3.
BEGIN failed--compilation aborted at (eval 1) line 3.
) -- aborting

Perl似乎已安装并正常运行.我还可以在哪里寻找线索,以及如何修复apt-get安装?

我想这也暗示了一个更大的问题:我认为自己是一个称职的网络程序员,拥有大约10年的前端和后端经验,但linux库/编译错误仍然让我觉得我正在读伊特鲁里亚.有没有关于在Linux中诊断常见类型的编译/安装错误的好文档,这样我就可以感觉不像我正在输入我在Google上发现的魔法,更像是我实际上在理解我的解决方案?

谢谢,互联网.

解决方法

你可以试试:

dpkg --configure -a

(编辑:李大同)

【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容!

    推荐文章
      热点阅读