Как установить безопасно mysql 5.6 против akonadi-backend-mysql в Kubuntu 14.04?

Это следует из установки kubuntu-рабочего-стола, отказавшего для невстреченных зависимостей. Я предполагаю, что потерял свой kubuntu рабочий стол после установки mysql 5.6. Я восстановил рабочий стол назад путем установки kubuntu-рабочего-стола и akonadi-backend-mysql, который зависит от mysql 5.5.

Когда я вернул рабочий стол, ранее установленный MySQL 5.6 закончился, и эти два файла не найдены в каталоге /var/run/mysqld/.

/var/run/mysqld/mysqld.pid
/var/run/mysqld/mysqld.sock

У меня все еще есть конфигурационные файлы

/etc/mysql/my.conf
/etc/mysql/conf.d/my5.6.conf

и базы данных в каталоге данных

/var/lib/mysql/

Я должен буду установить MySQL 5.6, но мое беспокойство - то, что akonadi-backend-mysql не может работать с 5,6. Я нашел такую ошибку сообщаемой. Вот некоторые мои детали:

sudo apt-cache depends akonadi-backend-mysql
[sudo] password for sithu: 
akonadi-backend-mysql
 |Depends: mysql-server-core-5.5
  Depends: mariadb-server-core-5.5
 |Depends: mysql-client-core-5.5
  Depends: mariadb-client-core-5.5
  Depends: libqt4-sql-mysql
  Recommends: akonadi-server
  Breaks: akonadi-server
  Replaces: akonadi-server


sithu@sithu-kubuntu:~$ sudo apt-cache policy akonadi-backend-mysql
akonadi-backend-mysql:
  Installed: 1.12.1-0ubuntu1.2
  Candidate: 1.12.1-0ubuntu1.2
  Version table:
 *** 1.12.1-0ubuntu1.2 0
        500 http://security.ubuntu.com/ubuntu/ trusty-security/universe i386 Packages
        100 /var/lib/dpkg/status
     1.12.1-0ubuntu1 0
        500 http://mm.archive.ubuntu.com/ubuntu/ trusty/universe i386 Packages


sithu@sithu-kubuntu:~$ sudo apt-get install mysql-server-5.6
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:
 mysql-server-5.6 : Depends: mysql-client-5.6 (>= 5.6.33-0ubuntu0.14.04.1) but it is not going to be installed
                    Depends: mysql-server-core-5.6 (= 5.6.33-0ubuntu0.14.04.1) but it is not going to be installed
E: Unable to correct problems, you have held broken packages.


sithu@sithu-kubuntu:~$ sudo apt-get install mysql-client-5.6 mysql-client-core-5.6
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:
 mysql-client-core-5.6 : Breaks: mysql-client-core-5.5 but 5.5.53-0ubuntu0.14.04.1 is to be installed
E: Unable to correct problems, you have held broken packages.

Это заканчивается unmet dependencies: mysql-client-core-5.6 : Breaks: mysql-client-core-5.5 but 5.5.53-0ubuntu0.14.04.1 is to be installed.

Так, мой вопрос

  1. Действительно ли безопасно установить MySQL 5.6 против akonadi-backend-mysql?
  2. Как установить его, не повреждая мой рабочий стол снова?

Мой дистрибутив является Kubuntu 14.04 LTS.

sithu@sithu-kubuntu:~$ lsb_release -a
No LSB modules are available.                                                                                         
Distributor ID: Ubuntu                                                                                                
Description:    Ubuntu 14.04.1 LTS                                                                                    
Release:        14.04                                                                                                 
Codename:       trusty
1
задан 13 April 2017 в 15:24

1 ответ

Я установил MariaDB 10.1 с функциями от MySQL 5.6 & 5.7 и все идет прекрасное.

sudo apt-key adv --recv-keys --keyserver hkp://keyserver.ubuntu.com:80 0xcbcb082a1bb943db
sudo add-apt-repository 'deb [arch=amd64,i386,ppc64el] http://ftp.kaist.ac.kr/mariadb/repo/10.1/ubuntu trusty main'
sudo apt-get update
sudo apt-get install mariadb-server
0
ответ дан 8 December 2019 в 07:22

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

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