Skip to content

MariaDB repository failΒ #5114

@mikafouenski

Description

@mikafouenski

βœ… Have you read and understood the above guidelines?

yes

πŸ“œ What is the name of the script you are using?

Shinobi

πŸ“‚ What was the exact command used to execute the script?

bash -c "$(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/ct/shinobi.sh)"

βš™οΈ What settings are you using?

  • Default Settings
  • Advanced Settings

πŸ–₯️ Which Linux distribution are you using?

Debian 12

πŸ“ Provide a clear and concise description of the issue.

Hello πŸ‘‹

While installing Shinobi, the script is failing at the MariaDB install stage.

πŸ”„ Steps to reproduce the issue.

Just try to install any script using the MariaDB snippet.
https://github.com/community-scripts/ProxmoxVE/blob/main/misc/tools.func#L226

eg: Shinobi

❌ Paste the full error output (if available).

  βœ”οΈ  Latest GA MariaDB version is 12.0.1
Hit:1 http://archive.ubuntu.com/ubuntu jammy InReleasery 
Ign:2 http://mirror.mariadb.org/repo/12.0.1/debian jammy InRelease
Hit:3 http://archive.ubuntu.com/ubuntu jammy-updates InRelease
Hit:4 https://deb.nodesource.com/node_22.x nodistro InRelease       
Hit:5 http://archive.ubuntu.com/ubuntu jammy-security InRelease     
Err:6 http://mirror.mariadb.org/repo/12.0.1/debian jammy Release
  404  Not Found [IP: 162.55.42.214 80]
Reading package lists... Done
E: The repository 'http://mirror.mariadb.org/repo/12.0.1/debian jammy Release' does not have a Release file.
N: Updating from such a repository can't be done securely, and is therefore disabled by default.
N: See apt-secure(8) manpage for repository creation and user configuration details.
 β §
[ERROR] in line 276: exit code 0: while executing command $STD apt-get update
/dev/fd/63: line 74: SPINNER_PID: unbound variable

πŸ–ΌοΈ Additional context (optional).

jammy doesn't appear to be valid for the /debian subpath.
Image

Replacing the sourcelist with the bookworm distrib will fix the issue:

$ cat /etc/apt/sources.list.d/mariadb.list
deb [signed-by=/etc/apt/trusted.gpg.d/mariadb.gpg] http://mirror.mariadb.org/repo/12.0.1/debian bookworm main

OR
Use the /ubuntu subpath for the ubuntu distrib:
Image

(It's "probably" the same package either way)

Thank you for the scripts, they are really neat. πŸ™‚

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions