apt-get 安装问题

Aru*_*379 7 apt

我想在 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
Run Code Online (Sandbox Code Playgroud)

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

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
Run Code Online (Sandbox Code Playgroud)

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

wie*_*oma 1

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

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


use*_*474 0

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

目前,我正在 Ubuntu 15.10 上进行安装,并按照说明进行操作,我刚刚遇到了与 apache2-mpm-prefork 相关的错误,但将其从所需软件包列表中删除似乎就可以了。