MySQL 无法在 ubuntu 8.10 上安装

MySQL 无法在 ubuntu 8.10 上安装

我正面临这个问题。请帮助我。

myr# sudo apt-get install mysql-server
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.

Since you only requested a single operation it is extremely likely that
the package is simply not installable and a bug report against
that package should be filed.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
  mysql-server: Depends: mysql-server-5.0 but it is not going to be installed
E: Broken packages

答案1

Ubuntu 8.10 之后又发布了 5 个新版本,我怀疑它是否还受支持。我猜想托管 Ubuntu 8.10 的存储库已经消失,因此您的系统无法加载安装所需的软件包。

我将首先将 Ubuntu 升级到 11.04,或者至少升级到最新的 LTS 支持版本 10.04。

答案2

我同意升级您的系统,但首先您可以尝试这个:

sudo apt-get update && sudo apt-get dist-upgrade

(这将使用适合您当前 Ubuntu 版本的所有最新软件包升级您的系统)

然后 :

sudo apt-get install mysql-server

相关内容