Summary
The current AUR openwork package installs /usr/bin/opencode, which conflicts with the standalone opencode Arch package.
This causes installation to fail on Arch systems that already have opencode installed.
Steps to reproduce
- Install
opencode on Arch Linux
- Install
openwork from AUR, for example with:
Actual behavior
paru builds the package successfully, but the final pacman transaction fails with:
error: failed to commit transaction (conflicting files)
openwork: /usr/bin/opencode exists in filesystem (owned by opencode)
Expected behavior
Either:
openwork should not ship /usr/bin/opencode, or
- the package should clearly declare the appropriate conflict/replacement semantics, or
- the Arch/AUR packaging guidance should make it clear that
openwork replaces the standalone opencode package
Additional context
The current AUR PKGBUILD appears to repackage the upstream .deb release directly, and that bundle includes usr/bin/opencode.
On my system:
/usr/bin/opencode is owned by opencode 1.2.27-1
This looks like a packaging/integration problem rather than a build failure.