News Draft: waydroid >= 1.5.4-3 update may require manual intervention
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
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
On 11/5/25 2:39 AM, Jakub Klinkovský wrote:
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... This is my revised draft:
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 update by running the following command: ```sh pacman -Syu --overwrite /usr/lib/waydroid/tools/\*__pycache__/\* ``` -- Best Regards, George Hu / Integral
On 11/5/25 6:14 AM, George Hu wrote:
On 11/5/25 2:39 AM, Jakub Klinkovský wrote:
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- intervention/ This is my revised draft:
Looks good to me overall, just two slight wording suggestions (see below)
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:
As a result, the upgrade may s/overwrite/conflict with/ the unowned files created in previous versions.
``` 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 update by running the following command:
You can safely s/update/overwrite these files during upgrade/ by running the following command:
```sh pacman -Syu --overwrite /usr/lib/waydroid/tools/\*__pycache__/\* ```
-- Regards, Robin Candau / Antiz
On 11/5/25 3:53 PM, Robin Candau wrote:
On 11/5/25 6:14 AM, George Hu wrote:
On 11/5/25 2:39 AM, Jakub Klinkovský wrote:
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- intervention/ This is my revised draft:
Looks good to me overall, just two slight wording suggestions (see below)
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:
As a result, the upgrade may s/overwrite/conflict with/ the unowned files created in previous versions.
``` 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 update by running the following command:
You can safely s/update/overwrite these files during upgrade/ by running the following command:
```sh pacman -Syu --overwrite /usr/lib/waydroid/tools/\*__pycache__/\* ```
Ack :)
On 04/11/2025 18:27, George Hu wrote:
[..]
```sh find /usr/lib/waydroid/tools/ -type d -name __pycache__ -exec sudo rm - rf '{}' + ```
I'd avoid the `-exec sudo` command. Provide the find command to find them and stop there. Cheers, -- Leonidas Spyropoulos Developer & DevOps PGP: 59E43E106B247368 244740D17C7FD0EC
participants (4)
-
George Hu
-
Jakub Klinkovský
-
Leonidas Spyropoulos
-
Robin Candau