微信公众号搜"智元新知"关注
微信扫一扫可直接关注哦!

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安装.

原文地址:https://www.jb51.cc/Perl/172409.html

版权声明:本文内容由互联网用户自发贡献,该文观点与技术仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请发送邮件至 dio@foxmail.com 举报,一经查实,本站将立刻删除。

相关推荐