A small thing I learned just now that may help somebody:
I'm trying to rescue a machine that had been rudely interrupted in mid-upgrade. Normally I'd do this by booting off alternate media, mounting/chrooting into the drive and resuming work, but networking didn't work anymore but: only in the chrooted space. It worked fine outside it.
The answer is "/etc/resolv.conf might be stale". It's generated at boot, and was wrong in my chroot.
Editing /etc/resolv.conf (I used 1.1.1.1) fixed it.
@mhoye @falken don't often praise Arch but when I do, it's because of
https://man.archlinux.org/man/arch-chroot.8
packaged for Debian under `arch-install-scripts`
@falken @xlrobot Oh nice, thank you both. I'll give this a shot.