Upon revisioning, I’ve had the following error for 2 days. Internet connection is fine, and I’ve just tried from my work office now too, same issue.
I then tried vagrant provision -vvvv
but I saw no verbose output at all to clarify any reasons.
TASK [common : Update apt packages] ********************************************
Monday 30 October 2023 08:22:04 +0000 (0:00:00.080) 0:00:02.439 ********
System info:
Ansible 2.11.6; Vagrant 2.3.7; Darwin
Trellis 1.8.0: February 12th, 2021
---------------------------------------------------
Failed to update apt cache: unknown reason
fatal: [default]: FAILED! => {"changed": false}
Update. Did a sudo apt update
from within vagrant ssh. Seeing the following not resolving. Now to find out why…

Seems I have no outbound connection from vagrant. Hmm.
Resolved, this was the solution the line needing adding to Vagrantfile.