Ubuntu trusty 14.04.2 LTS,安装 mariadb-server 时出错

Ubuntu trusty 14.04.2 LTS,安装 mariadb-server 时出错

我有这个 ubuntu:

DISTRIB_ID=Ubuntu

发布日期:14.04

DISTRIB_CODENAME=值得信赖

DISTRIB_DESCRIPTION="Ubuntu 14.04.2 LTS"

NAME="Ubuntu"

版本=“14.04.2 LTS,值得信赖的塔尔羊”

ID=ubuntu

ID_LIKE=debian

PRETTY_NAME="Ubuntu 14.04.2 LTS"

VERSION_ID="14.04"

我想安装 maria-db。我找到了这个链接:https://downloads.mariadb.org/mariadb/repositories/#mirror=cnrs&distro=Ubuntu&version=10.1&distro_release=trusty--ubuntu_trusty

因此,我从以 root 用户的权限执行了以下操作:

apt-get install software-properties-common
apt-key adv --recv-keys --keyserver hkp://keyserver.ubuntu.com:80 0xcbcb082a1bb943db
add-apt-repository 'deb [arch=amd64,i386,ppc64el] http://ftp.igh.cnrs.fr/pub/mariadb/repo/10.1/ubuntu trusty main'
sudo apt-get update

一切似乎都正常。但是,当我执行最后这条命令时:

apt-get install mariadb-server

我收到此错误:

apt-get install mariadb-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.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
mariadb-server : Depends: mariadb-server-10.1 (= 10.1.19+maria-1~trusty) but it is not going to be installed
E: Unable to correct problems, you have held broken packages.

我不明白我的错误在哪里:/

我试过 :

apt-get install -f mariadb-server

或者

apt-get upgrade && apt-get update && apt-get install mariadb-server

但总是出现同样的错误!

如果这有帮助...

cat /etc/apt/sources.list

显示:

deb http://eu-central-1.clouds.archive.ubuntu.com/ubuntu/ precise main restricted universe multiverse

deb http://eu-central-1.clouds.archive.ubuntu.com/ubuntu/ precise-updates main restricted universe multiverse

deb http://eu-central-1.clouds.archive.ubuntu.com/ubuntu/ precise-security main restricted universe multiverse

deb http://security.ubuntu.com/ubuntu trusty-security main

deb-src http://security.ubuntu.com/ubuntu trusty-security main

deb http://security.ubuntu.com/ubuntu trusty-security universe

deb-src http://security.ubuntu.com/ubuntu trusty-security universe

deb-src http://security.ubuntu.com/ubuntu trusty-security multiverse

deb-src http://security.ubuntu.com/ubuntu trusty-security multiverse

deb http://ftp.kaist.ac.kr/mariadb/repo/10.0/ubuntu trusty main

deb-src http://ftp.kaist.ac.kr/mariadb/repo/10.0/ubuntu trusty main

deb [arch=ppc64el,i386,amd64] http://ftp.igh.cnrs.fr/pub/mariadb/repo/10.1/ubuntu trusty main

deb-src [arch=ppc64el,i386,amd64] http://ftp.igh.cnrs.fr/pub/mariadb/repo/10.1/ubuntu trusty main

这是我的(初始系统自动保存?)source.list.save 文件(在 /etc/apt 中):

deb http://eu-central-1.clouds.archive.ubuntu.com/ubuntu/ precise main restricted universe multiverse

deb http://eu-central-1.clouds.archive.ubuntu.com/ubuntu/ precise-updates main restricted universe multiverse

deb http://eu-central-1.clouds.archive.ubuntu.com/ubuntu/ precise-security main restricted universe multiverse

deb http://security.ubuntu.com/ubuntu trusty-security main

deb-src http://security.ubuntu.com/ubuntu trusty-security main

deb http://security.ubuntu.com/ubuntu trusty-security universe

deb-src http://security.ubuntu.com/ubuntu trusty-security universe

deb-src http://security.ubuntu.com/ubuntu trusty-security multiverse

deb-src http://security.ubuntu.com/ubuntu trusty-security multiverse

deb http://ftp.kaist.ac.kr/mariadb/repo/10.0/ubuntu trusty main

deb-源文件http://ftp.kaist.ac.kr/mariadb/repo/10.0/ubuntu值得信赖的主要

感谢您的帮助!

相关内容