AlexSSD7 / linsk

📂 Access Linux-native file systems (including LVM and LUKS) on Windows and macOS with help of a lightweight Alpine Linux VM. x86/ARM supported.
GNU General Public License v3.0
303 stars 13 forks source link

wget: bad address 'mirrors.alpinelinux.org' Warning! No mirror found #1

Closed mbledkowski closed 1 year ago

mbledkowski commented 1 year ago

Hello, When I try to build this on my Windows machine I get the following error:

time=2023-09-04T17:14:15.769+02:00 level=INFO msg="The VM is ready" caller=storage subcaller=imgbuilder subcaller=vm
time=2023-09-04T17:14:15.812+02:00 level=INFO msg="VM OS installation in progress" caller=storage subcaller=imgbuilder
time=2023-09-04T17:14:21.220+02:00 level=ERROR msg="Failed to set up Alpine Linux" caller=storage subcaller=imgbuilder error="run setup cmd (log: 'udhcpc: started, v1.36.1\\nudhcpc: broadcasting discover\\nudhcpc: broadcasting select for 10.0.2.15, server 10.0.2.2\\nudhcpc: lease of 10.0.2.15 obtained from 10.0.2.2, lease time 86400\\nwget: bad address 'mirrors.alpinelinux.org'\\nWarning! No mirror found'): Process exited with status 1"
time=2023-09-04T17:14:21.221+02:00 level=WARN msg="Canceling the VM context" caller=storage subcaller=imgbuilder subcaller=vm
time=2023-09-04T17:14:21.295+02:00 level=WARN msg="Sending poweroff command to the VM" caller=storage subcaller=imgbuilder subcaller=vm
time=2023-09-04T17:14:21.303+02:00 level=INFO msg="Shutting the VM down safely" caller=storage subcaller=imgbuilder subcaller=vm

Best regards, Maciej Błędkowski

AlexSSD7 commented 1 year ago

Appears to be an issue with DNS.

Please try specifying 1.1.1.1 and 1.0.0.1 (or any other known DNS servers of your choice) as your primary DNS servers in the network settings.

AlexSSD7 commented 1 year ago

@mbledkowski Could you please let me know whether that fixed your issue?

mbledkowski commented 1 year ago

@mbledkowski Could you please let me know whether that fixed your issue?

I have not tried that yet, I am going to let you know when I will have access to my Windows instance.

b4lisong commented 1 year ago

Had this exact issue with macOS, changing DNS to 1.1.1.1 solved my issue.

AlexSSD7 commented 1 year ago

Closing for now. @mbledkowski Please reopen if fixing DNS servers didn't help.