I followed the instructions on https://www.home-assistant.io/docs/installation/hassbian/common-tasks/#update-home-assistant
Unfortunately upgrade fails with following output:
(homeassistant) homeassistant@hassbian:/home/pi $ pip3 install --upgrade homeassistant
Collecting homeassistant
Using cached homeassistant-0.66.1-py2.py3-none-any.whl
Requirement already up-to-date: pip>=8.0.3 in /srv/homeassistant/lib/python3.5/site-packages (from homeassistant)
Requirement already up-to-date: voluptuous==0.11.1 in /srv/homeassistant/lib/python3.5/site-packages (from homeassistant)
Requirement already up-to-date: pyyaml<4,>=3.11 in /srv/homeassistant/lib/python3.5/site-packages (from homeassistant)
Requirement already up-to-date: astral==1.6 in /srv/homeassistant/lib/python3.5/site-packages (from homeassistant)
Requirement already up-to-date: jinja2>=2.10 in /srv/homeassistant/lib/python3.5/site-packages (from homeassistant)
Requirement already up-to-date: aiohttp==3.0.9 in /srv/homeassistant/lib/python3.5/site-packages (from homeassistant)
Requirement already up-to-date: pytz>=2017.02 in /srv/homeassistant/lib/python3.5/site-packages (from homeassistant)
Requirement already up-to-date: requests==2.18.4 in /srv/homeassistant/lib/python3.5/site-packages (from homeassistant)
Requirement already up-to-date: certifi>=2017.4.17 in /srv/homeassistant/lib/python3.5/site-packages (from homeassistant)
Requirement already up-to-date: typing<4,>=3 in /srv/homeassistant/lib/python3.5/site-packages (from homeassistant)
Requirement already up-to-date: attrs==17.4.0 in /srv/homeassistant/lib/python3.5/site-packages (from homeassistant)
Requirement already up-to-date: async-timeout==2.0.1 in /srv/homeassistant/lib/python3.5/site-packages (from homeassistant)
Requirement already up-to-date: MarkupSafe>=0.23 in /srv/homeassistant/lib/python3.5/site-packages (from jinja2>=2.10->homeassistant)
Requirement already up-to-date: chardet<4.0,>=2.0 in /srv/homeassistant/lib/python3.5/site-packages (from aiohttp==3.0.9->homeassistant)
Requirement already up-to-date: idna-ssl>=1.0 in /srv/homeassistant/lib/python3.5/site-packages (from aiohttp==3.0.9->homeassistant)
Requirement already up-to-date: yarl<2.0,>=1.0 in /srv/homeassistant/lib/python3.5/site-packages (from aiohttp==3.0.9->homeassistant)
Requirement already up-to-date: multidict<5.0,>=4.0 in /srv/homeassistant/lib/python3.5/site-packages (from aiohttp==3.0.9->homeassistant)
Requirement already up-to-date: idna<2.7,>=2.5 in /srv/homeassistant/lib/python3.5/site-packages (from requests==2.18.4->homeassistant)
Requirement already up-to-date: urllib3<1.23,>=1.21.1 in /srv/homeassistant/lib/python3.5/site-packages (from requests==2.18.4->homeassistant)
Installing collected packages: homeassistant
Found existing installation: homeassistant 0.65.4
Exception:
Traceback (most recent call last):
File "/srv/homeassistant/lib/python3.5/site-packages/pip/basecommand.py", line 215, in main
status = self.run(options, args)
File "/srv/homeassistant/lib/python3.5/site-packages/pip/commands/install.py", line 342, in run
prefix=options.prefix_path,
File "/srv/homeassistant/lib/python3.5/site-packages/pip/req/req_set.py", line 778, in install
requirement.uninstall(auto_confirm=True)
File "/srv/homeassistant/lib/python3.5/site-packages/pip/req/req_install.py", line 694, in uninstall
for path in pip.wheel.uninstallation_paths(dist):
File "/srv/homeassistant/lib/python3.5/site-packages/pip/wheel.py", line 534, in unique
for item in fn(*args, **kw):
File "/srv/homeassistant/lib/python3.5/site-packages/pip/wheel.py", line 553, in uninstallation_paths
r = csv.reader(FakeFile(dist.get_metadata_lines('RECORD')))
File "/srv/homeassistant/lib/python3.5/site-packages/pip/_vendor/pkg_resources/__init__.py", line 1472, in get_metadata_lines
return yield_lines(self.get_metadata(name))
File "/srv/homeassistant/lib/python3.5/site-packages/pip/_vendor/pkg_resources/__init__.py", line 1469, in get_metadata
return value.decode('utf-8') if six.PY3 else value
UnicodeDecodeError: 'utf-8' codec can't decode byte 0xf4 in position 1325: invalid continuation byte
I also tried
sudo apt-get update
sudo apt-get -y upgrade
sudo reboot
before. Nothing helped. Any idea whats going wrong? The older version 0.65.4 still starts fine.