0

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 ?

2
  • Are you able to ping 8.8.8.8? Aug 9, 2017 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. Aug 9, 2017 at 17:30

1 Answer 1

1

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.

2
  • 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. Aug 9, 2017 at 18:12
  • Could you explain the behaviour of pacman -Syyu? That would be a great expansion to this answer.
    – Jan
    Mar 15, 2018 at 7:23

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .