I have installed the arch linux. I am using wifi-menu to connect to wireless network. But every time a package is installed using 'pacman -Syu file' it give errors and in next line the repository is installed.
I have gone through similar answer on posted like one ->here

error retrieving file.pkg.tar.xz from arch.nimukaito.net: could not resolve file    
file                                          [#############]100%    

Here i have concern why is the error coming and if error is shown then how is the file installation getting completed.
Can anyone help me understand what is going here as i am trying to learn the basics ?

  • Are you able to ping – Hunter.S.Thompson Aug 9 '17 at 17:26
  • Yes, As i stated in the question i am able to access internet and install packages. I am not able to understand why am i getting the error in the every alternate line. – krishnakant Aug 9 '17 at 17:30

You are able to access and download the file because the mirror is online, it gives you an error because the mirror has DNS issues. If you try and lookup arch.nimukaito.net in your browser you will get a DNS address could not be found error, but you still can access and download from it, using the saved copy.

I suggest you change your mirror arch.nimukaito.net in /etc/pacman.d/mirrorlist to a different one and then pacman -Syyu then try and install a package.

  • Thanks for the answer. Can't vote up as i hove only 1 reputation on unix stackexchange. Just as i understood after looking the mirrorlist file. There were different mirrors listed there. It searches on the mirror listed there from the start. The first mirror has DNS issues from my browser also. I comment that mirror and now it downloads without errors. – krishnakant Aug 9 '17 at 18:12
  • Could you explain the behaviour of pacman -Syyu? That would be a great expansion to this answer. – Jan Mar 15 '18 at 7:23

Your Answer

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

Not the answer you're looking for? Browse other questions tagged or ask your own question.