apt-get 安装问题

apt-get 安装问题

我想在 Ubuntu 14 版本上安装 Bugzilla。为此,我必须安装以下软件包

apt-get install libappconfig-perl libdate-calc-perl libtemplate-perl libmime-perl build-essential libdatetime-timezone-perl libdatetime-perl libemail-sender-perl libemail-mime-perl libemail-mime-modifier-perl libdbi-perl libdbd-mysql-perl libcgi-pm-perl libmath-random-isaac-perl libmath-random-isaac-xs-perl apache2-mpm-prefork libapache2-mod-perl2 libapache2-mod-perl2-dev libchart-perl libxml-perl libxml-twig-perl perlmagick libgd-graph-perl libtemplate-plugin-gd-perl libsoap-lite-perl libhtml-scrubber-perl libjson-rpc-perl libdaemon-generic-perl libtheschwartz-perl libtest-taint-perl libauthen-radius-perl libfile-slurp-perl libencode-detect-perl libmodule-build-perl libnet-ldap-perl libauthen-sasl-perl libtemplate-perl-doc libfile-mimeinfo-perl libhtml-formattext-withlinks-perl libgd2-xpm-dev lynx-cur python-sphinx

但是我在执行此命令时收到以下错误

Reading package lists... Done
Building dependency tree
Reading state information... Done
Note, selecting 'libmime-tools-perl' instead of 'libmime-perl'
Note, selecting 'libemail-mime-perl' instead of 'libemail-mime-modifier-perl'
Note, selecting 'perl-modules' instead of 'libcgi-pm-perl'
Package libnet-ldap-perl is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source

Package libtemplate-perl-doc is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source

Package libtemplate-plugin-gd-perl is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source

Package apache2-mpm-prefork is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source

Package libjson-rpc-perl is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source

Package libsoap-lite-perl is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source

E: Unable to locate package build-essential
E: Unable to locate package libmath-random-isaac-perl
E: Unable to locate package libmath-random-isaac-xs-perl
E: Package 'apache2-mpm-prefork' has no installation candidate
E: Unable to locate package libapache2-mod-perl2
E: Unable to locate package libapache2-mod-perl2-dev
E: Unable to locate package libchart-perl
E: Unable to locate package libxml-perl
E: Unable to locate package perlmagick
E: Unable to locate package libgd-graph-perl
E: Package 'libtemplate-plugin-gd-perl' has no installation candidate
E: Package 'libsoap-lite-perl' has no installation candidate
E: Package 'libjson-rpc-perl' has no installation candidate
E: Unable to locate package libdaemon-generic-perl
E: Unable to locate package libtheschwartz-perl
E: Unable to locate package libtest-taint-perl
E: Unable to locate package libauthen-radius-perl
E: Unable to locate package libencode-detect-perl
E: Package 'libnet-ldap-perl' has no installation candidate
E: Unable to locate package libauthen-sasl-perl
E: Package 'libtemplate-perl-doc' has no installation candidate
E: Unable to locate package libfile-mimeinfo-perl
E: Unable to locate package libhtml-formattext-withlinks-perl
E: Unable to locate package libgd2-xpm-dev
E: Unable to locate package lynx-cur
E: Unable to locate package python-sphinx

这可能是什么问题?我也检查了 apt.conf,似乎没有问题。

答案1

这基本上意味着该包不再存在于存储库中,或者/etc/apt/sources.list file文件夹中的一个或多个存储库定义/etc/apt/sources.list.d/不正确。

您可以在这个非常好的线程中找到更多故障排除信息:尝试使用 APT 安装软件包时出现“无法找到软件包”

答案2

我认为Bugzilla 安装说明当您继续安装时,它们已经过时了。

此刻,我正在 Ubuntu 15.10 上安装,按照说明操作后,我只遇到了与 apache2-mpm-prefork 相关的错误,但将其从所需软件包列表中删除似乎没问题。

相关内容