NoPaste

Akonadi: Test mysql_upgrade

von Bequimao

SNIPPET_TEXT:
  1. root@bullseye-kde:~# apt install mariadb-server-core
  2. Paketlisten werden gelesen… Fertig
  3. Abhängigkeitsbaum wird aufgebaut… Fertig
  4. Statusinformationen werden eingelesen… Fertig
  5. E: Paket mariadb-server-core kann nicht gefunden werden.
  6. root@bullseye-kde:~#
  7. root@bullseye-kde:~# apt install mariadb-server-core-10.5
  8. Paketlisten werden gelesen… Fertig
  9. Abhängigkeitsbaum wird aufgebaut… Fertig
  10. Statusinformationen werden eingelesen… Fertig
  11. Die folgenden Pakete werden ENTFERNT:
  12.   mysql-server-core-5.5
  13. Die folgenden NEUEN Pakete werden installiert:
  14.   mariadb-server-core-10.5
  15. 0 aktualisiert, 1 neu installiert, 1 zu entfernen und 0 nicht aktualisiert.
  16. Es müssen 6.624 kB an Archiven heruntergeladen werden.
  17. Nach dieser Operation werden 21,8 MB Plattenplatz zusätzlich benutzt.
  18. Möchten Sie fortfahren? [J/n] n
  19. Abbruch.
  20. root@bullseye-kde:~#
  21. root@bullseye-kde:~# export LANG=C
  22. root@bullseye-kde:~#
  23. root@bullseye-kde:~# dpkg -l | egrep 'mysql|mariadb'
  24. ii  akonadi-backend-mysql                         4:20.08.3-3                     all          MySQL storage backend for Akonadi
  25. ii  default-mysql-client-core                     1.0.7                           all          MySQL database core client binaries (metapackage)
  26. ii  libmariadb3:amd64                             1:10.5.11-1                     amd64        MariaDB database client library
  27. ii  libqt5sql5-mysql:amd64                        5.15.2+dfsg-9                   amd64        Qt 5 MySQL database driver
  28. ii  libreoffice-sdbc-mysql                        1:7.0.4-4                       amd64        MariaDB/MySQL SDBC driver for LibreOffice
  29. ii  mariadb-client-core-10.5                      1:10.5.11-1                     amd64        MariaDB database core client binaries
  30. ii  mariadb-common                                1:10.5.11-1                     all          MariaDB common configuration files
  31. ii  mysql-common                                  5.8+1.0.7                       all          MySQL database common files, e.g. /etc/mysql/my.cnf
  32. ii  mysql-server-core-5.5                         5.5.54-0+deb8u1                 amd64        MySQL database server binaries
  33. root@bullseye-kde:~#
  34. root@bullseye-kde:~# apt-file search mysql_upgrade
  35. mariadb-server-core-10.5: /usr/bin/mysql_upgrade
  36. mariadb-server-core-10.5: /usr/share/man/man1/mysql_upgrade.1.gz
  37. mariadb-test-data: /usr/share/mysql/mysql-test/include/mysql_upgrade_preparation.inc
  38. mariadb-test-data: /usr/share/mysql/mysql-test/main/mysql_json_mysql_upgrade.result
  39. mariadb-test-data: /usr/share/mysql/mysql-test/main/mysql_json_mysql_upgrade.test
  40. mariadb-test-data: /usr/share/mysql/mysql-test/main/mysql_json_mysql_upgrade_with_plugin_loaded.result
  41. mariadb-test-data: /usr/share/mysql/mysql-test/main/mysql_json_mysql_upgrade_with_plugin_loaded.test
  42. mariadb-test-data: /usr/share/mysql/mysql-test/main/mysql_upgrade-20228.result
  43. mariadb-test-data: /usr/share/mysql/mysql-test/main/mysql_upgrade-20228.test
  44. mariadb-test-data: /usr/share/mysql/mysql-test/main/mysql_upgrade-6984.opt
  45. mariadb-test-data: /usr/share/mysql/mysql-test/main/mysql_upgrade-6984.result
  46. mariadb-test-data: /usr/share/mysql/mysql-test/main/mysql_upgrade-6984.test
  47. mariadb-test-data: /usr/share/mysql/mysql-test/main/mysql_upgrade.result
  48. mariadb-test-data: /usr/share/mysql/mysql-test/main/mysql_upgrade.test
  49. mariadb-test-data: /usr/share/mysql/mysql-test/main/mysql_upgrade_mysql_json_datatype.result
  50. mariadb-test-data: /usr/share/mysql/mysql-test/main/mysql_upgrade_mysql_json_datatype.test
  51. mariadb-test-data: /usr/share/mysql/mysql-test/main/mysql_upgrade_no_innodb.result
  52. mariadb-test-data: /usr/share/mysql/mysql-test/main/mysql_upgrade_no_innodb.test
  53. mariadb-test-data: /usr/share/mysql/mysql-test/main/mysql_upgrade_noengine.result
  54. mariadb-test-data: /usr/share/mysql/mysql-test/main/mysql_upgrade_noengine.test
  55. mariadb-test-data: /usr/share/mysql/mysql-test/main/mysql_upgrade_ssl.result
  56. mariadb-test-data: /usr/share/mysql/mysql-test/main/mysql_upgrade_ssl.test
  57. mariadb-test-data: /usr/share/mysql/mysql-test/main/mysql_upgrade_to_100502.result
  58. mariadb-test-data: /usr/share/mysql/mysql-test/main/mysql_upgrade_to_100502.test
  59. mariadb-test-data: /usr/share/mysql/mysql-test/main/mysql_upgrade_view.result
  60. mariadb-test-data: /usr/share/mysql/mysql-test/main/mysql_upgrade_view.test
  61. mariadb-test-data: /usr/share/mysql/mysql-test/main/rpl_mysql_upgrade_slave_repo_check.result
  62. mariadb-test-data: /usr/share/mysql/mysql-test/main/rpl_mysql_upgrade_slave_repo_check.test
  63. mariadb-test-data: /usr/share/mysql/mysql-test/std_data/mysql_upgrade/event.MYD
  64. mariadb-test-data: /usr/share/mysql/mysql-test/std_data/mysql_upgrade/event.MYI
  65. mariadb-test-data: /usr/share/mysql/mysql-test/std_data/mysql_upgrade/event.frm
  66. mariadb-test-data: /usr/share/mysql/mysql-test/std_data/mysql_upgrade/v1.frm
  67. mariadb-test-data: /usr/share/mysql/mysql-test/std_data/mysql_upgrade/v1badcheck.frm
  68. mariadb-test-data: /usr/share/mysql/mysql-test/std_data/mysql_upgrade/v2.frm
  69. mariadb-test-data: /usr/share/mysql/mysql-test/std_data/mysql_upgrade/v3.frm
  70. mariadb-test-data: /usr/share/mysql/mysql-test/std_data/mysql_upgrade/v4.frm
  71. mariadb-test-data: /usr/share/mysql/mysql-test/suite/rpl/r/rpl_mysql_upgrade.result
  72. mariadb-test-data: /usr/share/mysql/mysql-test/suite/rpl/t/rpl_mysql_upgrade.test
  73. python3-glance: /usr/lib/python3/dist-packages/glance/db/sqlalchemy/migrate_repo/versions/006_mysql_upgrade.sql
  74. python3-subunit2sql: /usr/lib/python3/dist-packages/subunit2sql/migrations/versions/1679b5bc102c_add_subsecond_columns_to_test_runs_table.mysql_upgrade.sql
  75. pytrainer: /usr/lib/python3/dist-packages/pytrainer/upgrade/versions/001_mysql_upgrade.sql
  76. pytrainer: /usr/lib/python3/dist-packages/pytrainer/upgrade/versions/002_mysql_upgrade.sql
  77. pytrainer: /usr/lib/python3/dist-packages/pytrainer/upgrade/versions/005_mysql_upgrade.sql
  78. pytrainer: /usr/lib/python3/dist-packages/pytrainer/upgrade/versions/008_mysql_upgrade.sql
  79. pytrainer: /usr/lib/python3/dist-packages/pytrainer/upgrade/versions/009_mysql_upgrade.sql
  80. root@bullseye-kde:~#
  81. root@bullseye-kde:~# apt install mariadb-server-core-10.5
  82. Reading package lists... Done
  83. Building dependency tree... Done
  84. Reading state information... Done
  85. The following packages will be REMOVED:
  86.   mysql-server-core-5.5
  87. The following NEW packages will be installed:
  88.   mariadb-server-core-10.5
  89. 0 upgraded, 1 newly installed, 1 to remove and 0 not upgraded.
  90. Need to get 6624 kB of archives.
  91. After this operation, 21.8 MB of additional disk space will be used.
  92. Do you want to continue? [Y/n]
  93. Get:1 http://httpredir.debian.org/debian bullseye/main amd64 mariadb-server-core-10.5 amd64 1:10.5.11-1 [6624 kB]
  94. Fetched 6624 kB in 4s (1890 kB/s)
  95. dpkg: mysql-server-core-5.5: dependency problems, but removing anyway as you requested:
  96.  akonadi-backend-mysql depends on default-mysql-server-core | virtual-mysql-server-core; however:
  97.   Package default-mysql-server-core is not installed.
  98.   Package virtual-mysql-server-core is not installed.
  99.   Package mysql-server-core-5.5 which provides virtual-mysql-server-core is to be removed.
  100.  
  101. (Reading database ... 230266 files and directories currently installed.)
  102. Removing mysql-server-core-5.5 (5.5.54-0+deb8u1) ...
  103. Selecting previously unselected package mariadb-server-core-10.5.
  104. (Reading database ... 230176 files and directories currently installed.)
  105. Preparing to unpack .../mariadb-server-core-10.5_1%3a10.5.11-1_amd64.deb ...
  106. Unpacking mariadb-server-core-10.5 (1:10.5.11-1) ...
  107. Setting up mariadb-server-core-10.5 (1:10.5.11-1) ...
  108. Processing triggers for man-db (2.9.4-2) ...
  109. root@bullseye-kde:~#
  110.  
  111. ###   R e b o o t   ###
  112.  
  113. bequimao@bullseye-kde:~$
  114. bequimao@bullseye-kde:~$ akonadictl status
  115. Akonadi Control: running
  116. Akonadi Server: running
  117. Akonadi Server Search Support: available (Remote Search, Akonadi Search Plugin)
  118. Available Agent Types: akonadi_akonotes_resource, akonadi_archivemail_agent, akonadi_birthdays_resource, akonadi_contacts_resource, akonadi_davgroupware_resource, akonadi_ews_resource, akonadi_ewsmta_resource, akonadi_followupreminder_agent, akonadi_google_resource, akonadi_ical_resource, akonadi_icaldir_resource, akonadi_imap_resource, akonadi_indexing_agent, akonadi_kalarm_dir_resource, akonadi_kalarm_resource, akonadi_kolab_resource, akonadi_maildir_resource, akonadi_maildispatcher_agent, akonadi_mailfilter_agent, akonadi_mbox_resource, akonadi_migration_agent, akonadi_mixedmaildir_resource, akonadi_newmailnotifier_agent, akonadi_notes_agent, akonadi_notes_resource, akonadi_openxchange_resource, akonadi_pop3_resource, akonadi_sendlater_agent, akonadi_tomboynotes_resource, akonadi_unifiedmailbox_agent, akonadi_vcard_resource, akonadi_vcarddir_resource
  119. bequimao@bullseye-kde:~$
  120. bequimao@bullseye-kde:~$ mysql_upgrade -u=akonadi --socket=/run/user/1000/akonadi/mysql.socket
  121. FATAL ERROR: Can't execute 'mysqlcheck'
  122. bequimao@bullseye-kde:~$
  123.  

Quellcode

Hier kannst du den Code kopieren und ihn in deinen bevorzugten Editor einfügen. PASTEBIN_DOWNLOAD_SNIPPET_EXPLAIN