You are not logged in.
Pages: 1
I am trying to install some packages but pacman is not working even though browser is. The error is as follows:
error: failed retrieving file 'libgtop-2.28.4-1-i686.pkg.tar.xz' from mirror.aarnet.edu.au : Could not resolve host: mirror.aarnet.edu.au; Unknown error
warning: failed to retrieve some files from extra
Same thing is happening for all files and with different mirrors. I have tried changing the mirrorlist file in /etc/pacman.d/ folder.
Last edited by rnarch (2012-03-23 05:27:43)
Offline
can you ping mirror.aarnet.edu.au ? I can.
Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
The shortest way to ruin a country is to give power to demagogues.— Dionysius of Halicarnassus
---
How to Ask Questions the Smart Way
Offline
aarnet's my main mirror. confirmed that mirror is up and installing libgtop from aarnet works.
try running pacman -Syy
All configs @ https://github.com/w0ng
Offline
No:
# ping mirror.aarnet.edu.au
ping: unknown host mirror.aarnet.edu.au
# ping http://mirror.aarnet.edu.au
ping: unknown host http://mirror.aarnet.edu.au
I can open this link in browser.
Last edited by rnarch (2012-03-23 04:58:06)
Offline
Can you ping 202.158.214.106 (That is how mirror.aarnet.edu.au resolves on this system)
Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
The shortest way to ruin a country is to give power to demagogues.— Dionysius of Halicarnassus
---
How to Ask Questions the Smart Way
Offline
Yes:
$ ping 202.158.214.106
PING 202.158.214.106 (202.158.214.106) 56(84) bytes of data.
64 bytes from 202.158.214.106: icmp_req=1 ttl=45 time=370 ms
64 bytes from 202.158.214.106: icmp_req=2 ttl=45 time=401 ms
64 bytes from 202.158.214.106: icmp_req=3 ttl=45 time=489 ms
^C
--- 202.158.214.106 ping statistics ---
4 packets transmitted, 3 received, 25% packet loss, time 3003ms
rtt min/avg/max/mdev = 370.636/420.513/489.592/50.425 ms
Offline
How is your network configured? Are you running through a local router?
Please post the output of /etc/resolv.conf
On my system (Which is part of a private network with a router that acts as a DNS server for the local network)
ewaller@odin:~/test 1076 %cat /etc/resolv.conf
# Generated by NetworkManager
nameserver 192.168.1.1
ewaller@odin:~/test 1077 %
You are having DNS issues
Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
The shortest way to ruin a country is to give power to demagogues.— Dionysius of Halicarnassus
---
How to Ask Questions the Smart Way
Offline
Through dhcp.
$ cat /etc/resolv.conf
# Generated by dhcpcd
# /etc/resolv.conf.head can replace this line
# /etc/resolv.conf.tail can replace this line
Offline
I checked rc.conf file again and it was on a static IP address (must have changed while setting network). I have changed back to dhcp and pacman is working all right. I am marking this thread as solved. Many thanks for your help.
Offline
Try this (if you are running as a normal user who is a member of wheel)
sudo bash -c "echo 8.8.8.8 >> /etc/resolv.conf"
Or, since you run as root,
echo 8.8.8.8 >> /etc/resolv.conf
Then try ping mirror.aarnet.edu.au
How is your network configured? Are you running through a local router?
Well, I did not express myself well. Is this a wired network? Is this a DSL, Cable Modem, Dial up, Other? Do you have a router in your house? is it what provides the IP address? Does it act as a DNS server? Can you log into the router? What is it using for its DNS server?
The 8.8.8.8 is a Goggle DNS server. We are configuring your system to use it for the time being. It will go away the next time you get an IP from the DHCP server.
Edit: Never mind
Last edited by ewaller (2012-03-23 05:43:55)
Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
The shortest way to ruin a country is to give power to demagogues.— Dionysius of Halicarnassus
---
How to Ask Questions the Smart Way
Offline
Thanks for the very useful info about google dns server and about resolv.conf; can be very useful if there is a dns problem.
Can we specify that the dns address in rc.conf or in any other file, so that it remains same and not dependent on dhcp? Will it be affected if we are using a static IP or a dynamic IP? Can we use 8.8.8.8 as dns address all the time?
Thanks for your replies.
Last edited by rnarch (2012-03-23 08:48:59)
Offline
Pages: 1