# MariaDB task error when attempting to start Lima VM with Trellis CLI

**URL:** https://discourse.roots.io/t/mariadb-task-error-when-attempting-to-start-lima-vm-with-trellis-cli/27878
**Category:** trellis
**Tags:** lima, trellis
**Created:** 2024-08-10T10:32:34Z
**Posts:** 3

## Post 1 by @chocolateorange — 2024-08-10T10:32:34Z

Hi,

I’ve set up a new Trellis project and I’m trying to get up and running using Lima as the VM but my initial provision is failing at `TASK [mariadb : Add MariaDB PPA]`. The complete error message is:

```
fatal: [default]: FAILED! => {"changed": false, "msg": "Failed to update apt cache: E:Failed to fetch https://mirror.rackspace.com/mariadb/repo/10.6/ubuntu/dists/noble/InRelease 403 Forbidden [IP: 94.236.26.35 443], E:The repository 'https://mirror.rackspace.com/mariadb/repo/10.6/ubuntu noble InRelease' is not signed."}
```

I’ve tried updating the mariadb version to 10.11 as suggested [here](https://discourse.roots.io/t/error-starting-vm-in-configuration-step-add-mariadb-ppa-with-lima/27870) but that results in a similar error.

Here’s the contents of the Lima yaml file that is created:

```
vmType: "vz"
rosetta:
  enabled: false
images:
- location: https://cloud-images.ubuntu.com/jammy/current/jammy-server-cloudimg-amd64.img
  arch: x86_64
- location: https://cloud-images.ubuntu.com/jammy/current/jammy-server-cloudimg-arm64.img
  arch: aarch64

mounts:
- location: /path/to/site
  mountPoint: /srv/www/[SITE_NAME]/current
  writable: true

mountType: "virtiofs"
ssh:
  forwardAgent: true
networks:
- vzNAT: true
containerd:
  user: false
provision:
- mode: system
  script: |
    #!/bin/bash
    echo "127.0.0.1 $(hostname)" >> /etc/hosts
```

Anyone any ideas please?

Trellis-CLI 1.12.0  
OSX 13.3

---

## Post 2 by @hypotune — 2024-08-11T10:36:23Z

> [@chocolateorange](#):
>
> `https://mirror.rackspace.com/mariadb/repo/`

I had this issue yesterday. If you go to the url, you’ll see the versions that are available.

I used 11.0.6 to provision a server yesterday.

Versions 10.5 through 10.11.x weren’t available yesterday but they are back today.

---

## Post 3 by @chocolateorange — 2024-08-11T11:04:26Z

Thanks for the reply Julian - I’ve just tried provisioning again and everything has now gone as expected!
