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

Attachment: OpenPGP_0x06313911057DD5A8.asc
Description: OpenPGP public key

Attachment: OpenPGP_signature.asc
Description: OpenPGP digital signature

Reply via email to