Chr*_*ian 3 debian bugzilla aptitude perl apt
所以我塞了一个debian的升级,upgrade和dist-upgrade。我更习惯于 yum 但这不是借口。
现在事情变得愚蠢了。大多数事情都有效,但是,我的 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
Run Code Online (Sandbox Code Playgroud)
另外,当我从 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
Run Code Online (Sandbox Code Playgroud)
我已经重新安装了 perl 和 perl-base;
apt-get install --reinstall perl-base
apt-get install --reinstall perl
Run Code Online (Sandbox Code Playgroud)
并没有成功。
任何帮助将不胜感激。
此外,这个网站正在成为像我这样的系统新手的救星,我真的很感谢我得到的所有帮助。
基督教
我看到你已经用 CPAN shell 解决了这个问题,但最好用 Debian 软件包安装,这样你只有一个地方可以检查升级等......事实上,我敢打赌你会首先使用 debian bugzilla 包,您一开始就不会遇到这个问题。
apt-get install libemail-address-perl
Run Code Online (Sandbox Code Playgroud)
一般情况:
apt-cache search Email::Address
Run Code Online (Sandbox Code Playgroud)
这为您提供了类似的输出(但有时不止一个包):
libemail-address-perl - RFC 2822 Address Parsing and Creation
Run Code Online (Sandbox Code Playgroud)
然后,您可以选择使用它来验证包是否正确:
apt-cache show libemail-address-perl
Run Code Online (Sandbox Code Playgroud)
最后是我开始的 apt-get 安装。