Bonsoir,
Je viens de faire:
$ sudo apt autoremove --purge ~n^mysql-server ~n^mariadb-server
...
$ sudo apt autoremove --purge kdepim
...
$ sudo apt autoremove --purge akonadi-server
...
$ sudo apt-get --purge autoremove
...
$ sudo apt clean
...
cd ~
$ rm -r .config/akonadi
$ rm -r .local/share/akonadi
$ rm -r .local/share/akonadi-davgroupware
$ rm -r .local/share/akonadi_maildir_resource_0
$ rm -r .local/share/akonadi_migration_agent
$ sudo apt install kdepim
...
Puis, j'ai donc voulu démarrer Akonadi:
$ akonadictl start
Connecting to deprecated signal QDBusConnectionInterface::serviceOwnerChanged(QString,QString,QString)
jean-marc@jeanmobile3:~$ org.kde.pim.akonadiserver: Starting up the Akonadi Server...
Installing MariaDB/MySQL system tables in '/home/jean-marc/.local/share/akonadi/db_data/' ...
Could not open required defaults file: /home/jean-marc/
Fatal error in defaults handling. Program aborted
Installation of system tables failed! Examine the logs in
/home/jean-marc/.local/share/akonadi/db_data/ for more information.
The problem could be conflicting information in an external
my.cnf files. You can ignore these by doing:
shell> /usr/bin/mysql_install_db --defaults-file=~/.my.cnf
You can also try to start the mysqld daemon with:
shell> /usr/sbin/mysqld --skip-grant-tables --general-log &
and use the command line tool /usr/bin/mysql
to connect to the mysql database and look at the grant tables:
shell> /usr/bin/mysql -u root mysql
mysql> show tables;
Try 'mysqld --help' if you have problems with paths. Using
--general-log gives you a log in /home/jean-marc/.local/share/akonadi/db_data/ that may be helpful.
The latest information about mysql_install_db is available at
https://mariadb.com/kb/en/installing-system-tables-mysql_install_db
You can find the latest source at https://downloads.mariadb.org and
the maria-discuss email list at https://launchpad.net/~maria-discuss
Please check all of the above before submitting a bug report
at http://mariadb.org/jira
org.kde.pim.akonadiserver: database server stopped unexpectedly
org.kde.pim.akonadiserver: Database process exited unexpectedly during initial connection!
org.kde.pim.akonadiserver: executable: "/usr/sbin/mysqld-akonadi"
org.kde.pim.akonadiserver: arguments: ("--defaults-file=/home/jean-marc/.local/share/akonadi/mysql.conf", "--datadir=/home/jean-marc/.local/share/akonadi/db_data/", "--socket=/run/user/1000/akonadi/mysql.socket", "--pid-file=/run/user/1000/akonadi/mysql.pid")
org.kde.pim.akonadiserver: stdout: ""
org.kde.pim.akonadiserver: stderr: "Could not open required defaults file: /home/jean-marc/.local/share/akonadi/mysql.conf\nFatal error in defaults handling. Program aborted\n"
org.kde.pim.akonadiserver: exit code: 1
org.kde.pim.akonadiserver: process error: "Unknown error"
org.kde.pim.akonadiserver: Failed to remove runtime connection config file
org.kde.pim.akonadiserver: Shutting down AkonadiServer...
org.kde.pim.akonadicontrol: Application '/usr/bin/akonadiserver' exited normally...
JM