Closed UHPS closed 2 years ago
Hi and welcome to PySAMP, Thanks for posting the issue!
Can you provide a little more context to what you are doing? Are you running the default docker setup? :) What command are you running to start the docker setup?
Thanks!
Hello. I installed docker, and running Docker/run.sh
P.s. im trying change "FROM i386/ubuntu"
But have other error
Not sure why you cannot fetch the packages, it works just fine for me pulling the repo.
CAn you verify you are not on a bad network or have bad dns configuration?
I trying change to 8.8.8.8 DNS, trying connect via mobile internet. Same problem
We notice that you are running (most likely) on an M1/M2 (ARM) based CPU that most likely is causing this. Because of this, your docker is pulling an image that runs natively on that architecture.
Please read here: https://docs.docker.com/desktop/mac/apple-silicon/#known-issues
You need to force your docker to download the x86 images and run those under emulation.
Try adding this flag to your run.sh
:
--platform linux/amd64
Reference (docker run): https://docs.docker.com/engine/reference/commandline/run/
If I missed it somewhere, please let me know @UHPS since I can't test that here.
Failed to fetch http://ports.ubuntu.com/ubuntu-ports/dists/jammy/main/binary-i386/Packages 404 Not Found