I am trying to update rPi B+'s ArchLinux with sudo pacman -Syyu
and I get following error:
[user@comp001 ~]# pacman -Syyu
:: Synchronizing package databases...
error: failed retrieving file 'core.db' from mirror.archlinuxarm.org : Could not resolve host: mirror.archlinuxarm.org
error: failed to update core (download library error)
error: failed retrieving file 'extra.db' from mirror.archlinuxarm.org : Could not resolve host: mirror.archlinuxarm.org
error: failed to update extra (download library error)
error: failed retrieving file 'community.db' from mirror.archlinuxarm.org : Could not resolve host: mirror.archlinuxarm.org
error: failed to update community (download library error)
error: failed retrieving file 'alarm.db' from mirror.archlinuxarm.org : Could not resolve host: mirror.archlinuxarm.org
error: failed to update alarm (download library error)
error: failed retrieving file 'aur.db' from mirror.archlinuxarm.org : Could not resolve host: mirror.archlinuxarm.org
error: failed to update aur (download library error)
error: failed to synchronize any databases
error: failed to init transaction (download library error)
[user@comp001 ~]#
I can access to web from PC, router settings are ok (rPi is running dhcp client and it gets from router permanent ip), I can ping ip addresses:
[user@comp001 ~]# ping -Uv 8.8.8.8
PING 8.8.8.8 (8.8.8.8) 56(84) bytes of data.
64 bytes from 8.8.8.8: icmp_seq=1 ttl=53 time=29.6 ms
64 bytes from 8.8.8.8: icmp_seq=2 ttl=53 time=29.4 ms
64 bytes from 8.8.8.8: icmp_seq=3 ttl=53 time=28.5 ms
64 bytes from 8.8.8.8: icmp_seq=4 ttl=53 time=29.2 ms
64 bytes from 8.8.8.8: icmp_seq=5 ttl=53 time=29.9 ms
64 bytes from 8.8.8.8: icmp_seq=6 ttl=53 time=29.0 ms
64 bytes from 8.8.8.8: icmp_seq=7 ttl=53 time=27.8 ms
^C
--- 8.8.8.8 ping statistics ---
7 packets transmitted, 7 received, 0% packet loss, time 6008ms
rtt min/avg/max/mdev = 27.843/29.109/29.979/0.683 ms
[user@comp001 ~]#
but I cannot ping web address:
[root@octopustest ~]# ping google.com
ping: unknown host google.com
[root@octopustest ~]#
I have another rPi B+ (same model and both are running archlinux, first with kernel Linux rpiOK 3.18.5-1-ARCH #1 PREEMPT Fri Jan 30 19:56:39 MST 2015 armv6l GNU/Linux
and the second one, problematic, with kernel Linux rpiUPDATEPROBLEM 3.18.3-1-ARCH #1 PREEMPT Fri Jan 23 22:10:31 MST 2015 armv6l GNU/Linux
), with same setup in relation with router (permanent ip address) and I can run pacman -Syyu
without problems. But I've found a difference between resolv.conf
configurations:
First rPi, with new hostname rpiOK
has following resolv.conf
setup:
[user@rpiOK etc]$ ls -asl resolv*
0 lrwxrwxrwx 1 root root 32 Jan 1 1970 resolv.conf -> /run/systemd/resolve/resolv.conf
4 -rw-r--r-- 1 root root 254 Sep 22 23:08 resolvconf.conf
[user@rpiOK etc]$
Second rPi, with new hostname rpiUPDATEPROBLEM
, has following resolv.conf
setup:
[user@rpiUPDATEPROBLEM etc]# ls -asl resolv*
4 -rwxrwxrwx 1 root root 26 Jan 25 2015 resolv.conf
4 -rw-r--r-- 1 root root 254 Jan 24 2015 resolvconf.conf
[root@rpiUPDATEPROBLEM etc]#
Does the problem lie here (I can ping same web address, google.com
from PC without problems)?