On 05.11.25 at 2:27 (UTC+0800), George Hu wrote:
The `waydroid` package prior to version `1.5.4-2` (including `aur/waydroid`) creates byte-compiled Python 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 overwrite 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 remove the conflicting files by running the following command before upgrading:
```sh find /usr/lib/waydroid/tools/ -type d -name __pycache__ -exec sudo rm -rf '{}' + ```
-- Best Regards, George Hu / Integral
Hi, pacman has the --overwrite option for this. You can see an older news regarding this problem and adjust the wording accordingly: https://archlinux.org/news/libxml22912-6-update-may-require-manual-intervent... Best regards, Jakub