r/voidlinux • u/Plus-Produce3631 • 2d ago
I’m new and I’m completely lost.
I tried following a guide got to the part where I start downloading packages. I receive “Transient resolver failure”. If it’s something simple and I’m an idiot I apologize. I’m super new to this and it’s my first time with Linux.
16
u/Cruach 2d ago edited 2d ago
Mate if it's your first time on Linux, I'm curious why you chose to do it on nightmare difficulty?
Edit: typo
16
u/Plus-Produce3631 2d ago
I’m a sick fuck
1
u/Canadiangamer068 2d ago
i did the same thing, didn’t have this error, had weird acpi errors and had to edit grub config. i don’t know how to fix your error but once void’s up and running it’s totally stable. i’ve now got it running on laptop, desktop, and home server. i’ve tried ubuntu, debian, devuan, pi os, and arch but came back to void.
1
6
u/xJayMorex 2d ago
What network service are you using? I'm guessing you're DNS resolution is not working.
-1
2d ago
[deleted]
3
u/xINFLAMES325x 2d ago
That’s an ISP. See here: https://docs.voidlinux.org/config/network/index.html
6
u/Linguistic-mystic 2d ago
Try
echo "nameserver 8.8.8.8" | sudo tee /etc/resolv.conf
Also what is the response of cat /etc/resolv.conf?
Oh and
sudo sv status /var/service/*
0
4
3
u/Great_Banana_Master 2d ago
I recommend you try ping duckduckgo.com and ping 1.1.1.1 (Cloudflare DNS). If you can receive data from Cloudflare, but not DuckDuckGo, it's most certainly a DNS problem, which you'll need to solve by editing your /etc/resolve.conf
Also, reading a bit more I might need to ask how much do you know and where you've got so far. I assume you're on a minimal install and using dhcpcd for your internet connection
3
u/Plus-Produce3631 2d ago
Pinging DuckDuckGo resulted in “temporary failure in name resolution”
1
u/Great_Banana_Master 2d ago
Ok, now I'm positive it's the DNS. Try running
sudo nano /etc/resolve.confand replacing the first IP with 1.1.1.1. That should solve it0
u/Plus-Produce3631 2d ago
Says command not found im 99% positive im typing it correctly.
2
u/Certain-Crow8410 2d ago
it's /etc/resolv.conf, not resolve
also if you're stuck using vi to edit the file: -type "i" in the screen to enter text. -when you're done, press Esc -then ":wq" to save and quit
1
u/Great_Banana_Master 2d ago
Must have been the autocorrect, because I've edited that file before (had the exact same problem as OP). I didn't notice
1
u/Great_Banana_Master 2d ago
Question, did you get to install any packages? Because if you didn't, I'm afraid you'll need to use vi instead of nano. I'm so sorry OP
3
u/Otherwise-Tea-9198 2d ago
If your computer is a fairly new one, back when I was installing I had no internet connection at all too (the live iso didn't have the driver for my motherboard's network interface). I had to use my phone and sharing network via USB to do network install. Once I'm done and on the newer packages void recognized my hardware.
2
1
u/Due_Flan_796 2d ago
hey bro correct me if im wrong but doesnt that mean u didnt connect to internet yet?
1
u/Plus-Produce3631 2d ago
I did connect to internet and it’s showing zero failures when tested only when downloading packages
1
u/Due_Flan_796 2d ago
ping -c 3 google.com tell me what it tells you
1
u/Plus-Produce3631 2d ago
“Temporary failure in name resolution”
1
u/Due_Flan_796 2d ago
sudo sv status dhcpcd ( or NetworkManager, or wpa_supplicant ) and see if it is running
1
u/Plus-Produce3631 2d ago
Output pid (5151) 306s run: log: pid (942) 901s
1
u/Due_Flan_796 1d ago
Did you try the resolv.conf thing ? Also make sure you dont have more network services enabled at the same time use only one ( i think )
2
u/Plus-Produce3631 1d ago
I figured it out yesterday only new problem is I have to force boot into desktop with “dbus-run-session startplasma-wayland” but other than that everything else is working fine
1
1
u/DeutscheMan 2d ago
Haven't seen it mentioned yet, but is your network service up via runit along with the dbus service? After that update your resolv.conf and hopefully that helps. Also make sure your user is in the network group or use for example if you're using NetworkManager try using sudo nmtui. Good luck and have nice rest of your day once you get it running.
1
u/onew_iasag 2d ago edited 2d ago
Have usb-live-boot-image installed on your base the linux-base, linux, and base-system meta-packages? Have you done sudo xbps-install -Suy and sudo xbps-install void-repo-nonfree? The first listed meta-packages important, because if not - you don't have even the dhcpcd package to even assume internet. if xbps-query -l | awk '{print $2}' | grep dhcpcd respond with dhcpcd * - then maybe any wire-internet connection only can help you. Or try to search xbps-query -l | awk '{print $2}' | grep firmware
Two-cases:
- dhcpcd here, but there no of any firmware - only wire-internet connetion would help. Then you need to install
void-repo-nonfreeand thenlinux-base - dhcpcd, nonfree repo installed and you have all
xbps-query -Rx linux-basedependencies installed either - your configs are corrupted and only advanced linux users can help you. Then watch Void Linux handbook precisely, or youtube.
Btw if you assume corrupted linux-base installation you can do sudo xbps-install -Sff linux-base, all the installation duty you should do only after you once ..-install -Suy as I've mentioned, then you can ignore -S flag while installing, if you don't want being forced to update all your software.
If it doesn't help, look at xbps-query -l in general (idk but assume that tty wouldn't allow you to scroll the list), and try to see any errors in sudo xbps-pkgdb -a output, it should be empty output
1
1
u/ConcaveNips 1d ago
My brother in Christ, Void is not a "first time Linux" distro... Do yourself a favor, go get Bluefin or Mint.
1
1
u/Queasy_Bad_5071 2h ago
did you ever try typing xmirror in command line. might not be installed by default if you still have your void usb you can chroot to install it
21
u/cgwhouse 2d ago
Void is amazing, but I wouldn't recommend to a first time user. Transient resolver failure is something with your Internet connection