home-assistant / core

:house_with_garden: Open source home automation that puts local control and privacy first.
https://www.home-assistant.io
Apache License 2.0
74.05k stars 31.08k forks source link

Installation error #131227

Open zed1thou opened 1 week ago

zed1thou commented 1 week ago

The problem

Trying to install HA on a Pi 5 running the recommended desktop OS. Used a tutorial to install. but got an error (below) during installation.

(homeassistant) zed1@raspberrypi:~/homeassistant $ pip install homeassistant --index-url https://pypi.org/simple
Looking in indexes: https://pypi.org/simple, https://www.piwheels.org/simple
Collecting homeassistant
  Downloading https://www.piwheels.org/simple/homeassistant/homeassistant-2024.3.3-py3-none-any.whl (35.4 MB)
     ━━━━━━━━━━━╸━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 10.2/35.4 MB 220.9 kB/s eta 0:01:55
ERROR: THESE PACKAGES DO NOT MATCH THE HASHES FROM THE REQUIREMENTS FILE. If you have updated the package versions, please update the hashes. Otherwise, examine the package contents carefully; someone may have tampered with them.
    homeassistant from https://www.piwheels.org/simple/homeassistant/homeassistant-2024.3.3-py3-none-any.whl#sha256=10ad69530d2d063cd59fba630194bfbb389eba581b2bd1af593e60cd741f2733:
        Expected sha256 10ad69530d2d063cd59fba630194bfbb389eba581b2bd1af593e60cd741f2733
             Got        b64e9a4187ac6fc85b98b352ca0d11eafbcbeefef18ccd446f6f0afaa90193e4

(homeassistant) zed1@raspberrypi:~/homeassistant $ python3 --version
Python 3.11.2
(homeassistant) zed1@raspberrypi:~/homeassistant $ uname -a
Linux raspberrypi 6.6.51+rpt-rpi-2712 #1 SMP PREEMPT Debian 1:6.6.51-1+rpt3 (2024-10-08) aarch64 GNU/Linux
(homeassistant) zed1@raspberrypi:~/homeassistant $

What version of Home Assistant Core has the issue?

Don't know

What was the last working version of Home Assistant Core?

No response

What type of installation are you running?

Home Assistant Core

Integration causing the issue

Not applicable

Link to integration documentation on our website

No response

Diagnostics information

No response

Example YAML snippet

No response

Anything in the logs that might be useful for us?

No response

Additional information

Note, there are some network issues on the Raspberry Pi (surrounding PiHole), but this appears unrelated to the hash mismatch error.

hacscred commented 1 week ago

Use a known good computer to check the hash of whatever you downloaded and download a fresh copy on this known good computer and check the hash of that too.

If that's not different, contact whoever computed those hashes and provided the URLs.

tbrasser commented 1 week ago

Have you considered HA OS instead of Debian?

mib1185 commented 6 days ago

Used a tutorial to install.

Which tutorial?

The official documentation is here