AskOverflow.Dev

AskOverflow.Dev Logo AskOverflow.Dev Logo

AskOverflow.Dev Navigation

  • 主页
  • 系统&网络
  • Ubuntu
  • Unix
  • DBA
  • Computer
  • Coding
  • LangChain

Mobile menu

Close
  • 主页
  • 系统&网络
    • 最新
    • 热门
    • 标签
  • Ubuntu
    • 最新
    • 热门
    • 标签
  • Unix
    • 最新
    • 标签
  • DBA
    • 最新
    • 标签
  • Computer
    • 最新
    • 标签
  • Coding
    • 最新
    • 标签
主页 / server / 问题 / 20222
In Process
Christian
Christian
Asked: 2009-06-05 18:41:32 +0800 CST2009-06-05 18:41:32 +0800 CST 2009-06-05 18:41:32 +0800 CST

debian 升级失败,导致 perl 问题

  • 772

所以我塞了一个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

并且没有成功。

任何帮助将不胜感激。

此外,这个网站正在成为像我这样的系统新手的救星,我非常感谢我得到的所有帮助。

基督教

debian perl apt aptitude bugzilla
  • 5 5 个回答
  • 2617 Views

5 个回答

  • Voted
  1. freiheit
    2009-06-05T19:18:44+08:002009-06-05T19:18:44+08:00

    我看到你已经用 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 install。

    • 7
  2. lexu
    2009-06-05T20:45:46+08:002009-06-05T20:45:46+08:00

    您可以考虑将 Perl 5.8(重新)安装到不同的目录,而不是使用更新版本的 Bugzilla。不要覆盖操作系统。

    在过去,我学会了将 Perl 的 OS 版本和 App 版本保存在不同目录中的艰难方法。让操作系统管理/填写它的 Perl 版本要求,并确保您满足不同目录中应用程序的要求。

    • 2
  3. Matt Simmons
    2009-06-05T18:56:40+08:002009-06-05T18:56:40+08:00
      perl -MCPAN -e shell 
      install Email::Address
    

    也许?我不是perl的人...

    • 1
  4. Adam
    2009-06-05T18:59:01+08:002009-06-05T18:59:01+08:00

    您正在使用 Perl 5.10 - 您是否尝试安装无法使用的旧版 Bugzilla?

    使用更新的 Bugzilla(3.0.2及更高版本)或在此处查看解决方法。

    • 1
  5. Caterpillar
    2009-06-05T22:53:02+08:002009-06-05T22:53:02+08:00

    尝试运行 apt-get -f install,它可能会修复您损坏的软件包。

    • 1

相关问题

  • 您是否在生产/个人服务器上使用过 Debian 不稳定/测试?

  • 推荐的个人邮件服务器设置 [关闭]

  • 为什么 redhat 在企业界似乎如此受欢迎?[关闭]

  • 您如何跟踪和调试 mySQL 性能问题?

  • 我应该如何将 debian/xen 机器从 etch 升级到 lenny

Sidebar

Stats

  • 问题 205573
  • 回答 270741
  • 最佳答案 135370
  • 用户 68524
  • 热门
  • 回答
  • Marko Smith

    SFTP 使用什么端口?

    • 6 个回答
  • Marko Smith

    从 IP 地址解析主机名

    • 8 个回答
  • Marko Smith

    如何按大小对 du -h 输出进行排序

    • 30 个回答
  • Marko Smith

    命令行列出 Windows Active Directory 组中的用户?

    • 9 个回答
  • Marko Smith

    Windows 中执行反向 DNS 查找的命令行实用程序是什么?

    • 14 个回答
  • Marko Smith

    如何检查 Windows 机器上的端口是否被阻塞?

    • 4 个回答
  • Marko Smith

    我应该打开哪个端口以允许远程桌面?

    • 9 个回答
  • Marko Smith

    什么是 Pem 文件,它与其他 OpenSSL 生成的密钥文件格式有何不同?

    • 3 个回答
  • Marko Smith

    如何确定bash变量是否为空?

    • 15 个回答
  • Martin Hope
    MikeN 在 Nginx 中,如何在维护子域的同时将所有 http 请求重写为 https? 2009-09-22 06:04:43 +0800 CST
  • Martin Hope
    Tom Feiner 如何按大小对 du -h 输出进行排序 2009-02-26 05:42:42 +0800 CST
  • Martin Hope
    0x89 bash中的双方括号和单方括号有什么区别? 2009-08-10 13:11:51 +0800 CST
  • Martin Hope
    kch 如何更改我的私钥密码? 2009-08-06 21:37:57 +0800 CST
  • Martin Hope
    Kyle Brandt IPv4 子网如何工作? 2009-08-05 06:05:31 +0800 CST
  • Martin Hope
    Noah Goodrich 什么是 Pem 文件,它与其他 OpenSSL 生成的密钥文件格式有何不同? 2009-05-19 18:24:42 +0800 CST
  • Martin Hope
    Brent 如何确定bash变量是否为空? 2009-05-13 09:54:48 +0800 CST
  • Martin Hope
    cletus 您如何找到在 Windows 中打开文件的进程? 2009-05-01 16:47:16 +0800 CST

热门标签

linux nginx windows networking ubuntu domain-name-system amazon-web-services active-directory apache-2.4 ssh

Explore

  • 主页
  • 问题
    • 最新
    • 热门
  • 标签
  • 帮助

Footer

AskOverflow.Dev

关于我们

  • 关于我们
  • 联系我们

Legal Stuff

  • Privacy Policy

Language

  • Pt
  • Server
  • Unix

© 2023 AskOverflow.DEV All Rights Reserve