P
P
paralolik2020-10-21 20:05:52
linux
paralolik, 2020-10-21 20:05:52

dpkg broke while installing MariaDB, how to fix it?

I installed mariadb via apt install mariadb-server
And as it turned out, I still had leftovers from mysql and errors occurred, I tried to remove all mysql and mariadb packages, but one of them breaks everything, here is a list of the remaining packages

[email protected]:~# dpkg -l | grep -i 'maria\|mysql'
ic  mariadb-client-10.3                   1:10.3.25-0+deb10u1                          amd64        MariaDB database client binaries
ic  mariadb-common                        1:10.3.25-0+deb10u1                          all          MariaDB common metapackage
rH  mariadb-server-10.3                   1:10.3.25-0+deb10u1                          amd64        MariaDB database server binaries
ic  mysql-common                          5.8+1.0.5                                    all          MySQL database common files, e.g. /etc/mysql/my.cnf


and when trying to remove mariadb-server10.3, this error appears
Removing mariadb-server-10.3 (1:10.3.25-0+deb10u1) ...
dpkg: unrecoverable fatal error, aborting:
 fork failed: Cannot allocate memory
FATAL -> Failed to fork.


How to fix everything and remove this mariadb-server10.3?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
S
Sanes, 2020-10-21
@paralolik

Cannot allocate memory

A
AVKor, 2020-10-21
@AVKor

Here

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question