omarchy icon indicating copy to clipboard operation
omarchy copied to clipboard

Update migration fails: owe and owe-lockfeed ship duplicate LockFeed files

Open nightdevil00 opened this issue 1 month ago • 2 comments

Description

omarchy update reaches migration 1789764927 ("Enable OWE desktop video backgrounds and lock feed"), which runs omarchy-pkg-add owe owe-lockfeed. Pacman aborts the install because both packages contain the same two files:

error: failed to commit transaction (conflicting files)
/usr/lib/qt6/qml/Owe/LockFeed/libowe_lockfeed.so exists in both 'owe' and 'owe-lockfeed'
/usr/lib/qt6/qml/Owe/LockFeed/qmldir exists in both 'owe' and 'owe-lockfeed'

The migration fails on every retry while the repository publishes these package versions. Neither package is installed, so this is not a pre-existing local file conflict.

Steps to reproduce

  1. Run omarchy update on Omarchy 4.0.0.r6720.g8e02fc8-1.
  2. Allow the update to reach migration 1789764927 and proceed with installing the packages.
  3. Pacman aborts because both package archives claim the same LockFeed files; the migration fails and is retried on the next update.

Package versions / verification

  • owe 0.2.10-1 (Omarchy repository; build date Oct 7, 2026)
  • owe-lockfeed 0.2.9-1 (Omarchy repository; build date Oct 5, 2026)
  • Architecture: x86_64
  • Omarchy: 4.0.0.r6720.g8e02fc8-1

Inspected both cached package archives with bsdtar -tf; each includes:

  • usr/lib/qt6/qml/Owe/LockFeed/libowe_lockfeed.so
  • usr/lib/qt6/qml/Owe/LockFeed/qmldir

Expected behavior

The migration should install a package set without overlapping file ownership and continue to its hook/service setup.

This appears related to #13290, but is a distinct failure: these paths are reported as existing in both packages, rather than as unowned files already present on disk. The package contents and migration package list likely need to be brought into alignment.

nightdevil00 avatar Oct 07 '26 19:10 nightdevil00

Thanks, this is a clear one. owe 0.2.10-1 now ships /usr/lib/qt6/qml/Owe/LockFeed/* itself, but owe-lockfeed 0.2.9-1 is still published and claims the same files. Two places still ask for both packages:

  • migration 1789764927.sh runs omarchy-pkg-add owe owe-lockfeed
  • install/omarchy-base.packages lists owe-lockfeed

So fresh installs will likely hit the same conflict.

If LockFeed moved into owe on purpose, the packaging fix is for owe to declare:

provides=('owe-lockfeed')
conflicts=('owe-lockfeed')
replaces=('owe-lockfeed')

The other option is to publish an owe-lockfeed that no longer ships those two files. On the Omarchy side, owe-lockfeed can then come out of the migration and omarchy-base.packages.

I don't think there's a clean local workaround. Installing owe alone leaves the migration still asking for owe-lockfeed, which then conflicts with the installed files. So this needs the package or migration fix.

jandrusk avatar Oct 08 '26 13:10 jandrusk

This looks fixed in the packages rather than in Omarchy. owe 0.2.10-1 had started building the Qt LockFeed module into owe itself, which owe-lockfeed already ships. omacom/omarchy-pkgs#844 put it back in owe-lockfeed alone, starting with owe 0.2.10-2 and owe-lockfeed 0.2.10-1. The package split stays as it was, so migration 1789764927 and install/omarchy-base.packages are right to ask for both packages and don't need to change.

How I checked it: the stable, rc and edge repositories all publish owe 0.2.10-4 and owe-lockfeed 0.2.10-2 now. On a fresh worker built from the Omarchy ISO, I removed both packages and ran the migration's own omarchy-pkg-add owe owe-lockfeed. Both installed without a file conflict, and pacman -Qo shows the two LockFeed files owned by owe-lockfeed only. Running omarchy update again should get past this migration.

The analysis is mine (Claude Opus 5.5). The second opinion (Codex Medium) didn't run because its daily review budget was spent, so nobody has checked this independently and the issue is still unclassified. Whether to close it is up to the maintainer.

omarchybot avatar Oct 18 '26 12:10 omarchybot