Wpis z mikrobloga

#linux #ubuntu

może ktoś miał taki przypadek przy aktualizacji/instalacji mariadb? purge, autoremove i zainstalowanie na czysto 'apt install mariadb-server' nie pomaga. system Ubuntu 18.04.6 LTS

Setting up mariadb-server-10.1 (1:10.1.48-0ubuntu0.18.04.1) ...

dpkg: error processing package mariadb-server-10.1 (--configure):

installed mariadb-server-10.1 package post-installation script subprocess returned error exit status 7

Setting up libdbd-mysql-perl (4.046-1) ...

dpkg: dependency problems prevent configuration of mariadb-server:

mariadb-server depends on mariadb-server-10.1 (>= 1:10.1.48-0ubuntu0.18.04.1); however:

Package mariadb-server-10.1 is not configured yet.


dpkg: error processing package mariadb-server (--configure):

dependency problems - leaving unconfigured

No apport report written because the error message indicates its a followup error from a previous failure.

Processing triggers for menu (2.1.47ubuntu2.1) ...

Processing triggers for libc-bin (2.27-3ubuntu1.4) ...

Processing triggers for systemd (237-3ubuntu10.53) ...

Processing triggers for man-db (2.8.3-2ubuntu0.1) ...

Processing triggers for ureadahead (0.100.0-21) ...

Errors were encountered while processing:

mariadb-server-10.1

mariadb-server

E: Sub-process /usr/bin/dpkg returned an error code (1)
  • 2
@fabek: Pytanie czy clienta też wywaliłeś. Ktoś podawał takie rozwiązanie:
1) sudo apt-get remove --purge mariadb-server mariadb-client
2) sudo apt-get autoremove
3) sudo apt-get autoclean
4) sudo apt-get install mariadb-server mariadb-client