Perlapi-5.10.1,但它不可安装

时间:2014-04-16 02:18:39

标签: mysql linux ubuntu bugzilla

我的Ubuntu安装有问题。我是Ubuntu环境的新手。我不知道如何解决这个问题。我想在我的Ubuntu上安装mysql-server,但我遇到了这些问题。

以下是我在sudo apt-get install mysql-server之后得到的一个:

sudo apt-get install mysql-server
Reading package lists... Done
Building dependency tree       
Reading state information... Done
You might want to run 'apt-get -f install' to correct these:
The following packages have unmet dependencies:
libwx-perl : Depends: perlapi-5.10.1 but it is not installable
mysql-server : Depends: mysql-server-5.5 but it is not going to be installed
E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).

之后,我尝试在终端中运行sudo apt-get -f install命令,我得到了这些:

sudo apt-get -f install
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Correcting dependencies... Done
The following packages were automatically installed and are no longer required:
language-pack-kde-en libpisock9 thunderbird-locale-en-gb
language-pack-kde-en-base kde-l10n-engb thunderbird-locale-en-us
libcompfaceg1 thunderbird-locale-en libetpan15
Use 'apt-get autoremove' to remove them.
The following extra packages will be installed:
libwx-perl
The following packages will be upgraded:
libwx-perl
1   upgraded, 0 newly installed, 0 to remove and 326 not upgraded.
1   not fully installed or removed.
Need to get 0 B/1,674 kB of archives.
After this operation, 591 kB disk space will be freed.
Do you want to continue [Y/n]? y
dpkg: dependency problems prevent configuration of libwx-perl:
libwx-perl depends on perlapi-5.10.1; however:
Package perlapi-5.10.1 is not installed.
dpkg: error processing libwx-perl (--configure):
dependency problems - leaving unconfigured
No apport report written because the error message indicates its a followup error from a previous failure.
Errors were encountered while processing:
libwx-perl
E: Sub-process /usr/bin/dpkg returned an error code (1)

如何解决此问题?我想在我的Ubuntu上安装Bugzilla,但它需要MySQL和Apache 2.但是由于这个问题,我无法同时安装它们。

aptitude
The program 'aptitude' is currently not installed.  You can install it by typing:
sudo apt-get install aptitude
sudo apt-get install aptitude 
Reading package lists... Done
Building dependency tree       
Reading state information... Done
You might want to run 'apt-get -f install' to correct these:
The following packages have unmet dependencies:
aptitude : Depends: libboost-iostreams1.46.1 (>= 1.46.1-1) but it is not going to be installed
Depends: libcwidget3 but it is not going to be installed
Depends: libept1.4.12 but it is not going to be installed
Recommends: libparse-debianchangelog-perl but it is not going to be installed
libwx-perl : Depends: perlapi-5.10.1 but it is not installable
E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).


sudo apt-cache policy perlapi
N: Unable to locate package perlapi

sudo apt-get --purge remove libwx-perl
Reading package lists... Done
Building dependency tree       
Reading state information... Done
You might want to run 'apt-get -f install' to correct these:
The following packages have unmet dependencies:
libwx-perl-processstream-perl : Depends: libwx-perl but it is not going to be installed
padre : Depends: libwx-perl (>= 0.91) but it is not going to be installed
Recommends: libformat-human-bytes-perl (>= 0.06) but it is not going to be installed
E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).


sudo apt-get dist-upgrade
Reading package lists... Done
Building dependency tree       
Reading state information... Done
You might want to run 'apt-get -f install' to correct these.
The following packages have unmet dependencies:
libwx-perl : Depends: perlapi-5.10.1 but it is not installable
E: Unmet dependencies. Try using -f.

所有人都有同样的问题...

这是我的 sources.list 文件:

# deb cdrom:[Ubuntu 12.04.2 LTS _Precise Pangolin_ - Release i386 (20130213)]/ precise main restricted

# See http://help.ubuntu.com/community/UpgradeNotes for how to upgrade to
# newer versions of the distribution.
deb http://us.archive.ubuntu.com/ubuntu/ precise main restricted
deb-src http://us.archive.ubuntu.com/ubuntu/ precise main restricted

## Major bug fix updates produced after the final release of the
## distribution.
deb http://us.archive.ubuntu.com/ubuntu/ precise-updates main restricted
deb-src http://us.archive.ubuntu.com/ubuntu/ precise-updates main restricted

## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
## team. Also, please note that software in universe WILL NOT receive any
## review or updates from the Ubuntu security team.
deb http://us.archive.ubuntu.com/ubuntu/ precise universe
deb-src http://us.archive.ubuntu.com/ubuntu/ precise universe
deb http://us.archive.ubuntu.com/ubuntu/ precise-updates universe
deb-src http://us.archive.ubuntu.com/ubuntu/ precise-updates universe

## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu 
## team, and may not be under a free licence. Please satisfy yourself as to 
## your rights to use the software. Also, please note that software in 
## multiverse WILL NOT receive any review or updates from the Ubuntu
## security team.
deb http://us.archive.ubuntu.com/ubuntu/ precise multiverse
deb-src http://us.archive.ubuntu.com/ubuntu/ precise multiverse
deb http://us.archive.ubuntu.com/ubuntu/ precise-updates multiverse
deb-src http://us.archive.ubuntu.com/ubuntu/ precise-updates multiverse

## N.B. software from this repository may not have been tested as
## extensively as that contained in the main release, although it includes
## newer versions of some applications which may provide useful features.
## Also, please note that software in backports WILL NOT receive any review
## or updates from the Ubuntu security team.
deb http://us.archive.ubuntu.com/ubuntu/ precise-backports main restricted universe multiverse
deb-src http://us.archive.ubuntu.com/ubuntu/ precise-backports main restricted universe multiverse

deb http://security.ubuntu.com/ubuntu precise-security main restricted
deb-src http://security.ubuntu.com/ubuntu precise-security main restricted
deb http://security.ubuntu.com/ubuntu precise-security universe
deb-src http://security.ubuntu.com/ubuntu precise-security universe
deb http://security.ubuntu.com/ubuntu precise-security multiverse
deb-src http://security.ubuntu.com/ubuntu precise-security multiverse

## Uncomment the following two lines to add software from Canonical's
## 'partner' repository.
## This software is not part of Ubuntu, but is offered by Canonical and the
## respective vendors as a service to Ubuntu users.
# deb http://archive.canonical.com/ubuntu precise partner
# deb-src http://archive.canonical.com/ubuntu precise partner

## Uncomment the following two lines to add software from Ubuntu's
## 'extras' repository.
## This software is not part of Ubuntu, but is offered by third-party
## developers who want to ship their latest software.
# deb http://extras.ubuntu.com/ubuntu precise main
# deb-src http://extras.ubuntu.com/ubuntu precise main

执行后

sudo dpkg --purge libwx-perl

这就是我得到的:

sudo dpkg --purge libwx-perl
dpkg: dependency problems prevent removal of libwx-perl:
libwx-perl-processstream-perl depends on libwx-perl.
padre depends on libwx-perl (>= 0.91); however:
Package libwx-perl is to be removed.
dpkg: error processing libwx-perl (--purge):
dependency problems - not removing
Errors were encountered while processing:
libwx-perl

此外:

sudo dpkg --purge libwx-perl-processstream-perl libwx-perl
dpkg: dependency problems prevent removal of libwx-perl-processstream-perl:
padre depends on libwx-perl-processstream-perl (>= 0.29); however:
Package libwx-perl-processstream-perl is to be removed.
dpkg: error processing libwx-perl-processstream-perl (--purge):
dependency problems - not removing
dpkg: dependency problems prevent removal of libwx-perl:
libwx-perl-processstream-perl depends on libwx-perl.
padre depends on libwx-perl (>= 0.91); however:
Package libwx-perl is to be removed.
dpkg: error processing libwx-perl (--purge):
dependency problems - not removing
Errors were encountered while processing:
libwx-perl-processstream-perl
libwx-perl

0 个答案:

没有答案