Home Assistant no upgrade

hi, i have a problem when i try to update home assistant with the command:

sudo hassbian-config upgrade homeassistant

this is the error:

pi@hassbian:~ $ sudo hassbian-config upgrade homeassistant
Generating system information…

Home Assistant: 0.106.5
Home Assistant Python: 3.7.3
hassbian-config: 0.13.1

Linux hassbian 4.19.97-v7l+ #1294 SMP Thu Jan 30 13:21:14 GMT 2020 armv7l GNU/Linux

Suite: Home Assistant
Installed: true
Contributed to the project by Lindqvist https://github.com/Landrash
Installs the base homeassistant package onto this system.

Checking current version
Setting correct permissions
Upgrading Home Assistant
Changing to homeassistant user…
Changing to Home Assistant venv…
Updating Python dependencies…
Looking in indexes: https://pypi.org/simple, https://www.piwheels.org/simple
Requirement already up-to-date: pip in /srv/homeassistant/lib/python3.7/site-packages (20.0.2)
Looking in indexes: https://pypi.org/simple, https://www.piwheels.org/simple
Collecting setuptools
Downloading setuptools-46.0.0-py3-none-any.whl (582 kB)
Installing collected packages: setuptools
Attempting uninstall: setuptools
Found existing installation: setuptools 45.2.0
Uninstalling setuptools-45.2.0:
Successfully uninstalled setuptools-45.2.0
Successfully installed setuptools-46.0.0
Looking in indexes: https://pypi.org/simple, https://www.piwheels.org/simple
Requirement already up-to-date: wheel in /srv/homeassistant/lib/python3.7/site-packages (0.34.2)
Installing Python packages…
Looking in indexes: https://pypi.org/simple, https://www.piwheels.org/simple
ERROR: Could not find a version that satisfies the requirement homeassistant== (from versions: 0.7.0rc1, 0.7.0, 0.7.0.1, 0.7.1, 0.7.2, 0.7.3, 0.7.4, 0.7.5, 0.7.6, 0.7.7, 0.8.0, 0.9.0, 0.9.1, 0.10.0, 0.10.1, 0.11.0, 0.11.1, 0.12.0, 0.13.0, 0.13.1, 0.14.0, 0.14.1, 0.14.2, 0.15.0, 0.16.0, 0.16.1, 0.17.0, 0.17.1, 0.17.2, 0.17.3, 0.18.2, 0.19, 0.19.1, 0.19.2, 0.19.3, 0.19.4, 0.20.0, 0.20.1, 0.20.2, 0.20.3, 0.21.0, 0.21.1, 0.21.2, 0.22.0, 0.22.1, 0.23.0, 0.23.1, 0.24.0, 0.24.1, 0.25.0, 0.25.1, 0.25.2, 0.26.0, 0.26.1, 0.26.2, 0.26.3, 0.27.0, 0.27.1, 0.27.2, 0.28.0, 0.28.1, 0.28.2, 0.29.0, 0.29.1, 0.29.2, 0.29.3, 0.29.4, 0.29.5, 0.29.6, 0.29.7, 0.30.0, 0.30.1, 0.30.2, 0.31.0, 0.31.1, 0.32.0, 0.32.1, 0.32.2, 0.32.3, 0.32.4, 0.33.0, 0.33.1, 0.33.2, 0.33.3, 0.33.4, 0.34.0, 0.34.1, 0.34.2, 0.34.3, 0.34.4, 0.34.5, 0.35.0, 0.35.1, 0.35.2, 0.35.3, 0.36.0, 0.36.1, 0.37.0, 0.37.1, 0.38.0, 0.38.1, 0.38.2, 0.38.3, 0.38.4, 0.39.0, 0.39.1, 0.39.2, 0.39.3, 0.40.0, 0.40.1, 0.40.2, 0.41.0, 0.42.0, 0.42.1, 0.42.2, 0.42.3, 0.42.4, 0.43.0, 0.43.1, 0.43.2, 0.44.0, 0.44.1, 0.45.0, 0.45.1, 0.46.0, 0.46.1, 0.47.0, 0.47.1, 0.48.0, 0.48.1, 0.49.0, 0.49.1, 0.50.1, 0.50.2, 0.51.0, 0.51.1, 0.51.2, 0.52.0, 0.52.1, 0.53.0, 0.53.1, 0.54.0, 0.55.0, 0.55.1, 0.56.0, 0.56.1, 0.56.2, 0.57.0, 0.57.1, 0.57.2, 0.57.3, 0.58.0, 0.58.1, 0.59.0, 0.59.1, 0.59.2, 0.60.0, 0.60.1, 0.61.0, 0.61.1, 0.62.0, 0.62.1, 0.63.0, 0.63.1, 0.63.2, 0.63.3, 0.64.0, 0.64.1, 0.64.2, 0.64.3, 0.64.4b0, 0.65.0, 0.65.1, 0.65.2, 0.65.3, 0.65.4, 0.65.5, 0.65.6, 0.66.0b0, 0.66.0b1, 0.66.0b2, 0.66.0b3, 0.66.0, 0.66.1b0, 0.66.1, 0.67.0b0, 0.67.0b1, 0.67.0, 0.67.1, 0.68.0b0, 0.68.0b1, 0.68.0b2, 0.68.0, 0.68.1, 0.69.0b0, 0.69.0b1, 0.69.0b2, 0.69.0b3, 0.69.0, 0.69.1, 0.70.0b0, 0.70.0b1, 0.70.0b2, 0.70.0b3, 0.70.0b4, 0.70.0b5, 0.70.0b6, 0.70.0b7, 0.70.0, 0.70.1, 0.71.0b0, 0.71.0, 0.72.0b0, 0.72.0b1, 0.72.0b2, 0.72.0b4, 0.72.0b5, 0.72.0b6, 0.72.0b7, 0.72.0b8, 0.72.0b9, 0.72.0, 0.72.1, 0.73.0b0, 0.73.0b1, 0.73.0b2, 0.73.0b3, 0.73.0b4, 0.73.0b5, 0.73.0b6, 0.73.0, 0.73.1, 0.73.2, 0.74.0b0, 0.74.0b2, 0.74.0b3, 0.74.0b4, 0.74.0, 0.74.1, 0.74.2, 0.75.0b0, 0.75.0b1, 0.75.0, 0.75.1, 0.75.2, 0.75.3, 0.76.0b0, 0.76.0b1, 0.76.0b2, 0.76.0b3, 0.76.0b4, 0.76.0b5, 0.76.0, 0.76.1, 0.76.2, 0.77.0b0, 0.77.0b1, 0.77.0b2, 0.77.0b3, 0.77.0b4, 0.77.0, 0.77.1, 0.77.2, 0.77.3, 0.78.0b0, 0.78.0b1, 0.78.0b2, 0.78.0b3, 0.78.0, 0.78.1, 0.78.2, 0.78.3, 0.79.0b0, 0.79.0b1, 0.79.0b2, 0.79.0b3, 0.79.0, 0.79.1, 0.79.2, 0.79.3, 0.80.0b0, 0.80.0b1, 0.80.0b2, 0.80.0b3, 0.80.0b4, 0.80.0b5, 0.80.0, 0.80.1, 0.80.2, 0.80.3, 0.81.0b0, 0.81.0b1, 0.81.0b2, 0.81.0, 0.81.1, 0.81.2, 0.81.3, 0.81.4, 0.81.5, 0.81.6, 0.82.0b0, 0.82.0b1, 0.82.0b2, 0.82.0b3, 0.82.0b4, 0.82.0, 0.82.1, 0.83.0b0, 0.83.0b1, 0.83.0b3, 0.83.0, 0.83.1, 0.83.2, 0.83.3, 0.84.0b0, 0.84.0b1, 0.84.0b2, 0.84.0b3, 0.84.0b4, 0.84.0, 0.84.1, 0.84.2, 0.84.3, 0.84.4, 0.84.5, 0.84.6, 0.85.0b0, 0.85.0b1, 0.85.0, 0.85.1, 0.86.0b0, 0.86.0b1, 0.86.0b2, 0.86.0b3, 0.86.0, 0.86.1, 0.86.2, 0.86.3, 0.86.4, 0.87.0b0, 0.87.0b1, 0.87.0b2, 0.87.0b3, 0.87.0b4, 0.87.0b5, 0.87.0b6, 0.87.0, 0.87.1, 0.88.0b0, 0.88.0b1, 0.88.0b2, 0.88.0b3, 0.88.0b4, 0.88.0, 0.88.1, 0.88.2, 0.89.0b0, 0.89.0b1, 0.89.0b2, 0.89.0b3, 0.89.0, 0.89.1, 0.89.2, 0.90.0b0, 0.90.0b1, 0.90.0b2, 0.90.0b3, 0.90.0b4, 0.90.0b5, 0.90.0b6, 0.90.0b7, 0.90.0, 0.90.1, 0.90.2, 0.91.0b0, 0.91.0b1, 0.91.0b2, 0.91.0b3, 0.91.0b4, 0.91.0b5, 0.91.0, 0.91.1, 0.91.2, 0.91.3, 0.91.4, 0.92.0b0, 0.92.0b1, 0.92.0b2, 0.92.0b3, 0.92.0, 0.92.1, 0.92.2, 0.93.0b0, 0.93.0b1, 0.93.0b2, 0.93.0b4, 0.93.0, 0.93.1, 0.93.2, 0.94.0b0, 0.94.0b1, 0.94.0b2, 0.94.0b3, 0.94.0b4, 0.94.0b5, 0.94.0b6, 0.94.0b7, 0.94.0b8, 0.94.0, 0.94.1, 0.94.2, 0.94.3, 0.94.4, 0.95.0b0, 0.95.0b1, 0.95.0b2, 0.95.0b3, 0.95.0b4, 0.95.0, 0.95.1, 0.95.2, 0.95.3, 0.95.4, 0.96.0b0, 0.96.0b1, 0.96.0b2, 0.96.0b3, 0.96.0b4, 0.96.0, 0.96.1, 0.96.2, 0.96.3, 0.96.4, 0.96.5, 0.97.0b0, 0.97.0b1, 0.97.0b2, 0.97.0b3, 0.97.0, 0.97.1, 0.97.2, 0.98.0b0, 0.98.0b1, 0.98.0b2, 0.98.0, 0.98.1, 0.98.2, 0.98.3, 0.98.4, 0.98.5, 0.99.0b0, 0.99.0b1, 0.99.0b2, 0.99.0b3, 0.99.0b4, 0.99.0, 0.99.1, 0.99.2, 0.99.3, 0.100.0b0, 0.100.0b1, 0.100.0b2, 0.100.0b3, 0.100.0, 0.100.1, 0.100.2, 0.100.3, 0.101.0b0, 0.101.0b1, 0.101.0b2, 0.101.0b3, 0.101.0b4, 0.101.0, 0.101.1, 0.101.2, 0.101.3, 0.102.0b0, 0.102.0b1, 0.102.0b2, 0.102.0b3, 0.102.0, 0.102.1, 0.102.2, 0.102.3, 0.103.0b0, 0.103.0b1, 0.103.0, 0.103.1, 0.103.2, 0.103.3, 0.103.4, 0.103.5, 0.103.6, 0.104.0b0, 0.104.0b1, 0.104.0b2, 0.104.0b3, 0.104.0b4, 0.104.0b5, 0.104.0, 0.104.1, 0.104.2, 0.104.3, 0.105.0b0, 0.105.0b1, 0.105.0b2, 0.105.0b3, 0.105.0b4, 0.105.0b5, 0.105.0b6, 0.105.0b7, 0.105.0, 0.105.1, 0.105.2, 0.105.3, 0.105.4, 0.105.5, 0.106.0b0, 0.106.0b1, 0.106.0b2, 0.106.0b4, 0.106.0b5, 0.106.0, 0.106.1, 0.106.2, 0.106.3, 0.106.4, 0.106.5, 0.106.6, 0.107.0b0)
ERROR: No matching distribution found for homeassistant==
Deactivating virtualenv…

how can i solve?

What version are you on?

You might need new hassbian scripts.

sudo hassbian-config upgrade hassbian-script

But with hassbian no longer being supported, there is a chance that even their latest scripts fall behind. Well, nevermind, I see you’re on 0.13.1 which is their latest…

I usually manually update with the following commands.

sudo systemctl stop [email protected] 
sudo su -s /bin/bash homeassistant
source /srv/homeassistant/bin/activate
pip3 install --upgrade homeassistant
exit
sudo systemctl start [email protected]

with this method I can update it, I wanted to use the single config upgrade to speed up the update