inštalácia MySql

Sekcia: Konfigurácia 18.05.2021 | 08:43
Avatar Balin50 Debian  Používateľ

hi mám na novo Debian 10 php7.4 sa podarilo naištalovať, aspoň dúfam. Problém je MySQL chyba: Nasledovné balíky majú nesplnené závislosti: mysql-server : Závisí na: mysql-community-server (= 8.0.25-1debian10) ale sa nebude inštalovať E: Problémy sa nedajú opraviť, niektoré balíky držíte v poškodenom stave. root@debian:/tmp#

v totmto ešte tápam tak neviem ako na to. dík za rady

    • RE: inštalácia MySql 18.05.2021 | 09:10
      Avatar Balin50 Debian  Používateľ

      skúšal som cez webmin dpkg: dependency problems prevent configuration of mysql-server: mysql-server depends on mysql-community-server (= 8.0.25-1debian10); however: Package mysql-community-server is not installed.

      dpkg: error processing package mysql-server (--configure): dependency problems - leaving unconfigured dpkg: dependency problems prevent configuration of dbconfig-mysql: dbconfig-mysql depends on dbconfig-common (= 2.0.8); however: Package dbconfig-common is not installed. dbconfig-mysql depends on default-mysql-client | virtual-mysql-client; however: Package default-mysql-client is not installed. Package virtual-mysql-client is not installed.

      dpkg: error processing package dbconfig-mysql (--configure): dependency problems - leaving unconfigured Errors were encountered while processing: mysql-server dbconfig-mysql Reading package lists... Building dependency tree... Reading state information... You might want to run 'apt --fix-broken install' to correct these. The following packages have unmet dependencies: dbconfig-mysql : Depends: dbconfig-common (= 2.0.8) but it is not going to be installed Depends: default-mysql-client but it is not going to be installed or virtual-mysql-client default-mysql-server : Depends: mariadb-server-10.3 but it is not going to be installed mysql-server : Depends: mysql-community-server (= 8.0.25-1debian10) but it is not going to be installed E: Unmet dependencies. Try 'apt --fix-broken install' with no packages (or specify a solution).

      .. install failed!

      No packages were installed. Check the messages above for the cause of the error.

      s týmto si sám neporadím

    • RE: inštalácia MySql 18.05.2021 | 10:35
      Avatar bedňa LegacyIce-antiX  Administrátor

      Tu mám riadok zo skriptu kde si inštalujem testovací webserver:

      sudo apt --yes install mariadb-common mariadb-server mariadb-client libaio1 libaprutil1 libapache2-mod-php php-mysql php-common libaprutil1-dbd-sqlite3 php-readline libhtml-template-perl libterm-readkey-perl libaprutil1-ldap php-cli apache2-data php-json apache2 libapr1 apache2-bin php-mbstring php-gd

      V distribúciach mysql nahradila mariadb.

      Táto správa neobsahuje vírus, pretože nepoužívam MS Windows. http://kernelultras.org
      • RE: inštalácia MySql 18.05.2021 | 12:21
        Avatar Balin50 Debian  Používateľ

        ďakujem už som zistil a nainštaloval všetko funguje ako má ešte raz ďakujem