Score:0

Cant install Mariadb on Debian 11

in flag

Im trying to install it on Debian 11

curl -LsS https://r.mariadb.com/downloads/mariadb_repo_setup | sudo bash -s -- --os-type=debian --os-version=11 --mariadb-server-version="mariadb-10.5"
# [info] Skipping OS detection and using OS type 'debian' and version '11' as given on the command line
# [info] Checking for script prerequisites.
# [warning] Found existing file at /etc/apt/sources.list.d/mariadb.list. Moving to /etc/apt/sources.list.d/mariadb.list.old_2
# [error] Problem encountered while trying to verify the MariaDB Server version:
          curl: (28) Failed to connect to dlm.mariadb.com port 443: Connection timed out
#         The latest MariaDB Server versions are:
#
#
#         More information on MariaDB releases is available at:
#             https://mariadb.com/kb/en/release-notes/

I have seen this post https://stackoverflow.com/questions/73988085/mariadb-version-10-5-9-unable-to-install

I also have tried with "10.5.10" version and get the same error. I have check the /etc/apt/sources.list.d/mariadb.list file and it is empty.

Does anyone know how I can fix it?

HBruijn avatar
in flag
The error message *"failed to connect to dlm.mariadb.com port 443: Connection timed out"* suggests either a problem on that mirror site OR a firewall/connectivity issue from your end.
RAN55 avatar
in flag
I have test curl with some url and its OK. I also have proxy configurated on "enviroment" file. I dont understand what the problem could be.
HBruijn avatar
in flag
*"I also have proxy configured on "environment" file"* - that environment probably doesn't sourced or honoured properly in the `curl script | sudo` construct. I'd download and save that script, elevate your privileges with `sudo -i` , check that your proxy environment has loaded and then execute the saved setup script.
RAN55 avatar
in flag
@HBruijn How can i do that ? save the script to a file .sh ? sorry, im not a linux expert
HBruijn avatar
in flag
`curl -LsS https://r.mariadb.com/downloads/mariadb_repo_setup > /path/tho/filename` ; then make the script executable `chmod +x /path/tho/filename` ; then become root `sudo -i` and check that your environment is correctly configured to use the proxy server (i..e the http_proxy HTTP_PROXY resp https versions are populated ) ; then execute that script `/path/tho/filename [options]`
RAN55 avatar
in flag
@HBruijn I have donwloaded script to file called "scr": I execute sudo sh ./scr.sh -s -- --os-type=debian --os-version=11 --mariadb-server-version="mariadb-10.5" and i got ./scr.sh: 159: Syntax error: "(" unexpected - the 159 line > key_ids=( 0x8167EE24 0xE3C94F49 0xcbcb082a1bb943db 0xf1656f24c74cd1d8 0x135659e928c12247 )
I sit in a Tesla and translated this thread with Ai:

mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.