apt-get返回错误“debconf:Perl可能是未configuration的”/我如何真正理解linux错误

嗨!

所以我在Debian上安装了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安装?

我想这也暗示了一个更大的问题:我认为自己是一个有能力的networking程序员,拥有大约10年的前端和后端经验,但是linux库/编译错误仍然像是在读伊特鲁里亚人。 有没有什么好的文档可以诊断Linux中常见的编译/安装错误types,这样我就可以感觉不到我在Google上发现了一个神奇的咒语,更像是我正在理解我的解决scheme?

谢谢,互联网。

你可以尝试:

 dpkg --configure -a