Artix Linux Forum

Artix Linux => Installation / Migration / Configuration => Topic started by: IMSOASIAN on 22 February 2022, 10:49:34

Title: A
Post by: IMSOASIAN on 22 February 2022, 10:49:34
A
Title: Re: Mirrorlist servers failing to download during migration
Post by: nous on 22 February 2022, 11:41:50
Check the contents of /etc/resolv.conf. It should have at least one nameserver entry. If it does and still doesn't work, put the following at the top of the file:
Code: [Select]
nameserver 1.1.1.1
Title: A
Post by: IMSOASIAN on 22 February 2022, 20:21:19
A
Title: Re: Mirrorlist servers failing to download during migration
Post by: strajder on 22 February 2022, 20:57:47
The problem happened when I was installing OpenRC. I had completed every step prior (even the optional ones)
Step of what? The migration guide from Arch to Artix (https://wiki.artixlinux.org/Main/Migration)? The one that seems to be popular recently (https://forum.artixlinux.org/index.php/topic,3722.0.html)?

If you followed every step of that guide, you would have downloaded the packages (https://wiki.artixlinux.org/Main/Migration#Download_the_Artix_packages) from Arch, while still having a working network connection, after modifying /etc/pacman.conf (https://wiki.artixlinux.org/Main/Migration#Lower_Pacman_security_levels).

You most probably didn't follow the guide closely. I have tested the guide inside a QEMU guest and it works. I managed to successfully migrate an Arch guest to Artix dinit.

Anyway, if you can't manage the migration, backup your files and do a clean install. Clean install is the preferred installation method.
Title: A
Post by: IMSOASIAN on 22 February 2022, 22:03:50
A
Title: A
Post by: IMSOASIAN on 23 February 2022, 14:53:02
A
Title: Re: Mirrorlist servers failing to download during migration
Post by: strajder on 23 February 2022, 15:07:29
https://wiki.archlinux.org/title/Network_configuration
https://wiki.artixlinux.org/Main/Migration#Configure_networking
Title: Re: Mirrorlist servers failing to download during migration
Post by: nous on 23 February 2022, 19:58:38
When I set up Arch Linux, I fully configured my nameservers. Nevertheless, I tried replacing them all with 9.9.9.9 or 1.1.1.1 but it still doesn't work.
Do you have another solution to this problem?
If you can ping 1.1.1.1 but not, say, artixlinux.org then your problem is DNS resolving. Try this:
Code: [Select]
# host artixlinux.org
and
Code: [Select]
# host artixlinux.org 1.1.1.1
You can use dig(1) instead:
Code: [Select]
# dig artixlinux.org @1.1.1.1
Post the output. If none can resolve, then check your iptables rules. If they can but pacman won't download check for proxy environment variables. Also, see if there's any systemd-resolved horsecrap lurking in the shadows.
Title: A
Post by: IMSOASIAN on 24 February 2022, 03:32:37
A
Title: Re: Mirrorlist servers failing to download during migration
Post by: nous on 24 February 2022, 18:58:44
They're both part of bind, but you said you can't install packages. Still, you haven't posted iptables rules and the output of ps axu. Perhaps you should have tried the unofficial fucksystemd script for the migration (https://tiny.cc/fucksystemd) instead.
Title: A
Post by: IMSOASIAN on 25 February 2022, 04:25:18
A
Title: A
Post by: IMSOASIAN on 26 February 2022, 12:06:01
A
Title: Re: Mirrorlist servers failing to download during migration
Post by: strajder on 26 February 2022, 12:34:05
Please backup your important files and do a fresh install of Artix. Use a weekly graphical ISO to minimize potential problems and choose the option to erase the hard disk.
Title: Re: Mirrorlist servers failing to download during migration
Post by: nous on 26 February 2022, 13:03:30
@IMSOASIAN You posted commands output without the commands themselves. Anyway, resolving seems to work; therefore there's something screwed in your pacman configuration. Try "wget https://artixlinux.org" -- if you get an index.html then I'm right. Also, you didn't check your environment for proxy variables ("set | grep -i proxy").
Perhaps you should do what @strajder suggested.
Title: A
Post by: IMSOASIAN on 26 February 2022, 23:02:12
A
Title: Re: Mirrorlist servers failing to download during migration
Post by: nous on 28 February 2022, 20:48:03
Code: [Select]
Resolving artixlinux.org (artixlinux.org)... failed: Device or resource busy.
There's the source of your woes. Post "ss -lunp" (ss is from iproute2 package).
Title: A
Post by: IMSOASIAN on 01 March 2022, 09:53:42
A
Title: Re: Mirrorlist servers failing to download during migration
Post by: nous on 02 March 2022, 19:47:20
It's very hard to debug through a forum. Inspect /etc/nsswitch.conf and see what happens if you stop avahi. My bet is on dhcpcd though, try disabling it and using OpenRC's native netifrc (https://wiki.artixlinux.org/Main/OpenRC#Network_management), which by default uses DHCP on wired interfaces. See also https://wiki.gentoo.org/wiki/Netifrc
Title: A
Post by: IMSOASIAN on 06 March 2022, 18:15:55
A