I just installed Arch Linux and I'm trying to set up my wifi. I'm trying to run pacman -U to install some files I have off a USB stick, namely wpa-supplicant. When I run the command, I get a long line of errors that all say something along the lines of failed retrieving file ... Could not resolve host

  • Give full command. – Tuyen Pham Jan 21 at 6:12
  • @TuyenPham pacman -U /mnt/wpa_supplicant-2_2.6-2-x86_64.pkg.tar.xz – William Markley Jan 21 at 6:17
  • 1
    When you install a package, if it has dependencies that require to install first, you have to manually install them first, the above error is that pacman try to install some dependencies from internet. Check your package and install its required packages. – Tuyen Pham Jan 21 at 7:41
  • I'm just guessing here, are you connected via cable? Can you try pinging and google.com and post the results here? – Yaron Jan 21 at 8:31
  • First, do: pacman -Qo wifi-menu, then do pacman -Qi netctl and then go ahead and download all these packages (manually from package site or by doing pacman -Syuw --cachedir /tmp/cache_download --database /tmp netctl and grab all *.xz* files from /tmp/cache_download). Bring those over to your machine and install them in some form of correct order. Replace this process for any package you want, for instance - wpa_supplicant. You can also create a local mirror on the USB drive. – Torxed Jan 21 at 10:58

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.