Hello very bright people:
I am trying to connect to a video camera I have set up. It is on the same subnet as HA and I am able to get access to it with Internet Explorer using it’s IP address.
I have added “stream:” to my configuration.yaml
I have run
sudo apt-get install -y python-dev pkg-config libavformat-dev libavcodec-dev libavdevice-dev libavutil-dev libswscale-dev libavresample-dev libavfilter-dev
However at the end of the above installation I get:
Err:1 http://raspbian.raspberrypi.org/raspbian buster/main armhf libmp3lame0 armhf 3.100-2
404 Not Found [IP: 2a00:1098:0:80:1000:75:0:3 80]
Err:2 http://raspbian.raspberrypi.org/raspbian buster/main armhf libpango-1.0-0 armhf 1.42.4-6
404 Not Found [IP: 2a00:1098:0:80:1000:75:0:3 80]
Err:3 http://raspbian.raspberrypi.org/raspbian buster/main armhf libpangoft2-1.0-0 armhf 1.42.4-6
404 Not Found [IP: 2a00:1098:0:80:1000:75:0:3 80]
Err:4 http://raspbian.raspberrypi.org/raspbian buster/main armhf libpangocairo-1.0-0 armhf 1.42.4-6
404 Not Found [IP: 2a00:1098:0:80:1000:75:0:3 80]
Err:5 http://raspbian.raspberrypi.org/raspbian buster/main armhf libvpx5 armhf 1.7.0-3
404 Not Found [IP: 2a00:1098:0:80:1000:75:0:3 80]
Err:6 http://raspbian.raspberrypi.org/raspbian buster/main armhf libzmq5 armhf 4.3.1-4
404 Not Found [IP: 2a00:1098:0:80:1000:75:0:3 80]
Err:7 http://raspbian.raspberrypi.org/raspbian buster/main armhf libpulse0 armhf 12.2-4
404 Not Found [IP: 2a00:1098:0:80:1000:75:0:3 80]
E: Failed to fetch http://raspbian.raspberrypi.org/raspbian/pool/main/l/lame/libmp3lame0_3.100-2_armhf.deb 404 Not Found [IP: 2a00:1098:0:80:1000:75:0:3 80]
E: Failed to fetch http://raspbian.raspberrypi.org/raspbian/pool/main/p/pango1.0/libpango-1.0-0_1.42.4-6_armhf.deb 404 Not Found [IP: 2a00:1098:0:80:1000:75:0:3 80]
E: Failed to fetch http://raspbian.raspberrypi.org/raspbian/pool/main/p/pango1.0/libpangoft2-1.0-0_1.42.4-6_armhf.deb 404 Not Found [IP: 2a00:1098:0:80:1000:75:0:3 80]
E: Failed to fetch http://raspbian.raspberrypi.org/raspbian/pool/main/p/pango1.0/libpangocairo-1.0-0_1.42.4-6_armhf.deb 404 Not Found [IP: 2a00:1098:0:80:1000:75:0:3 80]
E: Failed to fetch http://raspbian.raspberrypi.org/raspbian/pool/main/libv/libvpx/libvpx5_1.7.0-3_armhf.deb 404 Not Found [IP: 2a00:1098:0:80:1000:75:0:3 80]
E: Failed to fetch http://raspbian.raspberrypi.org/raspbian/pool/main/z/zeromq3/libzmq5_4.3.1-4_armhf.deb 404 Not Found [IP: 2a00:1098:0:80:1000:75:0:3 80]
E: Failed to fetch http://raspbian.raspberrypi.org/raspbian/pool/main/p/pulseaudio/libpulse0_12.2-4_armhf.deb 404 Not Found [IP: 2a00:1098:0:80:1000:75:0:3 80]
E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?
I have run “sudo apt-get update” but this did not make the above error go away.
I have run “sudo apt-get --fix-missing” and had the following:
pi@hassbian1:~ $ sudo apt-get update --fix-missing
Hit:1 http://archive.raspberrypi.org/debian buster InRelease
Get:2 http://raspbian.raspberrypi.org/raspbian buster InRelease [15.0 kB]
Ign:3 https://gitlab.com/hassbian/repository/raw/master stretch InRelease
Get:4 https://gitlab.com/hassbian/repository/raw/master stretch Release [3,111 B]
Ign:5 https://gitlab.com/hassbian/repository/raw/master stretch Release.gpg
Reading package lists... Done
E: Repository 'http://raspbian.raspberrypi.org/raspbian buster InRelease' changed its 'Suite' value from 'testing' to 'stable'
N: This must be accepted explicitly before updates for this repository can be applied. See apt-secure(8) manpage for details. I have had a look at "info apt-secure" and I am not sure what it all means.
When I load HA I get the following:
-- Logs begin at Sun 2019-12-08 20:18:54 GMT. --
Dec 08 20:19:40 hassbian1 hass[524]: Could not find libavdevice with pkg-config.
Dec 08 20:19:40 hassbian1 hass[524]: Could not find libavutil with pkg-config.
Dec 08 20:19:40 hassbian1 hass[524]: Could not find libavfilter with pkg-config.
Dec 08 20:19:40 hassbian1 hass[524]: Could not find libswscale with pkg-config.
Dec 08 20:19:40 hassbian1 hass[524]: Could not find libswresample with pkg-config.
Dec 08 20:19:40 hassbian1 hass[524]: ----------------------------------------
Dec 08 20:19:40 hassbian1 hass[524]: ERROR: Command errored out with exit status 1: /srv/homeassistant/bin/python -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-_ze4rezm/av/setup.py'"'"'; __file__='"'"'/tmp/pip-install-_ze4rezm/av/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' install --record /tmp/pip-record-w8qivpej/install-record.txt --single-version-externally-managed --compile --install-headers /srv/homeassistant/include/site/python3.7/av Check the logs for full command output.
Dec 08 20:19:40 hassbian1 hass[524]: 2019-12-08 20:19:40 ERROR (MainThread) [homeassistant.setup] Setup failed for stream: Requirements for stream not found: ['av==6.1.2'].
All advice gratefully received!