Trying to run
sudo apt-get update
do get loads of errors like
W: Failed to fetch http://raspberrypi.collabora.com/dists/ ... elease.gpg Something wicked happened resolving 'host:http' (-5 - No
address associated with hostname)
Already Tried to search the forum did not manage to solve the issue
ping google.com
responds normal
--- google.com ping statistics ---
114 packets transmitted, 114 received, 0% packet loss, time 113173ms
rtt min/avg/max/mdev = 19.390/24.136/42.980/5.536 ms
pi@raspberrypi ~ $ ping -c 1 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_req=1 ttl=53 time=22.4 ms
--- 8.8.8.8 ping statistics ---
1 packets transmitted, 1 received, 0% packet loss, time 0ms
rtt min/avg/max/mdev = 22.484/22.484/22.484/0.000 ms
cat /etc/hostname
raspberrypi
hostname
raspberrypi
hostname -A
raspberrypi.local
hostname -i
127.0.1.1
hostname -I
192.168.2.58
cat /etc/hosts
127.0.0.1 localhost
::1 localhost ip6-localhost ip6-loopback
fe00::0 ip6-localnet
ff00::0 ip6-mcastprefix
ff02::1 ip6-allnodes
ff02::2 ip6-allrouters
127.0.1.1 raspberrypi
cat /etc/resolv.conf
8.8.8.8
sudo sh -c "echo 8.8.8.8 >/etc/resolv.conf"
(does not show anything)
ping -c 1 -W 5 google.com
ping: unknown host google.com
/etc/apt/sources.list
deb http://mirrordirector.raspbian.org/raspbian/ wheezy main contrib non-free rpi
# Uncomment line below then 'apt-get update' to enable 'apt-get source'
# deb-src http://mirror.ox.ac.uk/sites/archive.ra ... /raspbian/ wheezy main contrib non-free rpi
host google.co.uk
;; connection timed out; no servers could be reached
host www.pythonforbeginners.com
;; connection timed out; no servers could be reached
route -n
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
0.0.0.0 192.168.2.254 0.0.0.0 UG 0 0 0 eth0
192.168.2.0 0.0.0.0 255.255.255.0 U 0 0 0 eth0
ping -c3 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_req=1 ttl=53 time=20.3 ms
64 bytes from 8.8.8.8: icmp_req=2 ttl=53 time=20.5 ms
64 bytes from 8.8.8.8: icmp_req=3 ttl=53 time=20.3 ms
--- 8.8.8.8 ping statistics ---
3 packets transmitted, 3 received, 0% packet loss, time 2003ms
rtt min/avg/max/mdev = 20.301/20.394/20.517/0.188 ms
traceroute 8.8.8.8
traceroute to 8.8.8.8 (8.8.8.8), 30 hops max, 60 byte packets
1 192.168.2.254 (192.168.2.254) 0.636 ms 0.357 ms 0.424 ms
2 195.190.228.186 (195.190.228.186) 15.410 ms 15.705 ms 17.310 ms
3 * * *
4 145.54.47.246 (145.54.47.246) 22.802 ms 23.646 ms 25.011 ms
5 145.54.47.250 (145.54.47.250) 25.401 ms 26.269 ms 27.612 ms
6 139.156.156.133 (139.156.156.133) 28.007 ms 19.106 ms 19.797 ms
7 139.156.127.73 (139.156.127.73) 21.917 ms 20.353 ms 139.156.127.77 (139.156.127.77) 21.430 ms
8 * * *
9 8.8.8.8 (8.8.8.8) 23.468 ms 108.170.236.137 (108.170.236.137) 25.081 ms 8.8.8.8 (8.8.8.8) 24.936 ms
pi@raspberrypi ~ $ df -h
Filesystem Size Used Avail Use% Mounted on
/dev/root 7.3G 4.9G 2.1G 71% /
devtmpfs 484M 0 484M 0% /dev
tmpfs 98M 204K 98M 1% /run
tmpfs 5.0M 0 5.0M 0% /run/lock
tmpfs 196M 0 196M 0% /run/shm
/dev/mmcblk0p1 56M 24M 33M 43% /boot
none 488M 0 488M 0% /sys/fs/cgroup
pi@raspberrypi ~ $ ls
cmake-3.2.2 homepidomoticzscriptscheck_device_online.py
cmake-3.2.2.tar.gz libssl1.0.0_1.0.1t-1+deb8u6_armhf.deb
config.json libssl1.0.0_1.0.1t-1+deb8u6_armhf.deb.1
dead.letter libudev1_234-3_armhf.deb
domoticz node_latest_armhf.deb
homebridge node_modules
Thanks
Updated to the Latest version of Debian and re-installed Domoticz (problem solved)
sudo apt-get update errors
Moderators: leecollings, remb0
-
- Posts: 6
- Joined: Wednesday 28 October 2015 16:17
- Target OS: Raspberry Pi / ODroid
- Domoticz version: 3.8153
- Location: Nederland
- Contact:
sudo apt-get update errors
Last edited by Piet on Wednesday 22 May 2019 17:19, edited 2 times in total.
- waaren
- Posts: 6028
- Joined: Tuesday 03 January 2017 14:18
- Target OS: Linux
- Domoticz version: Beta
- Location: Netherlands
- Contact:
Re: sudo apt-get update errors
Could it have something to do that Debian support for wheezy ended 31/05/2018 ?Piet wrote: ↑Tuesday 14 May 2019 19:18 Trying to run sudo apt-get update
do get loads of errors like
W: Failed to fetch http://raspberrypi.collabora.com/dists/ ... elease.gpg Something wicked happened resolving 'host:http' (-5 - No
address associated with hostname)
Please help
Debian buster, bullseye on RPI-4, Intel NUC.
dz Beta, Z-Wave, RFLink, RFXtrx433e, P1, Youless, Hue, Yeelight, Xiaomi, MQTT
==>> dzVents wiki
dz Beta, Z-Wave, RFLink, RFXtrx433e, P1, Youless, Hue, Yeelight, Xiaomi, MQTT
==>> dzVents wiki
-
- Posts: 20
- Joined: Thursday 25 May 2017 23:07
- Target OS: Raspberry Pi / ODroid
- Domoticz version: current
- Contact:
Re: sudo apt-get update errors
Here is description on how to update Wheezy to Jessie, but note that the current version is Stretch, so I’d advise to first go to Jessie, check if everything still works and then repeat the steps for Stretch.
https://raspberrypi.stackexchange.com/q ... ssie#27859
Note that you will need to update the sources as described in the second answer. And first make a backup of course
The alternative is a new install, but the upgrade route can be very satisfying...
https://raspberrypi.stackexchange.com/q ... ssie#27859
Note that you will need to update the sources as described in the second answer. And first make a backup of course
The alternative is a new install, but the upgrade route can be very satisfying...
- emme
- Posts: 909
- Joined: Monday 27 June 2016 11:02
- Target OS: Raspberry Pi / ODroid
- Domoticz version: latest
- Location: Milano, Italy
- Contact:
Re: sudo apt-get update errors
do you have IPv6 enable?
because I had the same issue and was IPv6 related
because I had the same issue and was IPv6 related
The most dangerous phrase in any language is:
"We always done this way"
"We always done this way"
-
- Posts: 20
- Joined: Thursday 25 May 2017 23:07
- Target OS: Raspberry Pi / ODroid
- Domoticz version: current
- Contact:
Re: sudo apt-get update errors
I think in this case it’s really because wheezy is no longer available on those URLs in the /etc/apt/sources.list (nb, you can visit them with a webbrowser to check what is there)emme wrote:do you have IPv6 enable?
because I had the same issue and was IPv6 related
- emme
- Posts: 909
- Joined: Monday 27 June 2016 11:02
- Target OS: Raspberry Pi / ODroid
- Domoticz version: latest
- Location: Milano, Italy
- Contact:
Re: sudo apt-get update errors
mmh I think you're right
The most dangerous phrase in any language is:
"We always done this way"
"We always done this way"
Who is online
Users browsing this forum: No registered users and 1 guest