MariaDB mirror issue

I started a new Trellis/Bedrock install using the trellis-cli:

  • trellis new domain.com
  • configured group_vars
  • trellis vm start

Trellis began installing the vm but stopped at MariaDB task with the following error:

[WARNING]: Failed to update cache after 1 due to E:Failed to fetch
https://mirror.rackspace.com/mariadb/repo/10.11/ubuntu/dists/noble/InRelease
403  Forbidden [IP: 74.205.112.120 443], E:The repository
'https://mirror.rackspace.com/mariadb/repo/10.11/ubuntu noble InRelease' is not
signed. retry, retrying
[WARNING]: Sleeping for 1 seconds, before attempting to update the cache again
[WARNING]: Failed to update cache after 2 due to E:Failed to fetch
https://mirror.rackspace.com/mariadb/repo/10.11/ubuntu/dists/noble/InRelease
403  Forbidden [IP: 74.205.112.120 443], E:The repository
'https://mirror.rackspace.com/mariadb/repo/10.11/ubuntu noble InRelease' is not
signed. retry, retrying
[WARNING]: Sleeping for 2 seconds, before attempting to update the cache again
[WARNING]: Failed to update cache after 3 due to E:Failed to fetch
https://mirror.rackspace.com/mariadb/repo/10.11/ubuntu/dists/noble/InRelease
403  Forbidden [IP: 74.205.112.120 443], E:The repository
'https://mirror.rackspace.com/mariadb/repo/10.11/ubuntu noble InRelease' is not
signed. retry, retrying
[WARNING]: Sleeping for 4 seconds, before attempting to update the cache again
[WARNING]: Failed to update cache after 4 due to E:Failed to fetch
https://mirror.rackspace.com/mariadb/repo/10.11/ubuntu/dists/noble/InRelease
403  Forbidden [IP: 74.205.112.120 443], E:The repository
'https://mirror.rackspace.com/mariadb/repo/10.11/ubuntu noble InRelease' is not
signed. retry, retrying
[WARNING]: Sleeping for 8 seconds, before attempting to update the cache again
[WARNING]: Failed to update cache after 5 due to E:Failed to fetch
https://mirror.rackspace.com/mariadb/repo/10.11/ubuntu/dists/noble/InRelease
403  Forbidden [IP: 74.205.112.120 443], E:The repository
'https://mirror.rackspace.com/mariadb/repo/10.11/ubuntu noble InRelease' is not
signed. retry, retrying
[WARNING]: Sleeping for 12 seconds, before attempting to update the cache again
FAILED - RETRYING: [default]: Add MariaDB PPA (3 retries left).
FAILED - RETRYING: [default]: Add MariaDB PPA (2 retries left).
FAILED - RETRYING: [default]: Add MariaDB PPA (1 retries left).
fatal: [default]: FAILED! => {"attempts": 3, "changed": false, "msg": "Failed to update apt cache after 5 retries: E:Failed to fetch https://mirror.rackspace.com/mariadb/repo/10.11/ubuntu/dists/noble/InRelease  403  Forbidden [IP: 74.205.112.120 443], E:The repository 'https://mirror.rackspace.com/mariadb/repo/10.11/ubuntu noble InRelease' is not signed."}

I’m unsure how to proceed here.

related discussion: Update MariaDB · Issue #1575 · roots/trellis · GitHub

looks like 10.11 is once again missing. https://mirror.rackspace.com/mariadb/repo/

1 Like
  1. Change the mirror in /roles/mariadb/defaults/main.yml (list of mirrors here)

  2. trellis provision --extra-vars apt_clean_sources=true production (make sure you’ve pulled this commit in Trellis)

1 Like