Hi,
I’ve just tried to update my PI 3 with latest 0.48 version of HA. The previous installed version was 0.47.1
My initial configuration was flashed to a SD card from installation package available at HA website.
I ran the proposed updated method and was logged as PI
I previously did a system update (sudo apt-get update / apt-get -y upgrade) without any issue.
Please find, at the bottom of this post, a copy/paste of the exception when installing the update:
This is apparently a permission denied error
Ca someone help me figured out what’s happening and out to get rid of it?
Many thanks in advance,
Exception:
Traceback (most recent call last):
File “/usr/lib/python3.4/shutil.py”, line 522, in move
os.rename(src, real_dst)
PermissionError: [Errno 13] Permission denied: ‘/srv/homeassistant/lib/python3.4/site-packages/multidict-3.0.0.egg-info’ -> ‘/tmp/pip-zkq6fgia-uninstall/srv/homeassistant/lib/python3.4/site-packages/multidict-3.0.0.egg-info’
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File “/srv/homeassistant/lib/python3.4/site-packages/pip/basecommand.py”, line 215, in main
status = self.run(options, args)
File “/srv/homeassistant/lib/python3.4/site-packages/pip/commands/install.py”, line 342, in run
prefix=options.prefix_path,
File “/srv/homeassistant/lib/python3.4/site-packages/pip/req/req_set.py”, line 778, in install
requirement.uninstall(auto_confirm=True)
File “/srv/homeassistant/lib/python3.4/site-packages/pip/req/req_install.py”, line 754, in uninstall
paths_to_remove.remove(auto_confirm)
File “/srv/homeassistant/lib/python3.4/site-packages/pip/req/req_uninstall.py”, line 115, in remove
renames(path, new_path)
File “/srv/homeassistant/lib/python3.4/site-packages/pip/utils/init.py”, line 267, in renames
shutil.move(old, new)
File “/usr/lib/python3.4/shutil.py”, line 532, in move
rmtree(src)
File “/usr/lib/python3.4/shutil.py”, line 463, in rmtree
_rmtree_safe_fd(fd, path, onerror)
File “/usr/lib/python3.4/shutil.py”, line 421, in _rmtree_safe_fd
onerror(os.unlink, fullname, sys.exc_info())
File “/usr/lib/python3.4/shutil.py”, line 419, in _rmtree_safe_fd
os.unlink(name, dir_fd=topfd)
PermissionError: [Errno 13] Permission denied: ‘PKG-INFO’