debian升级破坏,导致perl问题

前端之家收集整理的这篇文章主要介绍了debian升级破坏,导致perl问题前端之家小编觉得挺不错的,现在分享给大家,也给大家做个参考。
所以我填写了debian的升级,升级和dist-upgrade.我更习惯百胜,但这不是借口.

现在事情很愚蠢.但是,大多数情况都有效,我的bugzilla安装失败了.在加载bugzilla时,我收到500错误,这会记录在error.log中;

[Fri Jun 05 12:34:16 2009] [error] [client 172.20.0.160] Can't locate Email/Address.pm in @INC (@INC contains: . /etc/perl /usr/local/lib/perl/5.10.0 /usr/local/share/perl/5.10.0 /usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.10 /usr/share/perl/5.10 /usr/local/lib/site_perl) at Bugzilla/Mailer.pm line 48.
[Fri Jun 05 12:34:16 2009] [error] [client 172.20.0.160] BEGIN Failed--compilation aborted at Bugzilla/Mailer.pm line 48.
[Fri Jun 05 12:34:16 2009] [error] [client 172.20.0.160] Compilation Failed in require at Bugzilla/Token.pm line 35.
[Fri Jun 05 12:34:16 2009] [error] [client 172.20.0.160] BEGIN Failed--compilation aborted at Bugzilla/Token.pm line 35.
[Fri Jun 05 12:34:16 2009] [error] [client 172.20.0.160] Compilation Failed in require at Bugzilla/Auth/Persist/Cookie.pm line 37.
[Fri Jun 05 12:34:16 2009] [error] [client 172.20.0.160] BEGIN Failed--compilation aborted at Bugzilla/Auth/Persist/Cookie.pm line 37.
[Fri Jun 05 12:34:16 2009] [error] [client 172.20.0.160] Compilation Failed in require at Bugzilla/Auth.pm line 37.
[Fri Jun 05 12:34:16 2009] [error] [client 172.20.0.160] BEGIN Failed--compilation aborted at Bugzilla/Auth.pm line 37.
[Fri Jun 05 12:34:16 2009] [error] [client 172.20.0.160] Compilation Failed in require at Bugzilla.pm line 31.
[Fri Jun 05 12:34:16 2009] [error] [client 172.20.0.160] BEGIN Failed--compilation aborted at Bugzilla.pm line 31.
[Fri Jun 05 12:34:16 2009] [error] [client 172.20.0.160] Compilation Failed in require at /var/www/bugzilla/index.cgi line 34.
[Fri Jun 05 12:34:16 2009] [error] [client 172.20.0.160] BEGIN Failed--compilation aborted at /var/www/bugzilla/index.cgi line 34.
[Fri Jun 05 12:34:16 2009] [error] [client 172.20.0.160] Premature end of script headers: index.cgi

此外,当我从Bugzilla运行checksetup.pl时,它似乎过早地结束了;

Checking user setup ...
Removing existing compiled templates ...
Precompiling templates ...
Not a subroutine reference at /usr/share/perl5/Bugzilla/Template.pm line 59.
Compilation Failed in require at /usr/share/bugzilla/lib/checksetup.pl line 1291

我重新安装了perl和perl-base;

apt-get install --reinstall perl-base
apt-get install --reinstall perl

并没有成功.

任何帮助将非常感激.

此外,这个网站正在成为像我一样的系统菜鸟的救星,我真的很感谢我得到的所有帮助.

基督教

解决方法

我看到你已经用CPAN shell解决了这个问题,但最好安装Debian软件包,这样你就只有一个地方可以检查升级等等……事实上,如果你愿意,我会打赌首先使用debian bugzilla包,你不会遇到这个问题.
apt-get install libemail-address-perl

一般情况:

apt-cache search Email::Address

这给你输出像(但有时多个包):

libemail-address-perl - RFC 2822 Address Parsing and Creation

然后,您可以选择使用它来验证包是否正确:

apt-cache show libemail-address-perl

最后是我开始的apt-get安装.

猜你在找的Perl相关文章