Skip to content

fix(debian): Replaces cuems-engine << 0.1.0rc6-2~ for cffi-gen-src - #14

Merged
ibiltari merged 1 commit into
debian/bookwormfrom
fix/debian-replaces-engine-cffi-gen-src
Oct 6, 2026
Merged

ibiltari merged 1 commit into
debian/bookwormfrom
fix/debian-replaces-engine-cffi-gen-src

Conversation

@ibiltari

@ibiltari ibiltari commented Oct 6, 2026

Copy link
Copy Markdown
Member

What. Engine debs up to 0.1.0rc6-1 also ship /usr/lib/cuems/bin/cffi-gen-src, cffi's console script. Upgrading cuems-utils on a box running any of them failed with trying to overwrite unless forced. Every test2 install of the rc15 test debs needed --force-overwrite.

Change. debian/control adds Replaces: cuems-engine (<< 0.1.0rc6-2~), so dpkg hands the file over to cuems-utils in either install order. The bound covers every engine deb shipped so far, the rc5 line included. cuems-engine 0.1.0rc6-2 stops shipping the file (stagesoft/cuems-engine, branch fix/debian-cffi-gen-src).

The changelog gets an unreleased 0.1.0rc15 entry for the rc15 release to extend. An SPDX header is added to debian/control.

Checked on test2 node01, with throwaway debs built on casas (this fix plus tag v0.1.0rc15) and no --force-overwrite:

  • today's rc15 utils deb over the old engine still fails (control);
  • fixed utils, then fixed engine: both install, and the file is owned by cuems-utils;
  • fixed engine, then fixed utils: both install; the engine upgrade removes the file and utils brings it back.

node01 was restored to its snapshot after each order.

Details: cuems-RELATIONS Plans/2026-10-01-engine-late-go-media-probe.md §8.9 (869fat84r). Pre-merge tag: pre-cffi-gen-src-merge.

Engine debs up to 0.1.0rc6-1 also ship /usr/lib/cuems/bin/cffi-gen-src
(cffi's console script), so upgrading cuems-utils over any of them failed
with "trying to overwrite" unless forced (seen on every test2 install of
the rc15 test debs). Replaces lets dpkg hand the file to cuems-utils in
either install order; cuems-engine 0.1.0rc6-2 stops shipping it.
@ibiltari
ibiltari merged commit cdd7b6c into debian/bookworm Oct 6, 2026
2 checks passed
@codecov

codecov Bot commented Oct 6, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.

📢 Thoughts on this report? Let us know!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant