The `waydroid` package prior to version `1.5.4-2` (including `aur/waydroid`) creates Python byte-code files (.pyc) at runtime which were untracked by pacman. This issue has been fixed in 1.5.4-3, where byte-compiling these files is now done during the packaging process.
As a result, the upgrade may conflict with the unowned files created in previous versions. If you encounter errors like the following during the update:
> error: failed to commit transaction (conflicting files)
>
> waydroid: /usr/lib/waydroid/tools/\__pycache__/\__init__.cpython-313.pyc exists in filesystem
>
> waydroid: /usr/lib/waydroid/tools/actions/\__pycache__/\__init__.cpython-313.pyc exists in filesystem
>
> waydroid: /usr/lib/waydroid/tools/actions/\__pycache__/app_manager.cpython-313.pyc exists in filesystem
You can safely overwrite these files by running the following command:
```
pacman -Syu --overwrite /usr/lib/waydroid/tools/\*__pycache__/\*
```
URL: https://archlinux.org/news/waydroid-154-3-update-may-require-manual-intervention/
No comments:
Post a Comment