You are not logged in.

#1 2024-06-28 19:09:32

senfen716
Member
Registered: 2024-06-28
Posts: 2

[SOLVED] Successful install can't install packages or update mirrors?

EDIT: Came back and realized my title sucked big time, changed to hopefully better summarize the problem.

First time poster, please let me know if there's any more info I need to provide. I am able to follow the Installation Guide basically to the letter. I let reflector pull the mirrorlist, it connects without a single issue, as do pacstrap in the live environment and pacman in chroot.

Everything gets done and I immediately reboot via GRUB into the new installation. I use iwd to connect to the exact same internet connection I used for installation, make no other changes, and can't install or update anything.

Trying to run pacman -Syu I get:

core.db failed to download
error: failed retrieving file 'core.db' from arch.mirror.constant.com : Could not resolve host: arch.mirror.constant.com
warning: fatal error from arch.mirror.constant.com, skipping for the remainder of this transaction

rinse and repeat for every mirror that was just transferred over from my successful install.

If I do try to use reflector to update the mirror list, I get:

error: failed to retrieve mirrorstatus data: URLError: <urlopen error [Errno -3] Temporary failure in name resolution>

What I've been able to find by looking for that error indicates an issue with system and/or hardware clock date/time? I had an issue during install too that I was able to resolve by editing /etc/systemd/timesyncd.conf and adding 'time.google.com' to the NTF= line before I was able to get 'System clock synchronized: ' to say 'Yes' instead of 'No.'

Now in the post-install boot, that solution isn't working. Doesn't matter how many times i disable/enable, start/stop, or restart systemd-timesyncd, nothing changes 'System clock synchronized: No.' But I also don't even know if that would fix this issue?? Specifically, here's what I've run multiple times:

systemctl enable systemd-timesyncd
systemctl start systemd-timesyncd
timedatectl set-ntp true
# Ignore the literal times for my timedatectl outputs it's easier to copy/paste lol
timedatectl
        Local time: Fri 2024-06-28 13:54:29 CDT
        Universal time: Fri 2024-06-28 18:54:29 UTC
        RTC time: Fri 2024-06-28 18:54:29
        Time zone: America/Chicago (CDT, -0500)
        System clock synchronized: no
        NTP service: active
        RTC in local TZ: no
nano /etc/systemd/timesyncd.conf
# Make sure 'NTF=' and 'FallbackNTP=' are both uncommented and make it 'NTF=time.google.com'
systemctl restart systemd-timesyncd
timedatectl set-ntp true
timedatectl
        Local time: Fri 2024-06-28 13:54:29 CDT
        Universal time: Fri 2024-06-28 18:54:29 UTC
        RTC time: Fri 2024-06-28 18:54:29
        Time zone: America/Chicago (CDT, -0500)
        System clock synchronized: no
        NTP service: active
        RTC in local TZ: no
nano /etc/systemd/timesyncd.conf
# Replace 'NTF=time.google.com' with the default Arch servers provided in https://wiki.archlinux.org/title/Systemd-timesyncd#Configuration
systemctl restart systemd-timesyncd
timedatectl set-ntp true
timedatectl
        Local time: Fri 2024-06-28 13:54:29 CDT
        Universal time: Fri 2024-06-28 18:54:29 UTC
        RTC time: Fri 2024-06-28 18:54:29
        Time zone: America/Chicago (CDT, -0500)
        System clock synchronized: no
        NTP service: active
        RTC in local TZ: no

I don't know what else to do. And I don't even know if I'm investigating the right thing to solve my original issue!

I've done a fresh install three times now and it's the same result every time. No issues connecting to internet, failed mirrors, failed reflector, timedatectl syncing not working the same way it does in the live environment. Please help and TIA!

Last edited by senfen716 (2024-06-28 19:56:03)

Offline

#2 2024-06-28 19:46:49

Whoracle
Member
Registered: 2010-11-02
Posts: 221

Re: [SOLVED] Successful install can't install packages or update mirrors?

On phone, so short: Can you ping archlinux.org? If no, you have done something wrong with your DNS. Also try ip a after connect to see if the IP you get from your WiFi AP checks out.

Offline

#3 2024-06-28 19:58:37

senfen716
Member
Registered: 2024-06-28
Posts: 2

Re: [SOLVED] Successful install can't install packages or update mirrors?

Well, after more messing around I figured it out. Even though my DNS Management was set up, systemd-resolved.service was NOT enabled. I don't know if that's an oddity on my part or standard, for some reason I thought that service would be set to enable on boot. Shrug.

Solution to solve:

systemctl enable systemd-resolved
systemctl start systemd-resolved

Offline

Board footer

Powered by FluxBB