При установке MariaDB - Невстреченные зависимости, Зависит: mariadb-server-10.0

Таким образом, я решил обновить от Сервера MySQL до Mariadb. Я думал, что основная ООН, устанавливающая mysql сервер и устанавливающая mariadb, будет быстра.

Когда я пытался установить посредством команд: sudo apt-get install python-software-properties

сопровождаемый: sudo apt-key adv --recv-keys --keyserver keyserver.ubuntu.com 0xcbcb082a1bb943db

сопровождаемый:

sudo add-apt-repository 'deb http://ftp.osuosl.org/pub/mariadb/repo/10.0/ubuntu precise main'

и затем: sudo apt-get update

затем наконец: sudo apt-get install mariadb-server

Я получаю ошибку:

`invoke-rc.d: initscript mysql, action "start" failed.
dpkg: error processing package mariadb-server-10.1 (--configure):
 subprocess installed post-installation script returned error exit status 1
dpkg: dependency problems prevent configuration of mariadb-server:
 mariadb-server depends on mariadb-server-10.1 (= 10.1.16+maria-1~trusty); however:
  Package mariadb-server-10.1 is not configured yet.

dpkg: error processing package mariadb-server (--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:
 mariadb-server-10.1
 mariadb-server

Я попытался произвести чистку mariadb для возвращения к mysql серверу, но не могу установить также. Попробованный несколько мер из Интернета, но не может зафиксировать это. Какова могла быть проблема? Кто-либо? Доверяйте мне, я погуглил и попробовал много мер, но не могу работать?

Мой /etc/apt/sources.list ниже

# deb cdrom:[Ubuntu 14.04.1 LTS _Trusty Tahr_ - Release amd64 (20140722.2)]/ trusty 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/ trusty main restricted
deb-src http://us.archive.ubuntu.com/ubuntu/ trusty main restricted

## Major bug fix updates produced after the final release of the
## distribution.
deb http://us.archive.ubuntu.com/ubuntu/ trusty-updates main restricted
deb-src http://us.archive.ubuntu.com/ubuntu/ trusty-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/ trusty universe
deb-src http://us.archive.ubuntu.com/ubuntu/ trusty universe
deb http://us.archive.ubuntu.com/ubuntu/ trusty-updates universe
deb-src http://us.archive.ubuntu.com/ubuntu/ trusty-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/ trusty multiverse
deb-src http://us.archive.ubuntu.com/ubuntu/ trusty multiverse
deb http://us.archive.ubuntu.com/ubuntu/ trusty-updates multiverse
deb-src http://us.archive.ubuntu.com/ubuntu/ trusty-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/ trusty-backports main restricted universe multiverse
deb-src http://us.archive.ubuntu.com/ubuntu/ trusty-backports main restricted universe multiverse

deb http://us.archive.ubuntu.com/ubuntu/ trusty-security main restricted
deb-src http://us.archive.ubuntu.com/ubuntu/ trusty-security main restricted
deb http://us.archive.ubuntu.com/ubuntu/ trusty-security universe
deb-src http://us.archive.ubuntu.com/ubuntu/ trusty-security universe
deb http://us.archive.ubuntu.com/ubuntu/ trusty-security multiverse
deb-src http://us.archive.ubuntu.com/ubuntu/ trusty-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 trusty partner
deb-src http://archive.canonical.com/ubuntu trusty partner

## 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 trusty main
deb-src http://extras.ubuntu.com/ubuntu trusty main
#deb http://mirror.jmu.edu/pub/mariadb/repo/10.1/ubuntu trusty main
#deb-src http://mirror.jmu.edu/pub/mariadb/repo/10.1/ubuntu trusty main
deb http://ftp.osuosl.org/pub/mariadb/repo/5.5/ubuntu precise main
deb-src http://ftp.osuosl.org/pub/mariadb/repo/5.5/ubuntu precise main
2
задан 11 August 2016 в 07:44

3 ответа

Вы используете Ubuntu 14.04 (надежный человек), и Вы добавили репозиторий для (точной) Ubuntu 12.04?

deb http://ftp.osuosl.org/pub/mariadb/repo/5.5/ubuntu precise main
deb-src http://ftp.osuosl.org/pub/mariadb/repo/5.5/ubuntu precise main

, Если я выполняю поиск mariadb на packages.ubuntu.com, существует mariadb уже в испытанных репозиториях вселенной - посмотрите этот ссылка .

Может Вы удалять http://ftp.osuosl.org/pub/mariadb/repo/5.5/ubuntu репозиторий в/etc/apt/sources.list и проверке, если существуют некоторые странные репозитории в/etc/apt/sources.list.d.?

После той чистки предыдущая mariadb установка и попытка установить его с

sudo apt-get update
sudo apt-get install mariadb-server

Это установит maria дб 5.5. Если Вам нужна попытка версии 10.1 с официальными инструкциями здесь .

0
ответ дан 2 December 2019 в 10:14

Самый простой способ иметь дело с невстреченными зависимостями состоит в том, чтобы использовать Синаптический Диспетчер пакетов.

0] Установка это, если у Вас еще нет его. Ссылка:
1] Нажимают на Настройки> Фильтры. Перейдите к поврежденному и проверьте не устанавливаемый и поврежденный.
2] Пользовательское использование фильтра, Поврежденное к пакету, упомянутому по ошибке.
3] Щелчок правой кнопкой> Mark для полного удаления.
4] Нажимают Apply на главную панель.

, Который должен решить его. :)

0
ответ дан 2 December 2019 в 10:14

Своего рода поздно, но имел ту же проблему вчера вечером также после обновления MariaDB к 10,1 стабильным, на Linux Mint 17,2 - Rafaela.

Поэтому после удаления + чистка MariaDB, установленного 10,0 стабильных версий от Монетного двора 17,1 инструкций, никакие проблемы.

Официальные Инструкции Дистрибутивы Загрузки MariaDB

0
ответ дан 2 December 2019 в 10:14

Другие вопросы по тегам:

Похожие вопросы: