With the latest update you may need to manually remove some pycache files before upgrading. This can be done with the following 2 lines:
local site_packages="$(python -c 'import site; print(site.getsitepackages()[0])')"
for i in $(find "${site_packages}/system76driver/__pycache__/" -type f); do pacman -Qo "$i" 2>/dev/null || sudo rm -fv "$i"; done
Thanks!
Pinned Comments
m3thodic commented on 2021-08-05 00:18 (UTC)
With the latest update you may need to manually remove some pycache files before upgrading. This can be done with the following 2 lines:
Thanks!