Cela résulte de l’installation de kubuntu-desktop a échoué pour des dépendances non satisfaites . Je suppose que j'ai perdu mon bureau kubuntu après l'installation de mysql 5.6. J'ai récupéré le bureau en installant kubuntu-desktop et akonadi-backend-mysql qui dépend de mysql 5.5.
Lorsque j'ai récupéré le bureau, MySQL 5.6 précédemment installé avait disparu et ces deux fichiers ne se trouvaient pas dans le répertoire /var/run/mysqld/
.
/var/run/mysqld/mysqld.pid
/var/run/mysqld/mysqld.sock
J'ai toujours les fichiers de configuration
/etc/mysql/my.conf
/etc/mysql/conf.d/my5.6.conf
et les bases de données dans le répertoire de données
/var/lib/mysql/
Je vais devoir installer MySQL 5.6, mais je crains que akonadi-backend-mysql ne fonctionne pas avec la version 5.6. J'ai trouvé ce genre de bug rapporté . Voici certains de mes détails:
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.
Cela donne 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
.
Donc, ma question est
akonadi-backend-mysql
?Ma distribution est 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
J'ai installé MariaDB 10.1 avec les fonctionnalités de MySQL 5.6 et 5.7 et tout se passe bien.
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