You are not logged in.
I tried to install arch linux in a qemu vm and when booting archiso I get the following error: Failed to start Refresh Pacman mirrorlist with Reflector...
https://ibb.co/dpG321y
I tried to start reflector.service but when I try that I get the error: job for reflector.service failed because the control process exited with error code.
https://ibb.co/vqSwWjZ
I also tried to google but didn't find anything that helped me
Last edited by antarctic (2024-01-14 16:42:42)
Offline
Please do not post images of text - just post the text in code tags.
Then follow the guidance in the last line of the error message and provide the output from the journal here.
Last edited by Trilby (2024-01-12 22:15:05)
"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman
Offline
Please do not post images of text - just post the text in code tags.
Then follow the guidance in the last line of the error message and provide the output from the journal here.
archiso systemd[1]: Failed to start Refresh Pacman mirrorlist with Reflector...
Subject: A start job for unit reflector.service has failed
Definded-By: systemd
Support: https://lists.freedesktop.org/mailman/l … temd-devel
A start job for unit reflector.service has finished with a failure.
The job identifier is 5414 and the job result is failed
Offline
Oh... sorry - that's not nearly as useful as I thought it would be. That appears to be the proper journalctl output, but I was expecting an actual error message from reflector.
What happens if you try to run reflector manually, e.g.:
reflector @/etc/xdg/reflector/reflector.conf
"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman
Offline
Oh... sorry - that's not nearly as useful as I thought it would be. That appears to be the proper journalctl output, but I was expecting an actual error message from reflector.
What happens if you try to run reflector manually, e.g.:
reflector @/etc/xdg/reflector/reflector.conf
error: failed to retrieve mirrorstatus data: URLError: <urlopen error [Errno -2] Name or service not known> :(
Last edited by antarctic (2024-01-14 16:18:03)
Offline
Are you actually connected?
ping -c3 google.com
ping -c3 8.8.8.8
How have you configured the VM?
Offline
Are you actually connected?
ping -c3 google.com ping -c3 8.8.8.8
How have you configured the VM?
Ping works.
Arch Linux ISO in virt-manager/qemu, Virtual Network 'default' : NAT
I use a TP Link TL-WN823N USB Wifi Adapter in my pc. maybe that is the reason why it don't work??
Offline
error: failed to retrieve mirrorstatus data: URLError: <urlopen error [Errno -2] Name or service not known>
curl -vL 'https://archlinux.org/mirrors/status/json/' > /dev/null
You might generally see whether it works™, but you're not gonna be able to paraphrase that.
curl -vL 'https://archlinux.org/mirrors/status/json/' > /dev/null 2>/tmp/curl.log
will dump the traffic data into /tmp/curl.log and you'll have to share that file.
Offline
antarctic wrote:error: failed to retrieve mirrorstatus data: URLError: <urlopen error [Errno -2] Name or service not known>
curl -vL 'https://archlinux.org/mirrors/status/json/' > /dev/null
You might generally see whether it works™, but you're not gonna be able to paraphrase that.
curl -vL 'https://archlinux.org/mirrors/status/json/' > /dev/null 2>/tmp/curl.log
will dump the traffic data into /tmp/curl.log and you'll have to share that file.
I can't copy the whole text and paste it here but I get this:
* Could not resolve host: archlinux.org* Closing connection
curl: (6) Could not resolve host: archlinux.org
Last edited by antarctic (2024-01-14 16:17:35)
Offline
I can't copy the whole text and paste it here but I get this:
Of course you can: https://en.wikipedia.org/wiki/Sneakernet
That's the whole point of redirecting the output to a file.
"could not resovle host" means that "ping -c3 8.8.8.8" worked but "ping -c3 google.com" did actually *not*?
In general we'll need the actual data from the system, not your vague rendition of what you think is relevant.
Offline
I can't copy the whole text and paste it here but I get this:
Of course you can: https://en.wikipedia.org/wiki/Sneakernet
That's the whole point of redirecting the output to a file."could not resovle host" means that "ping -c3 8.8.8.8" worked but "ping -c3 google.com" did actually *not*?
In general we'll need the actual data from the system, not your vague rendition of what you think is relevant.
Sorry...
This morning the google.com ping worked but now I tried it again and it actually doesn't work anymore. only the 8.8.8.8 ping.
I get the error:
ping: google.com: Name or service not known
Output of curl -vL 'https://archlinux.org/mirrors/status/json/' > /dev/null
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0* Could not resolve host: archlinux.org
* Closing connection
curl: (6) Could not resolve host: archlinux.org
Offline
Try
# rm /etc/resolv.conf
# echo 'nameserver 1.1.1.1' > /etc/resolv.conf
# systemctl start reflector
Looks like systemd-resolved isn't working properly.
Offline
Try
# rm /etc/resolv.conf # echo 'nameserver 1.1.1.1' > /etc/resolv.conf # systemctl start reflector
Looks like systemd-resolved isn't working properly.
nameserver 1.1.1.1 didn't work but 8.8.8.8 worked perfect!
Thank you so much!!!
Offline