Priest_Apostate
Active Member
Attempting to install mariadb-server - but continually experiencing issues:
****************************************************************************************
XXXXXXXX@XXXXXXXXX:~$ sudo apt install mariadb-server
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Suggested packages:
mariadb-test
The following NEW packages will be installed:
mariadb-server
0 upgraded, 1 newly installed, 0 to remove and 2 not upgraded.
19 not fully installed or removed.
Need to get 0 B/3,655 kB of archives.
After this operation, 55.2 MB of additional disk space will be used.
Retrieving bug reports... 0% Fail
Error retrieving bug reports from the server with the following error message:
E: getaddrinfo: Name or service not known (bugs.debian.org:80)
It appears that your network connection is down. Check network configuration and try again
Retry downloading bug information? [Y/n] y
One package at a time? [Y/n] n
One bug report at a time? [Y/n] n
Retrieving bug reports... Done
Parsing Found/Fixed information... Done
Preconfiguring packages ...
(Reading database ... 405556 files and directories currently installed.)
Preparing to unpack .../mariadb-server_1%3a10.11.6-0+deb12u1_amd64.deb ...
Failed to stop mariadb.service: Unit mariadb.service not loaded.
invoke-rc.d: initscript mariadb, action "stop" failed.
Failed to stop mysql.service: Unit mysql.service not loaded.
invoke-rc.d: initscript mysql, action "stop" failed.
Attempt to stop MariaDB/MySQL server returned exitcode 5
There is a MariaDB/MySQL server running, but we failed in our attempts to stop it.
Stop it yourself and try again!
dpkg: error processing archive /var/cache/apt/archives/mariadb-server_1%3a10.11.6-0+deb12u1
_amd64.deb (--unpack):
new mariadb-server package pre-installation script subprocess returned error exit status 1
Errors were encountered while processing:
/var/cache/apt/archives/mariadb-server_1%3a10.11.6-0+deb12u1_amd64.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
****************************************************************************************
I checked information in dmesg but haven't been able to make sense of the readout, as I am receiving the wrong date being given on the readout (namely, the dmesg is showing readings of Mar 7 - while the date readouts below show the current local and UTC readouts:
$ date -u
Wed Mar 6 07:24:54 PM UTC 2024
$ date
Wed Mar 6 11:32:49 AM PST 2024
I've attempted to remove any traces of mariadb services - but, while the system claims that there are components that are installed, there are services that I can delete or remove:
I attempted to perform an autopurge - but that doesn't seem to have resolved the issue. I am currently in a state where I can't remove MariaDB, as the system claims that it isn't installed - but then, I can't work with whatever remnants that have been installed.
I'm not sure how to proceed from here.
MY DESIRED OUTCOME: I'm wanting to install both mariadb-server, mariadb-client, and all dependencies associated with the two, in order to work with databases.
Laptop Information:
,g$$$$$$$$$$$$$$$P. ------------------------
,g$$P" """Y$$.". OS: Debian GNU/Linux 12 (bookworm) x86_64
,$$P' `$$$. Host: 82XF IdeaPad Slim 5 16IRL8
',$$P ,ggs. `$$b: Kernel: 6.5.0-0.deb12.4-amd64
`d$$' ,$P"' . $$$ Uptime: 3 days, 16 hours, 58 mins
$$P d$' , $$P Packages: 3378 (dpkg)
$$: $$. - ,d$$' Shell: bash 5.2.15
$$; Y$b._ _,d$P' Resolution: 1920x1200
Y$$.
`$$b "-.__ WM: KWin
`Y$$ Theme: [Plasma], Breeze [GTK2/3]
`Y$$. Icons: [Plasma], breeze [GTK2/3]
`$$b. Terminal: konsole
`Y$$b. CPU: 13th Gen Intel i7-1355U (12) @ 5.000GHz
`"Y$b._ GPU: Intel Raptor Lake-P [Iris Xe Graphics]
`""" Memory: 9198MiB / 15713MiB
****************************************************************************************
XXXXXXXX@XXXXXXXXX:~$ sudo apt install mariadb-server
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Suggested packages:
mariadb-test
The following NEW packages will be installed:
mariadb-server
0 upgraded, 1 newly installed, 0 to remove and 2 not upgraded.
19 not fully installed or removed.
Need to get 0 B/3,655 kB of archives.
After this operation, 55.2 MB of additional disk space will be used.
Retrieving bug reports... 0% Fail
Error retrieving bug reports from the server with the following error message:
E: getaddrinfo: Name or service not known (bugs.debian.org:80)
It appears that your network connection is down. Check network configuration and try again
Retry downloading bug information? [Y/n] y
One package at a time? [Y/n] n
One bug report at a time? [Y/n] n
Retrieving bug reports... Done
Parsing Found/Fixed information... Done
Preconfiguring packages ...
(Reading database ... 405556 files and directories currently installed.)
Preparing to unpack .../mariadb-server_1%3a10.11.6-0+deb12u1_amd64.deb ...
Failed to stop mariadb.service: Unit mariadb.service not loaded.
invoke-rc.d: initscript mariadb, action "stop" failed.
Failed to stop mysql.service: Unit mysql.service not loaded.
invoke-rc.d: initscript mysql, action "stop" failed.
Attempt to stop MariaDB/MySQL server returned exitcode 5
There is a MariaDB/MySQL server running, but we failed in our attempts to stop it.
Stop it yourself and try again!
dpkg: error processing archive /var/cache/apt/archives/mariadb-server_1%3a10.11.6-0+deb12u1
_amd64.deb (--unpack):
new mariadb-server package pre-installation script subprocess returned error exit status 1
Errors were encountered while processing:
/var/cache/apt/archives/mariadb-server_1%3a10.11.6-0+deb12u1_amd64.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
****************************************************************************************
I checked information in dmesg but haven't been able to make sense of the readout, as I am receiving the wrong date being given on the readout (namely, the dmesg is showing readings of Mar 7 - while the date readouts below show the current local and UTC readouts:
$ date -u
Wed Mar 6 07:24:54 PM UTC 2024
$ date
Wed Mar 6 11:32:49 AM PST 2024
I've attempted to remove any traces of mariadb services - but, while the system claims that there are components that are installed, there are services that I can delete or remove:
I attempted to perform an autopurge - but that doesn't seem to have resolved the issue. I am currently in a state where I can't remove MariaDB, as the system claims that it isn't installed - but then, I can't work with whatever remnants that have been installed.
I'm not sure how to proceed from here.
MY DESIRED OUTCOME: I'm wanting to install both mariadb-server, mariadb-client, and all dependencies associated with the two, in order to work with databases.
Laptop Information:
,g$$$$$$$$$$$$$$$P. ------------------------
,g$$P" """Y$$.". OS: Debian GNU/Linux 12 (bookworm) x86_64
,$$P' `$$$. Host: 82XF IdeaPad Slim 5 16IRL8
',$$P ,ggs. `$$b: Kernel: 6.5.0-0.deb12.4-amd64
`d$$' ,$P"' . $$$ Uptime: 3 days, 16 hours, 58 mins
$$P d$' , $$P Packages: 3378 (dpkg)
$$: $$. - ,d$$' Shell: bash 5.2.15
$$; Y$b._ _,d$P' Resolution: 1920x1200
Y$$.
.
"Y$$$$P"' DE: Plasma 5.27.5`$$b "-.__ WM: KWin
`Y$$ Theme: [Plasma], Breeze [GTK2/3]
`Y$$. Icons: [Plasma], breeze [GTK2/3]
`$$b. Terminal: konsole
`Y$$b. CPU: 13th Gen Intel i7-1355U (12) @ 5.000GHz
`"Y$b._ GPU: Intel Raptor Lake-P [Iris Xe Graphics]
`""" Memory: 9198MiB / 15713MiB
Attachments
Last edited: