What version are you on ? it seems ESPhome does not find your g++ compiler.
ESP Home: Current version: 1.15.3
arch | aarch64 |
---|---|
chassis | |
dev | false |
docker | true |
docker_version | 19.03.13 |
hassio | true |
host_os | Debian GNU/Linux 10 (buster) |
installation_type | Home Assistant Supervised |
os_name | Linux |
os_version | 5.4.72-v8+ |
python_version | 3.8.6 |
supervisor | 2020.11.0 |
timezone | Europe/Amsterdam |
version | 0.117.6 |
virtualenv | false |
Removed ESPHome and installed the Beta version:
Compiling /data/test/.pioenvs/test/src/esphome/components/api/api_connection.cpp.o
sh: 1: xtensa-lx106-elf-g++: not found
Compiling /data/test/.pioenvs/test/src/esphome/components/api/api_pb2.cpp.o
sh: 1: xtensa-lx106-elf-g++: not found
Compiling /data/test/.pioenvs/test/src/esphome/components/api/api_pb2_service.cpp.o
sh: 1: xtensa-lx106-elf-g++: not found
Compiling /data/test/.pioenvs/test/src/esphome/components/api/api_server.cpp.o
*** [/data/test/.pioenvs/test/src/esphome/components/api/api_connection.cpp.o] Error 127
*** [/data/test/.pioenvs/test/src/esphome/components/api/api_pb2.cpp.o] Error 127
*** [/data/test/.pioenvs/test/src/esphome/components/api/api_pb2_service.cpp.o] Error 127
sh: 1: xtensa-lx106-elf-g++: not found
*** [/data/test/.pioenvs/test/src/esphome/components/api/api_server.cpp.o] Error 127
========================= [FAILED] Took 30.50 seconds =========================
Still same issue.
dial tcp: lookup registry-1.docker.io on [::1]:53: read udp [::1]:43754->[::1]:53: read: connection refused
During the last step (curl) the system looses dns resolution and throws the above error.
Some changes were pushed through Github yesterday for the Supervisor. This issue has been addressed now.
Heh, well, Iām new, referred from another thread. Iām a real amateur at this. HOW amateur, you ask? Well, I WONāT tell you how long it took me to realize that the username of root isā¦ ārootā. I sat, googled, got frustrated, and finally asked some friends. LOL Yes, THAT amateur!!
But I CAN follow directions. Debian is up to 10.6.0 now, and there was a bit of trouble with network drivers, but Iām not new to COMPUTERS, just Linux/Debian stuff, so I figured it out.
So now Iām up to the initial āinstall HAā at 2.2 I typed in sudo -i and Iām back at root. Then I typed in that first long line that starts with "apt-get install and I get Reading package listsā¦ Done, building dependency tree, reading state informationā¦ Done.
Then it says Package Network-Manager is not available but is referred etc etc
Package apparmor-utils is not available, but is referred etc etc
E: Unable to locate package software-properties-common
E: package āapparmor-utilsā has no installation candidate
E: Unable to locate package jq
E: Package ānetwork-managerā has no installation candidate
I typed that long line twice to make sure it wasnāt me - same thing.
Any assistance is appreciated.
I assume you followed step 2.1 and updated the OS first and that was successful?
Yes, I had done it in step 1.18. Did I need to repeat it?
Was it successful? You mentioned network problems/drivers.
It looks like you didnāt install the dependencies before running the script?
OR maybe there is a problem with sources.listā¦
can you show that to us?
(I had an issue with my proxmox install where it could not for some odd reason update as it couldnāt hit the debian mirror so I changed the mirror it was using and problem solved)
It was. At least, it LOOKS like it was. It took a couple minutes. But now Iām looking at the end of the lines of that update - it says 0 upgraded, 0 newly installed, 0 to remove and 1 not upgraded.
I got an IP address from step 1.19 though.
that was my next suggestion
Heh, remember that āamateurā thing I mentioned? I donāt know how to get this to show. Or I mean, I donāt know what commands to type to get this.
sudo nano /etc/apt/sources.list
It should look something like this.
deb http://deb.debian.org/debian buster main contrib non-free
deb http://deb.debian.org/debian-security buster/updates main contrib non-free
# Backports are _not_ enabled by default.
# Enable them by uncommenting the following line:
# deb http://deb.debian.org/debian buster-backports main contrib non-free
deb http://deb.debian.org/debian/ buster-backports main contrib non-free
Seems it canāt find/install the dependencies so that is probably whyā¦ Iād expect to see timeout errors though or something in the console.
dep cdrom: [Official Debian GNU/Linux Live 10.0.6 standard 2020-9-26T10:36]/ buster main
is what it lists twice, then a couple websites. Then a bunch of lines starting with # that seem like descriptions.
show the whole file pleaseā¦ what seems gibberish to you isnātā¦
So-Iām sitting at the monitor for that PC, and using my tablet for this forum. Iāll have to take a pic of the monitor (*ugh sorry) and post if thatās ok.
Ideally, this is what you want your list to look like. I would suggest that because you didnāt have a network connection during the Debian installation process, the sources list didnāt get updated.
deb http://deb.debian.org/debian buster main
deb-src http://deb.debian.org/debian buster main
deb http://deb.debian.org/debian-security/ buster/updates main
deb-src http://deb.debian.org/debian-security/ buster/updates main
deb http://deb.debian.org/debian buster-updates main
deb-src http://deb.debian.org/debian buster-updates main
remove the existing config from that file, copy this in, Control+x to save, then run
sudo apt update && sudo apt upgrade -y