fusion44 / blitz_api

A management backend for the RaspiBlitz project written in Python / FastAPI
MIT License
19 stars 18 forks source link

Hash mismatch during install #180

Open HiLivin opened 1 year ago

HiLivin commented 1 year ago

Describe the bug During install on Raspberry Pi an error occurs:

Collecting ordered-set==4.1.0
  Downloading https://www.piwheels.org/simple/ordered-set/ordered_set-4.1.0-py3-none-any.whl (7.6 kB)
Collecting packaging==21.3
  Downloading https://www.piwheels.org/simple/packaging/packaging-21.3-py3-none-any.whl (40 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 40.8/40.8 kB 246.0 kB/s eta 0:00:00
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.
    packaging==21.3 from https://www.piwheels.org/simple/packaging/packaging-21.3-py3-none-any.whl#sha256=36bb3108f8e33f88e52e7985b4068e2585b67e5b7b3a0fa2817f9852bc39d2ef (from -r requirements.txt (line 498)):
        Expected sha256 dd47c42927d89ab911e606518907cc2d3a1f38bbd026385970643f9c5b8ecfeb
        Expected     or ef103e05f519cdc783ae24ea4e2e0f508a9c99b2d4969652eed6a2e1ea5bd522
             Got        36bb3108f8e33f88e52e7985b4068e2585b67e5b7b3a0fa2817f9852bc39d2ef

To Reproduce git clone https://github.com/fusion44/blitz_api.git cd blitz_api make install

Expected behavior Installation succeeds.

Desktop (please complete the following information):

Additional context Reference issue: #161 The same error occurs when trying to build RaspiBlitz v1.8 SD card image (rootzoll/raspiblitz#3536).

When calling make install-dev no errors occur.

Checking hash manually: wget https://www.piwheels.org/simple/packaging/packaging-21.3-py3-none-any.whl pip hash packaging-21.3-py3-none-any.whl results in:

packaging-21.3-py3-none-any.whl:
--hash=sha256:36bb3108f8e33f88e52e7985b4068e2585b67e5b7b3a0fa2817f9852bc39d2ef