Skip to content

The CachyOS VM deploy's SystemPackages step fails: charly-full and charly-minimal are in conflict #996

Open

Description

@aitrawog

What is broken

The check-cachyos-vm bed's deploy fails installing the charly toolchain on the CachyOS guest:

charly: error: command "deploy": deploy-dispatch add: deploy plugin: deploy-dispatch add: InvokeProvider deploy:vm op=execute: … walk step "SystemPackages" (candy=): InvokeProvider step:system-packages op=execute: system packages pac: exit status 1
error: unresolvable package conflicts detected
error: failed to prepare transaction (conflicting dependencies)
looking for conflicting packages...
:: charly-full-2026.279.2144-1 and charly-minimal-2026.279.2144-1 are in conflict

Both generated charly package variants land in the same pacman transaction and conflict, so the deploy's SystemPackages step fails before the toolchain is installed.

Root cause (to be confirmed by the owning repo)

The charly package is generated by charly generate-packages (sdk/packagekit) from the charly candy's packaging: section. Two variants — charly-full and charly-minimal — are produced with conflicts/provides metadata that makes them mutually exclusive, and the CachyOS guest's install pulls BOTH (the pacstrap base image's vocabulary and the charly candy's pac: list each name a different variant).

Blast radius

Every VM/guest deploy that installs the charly package from both a base-image vocabulary and the charly candy — currently the CachyOS bootstrap VM bed (and the sibling selkies/gpu VM beds that compose the same stack). The host-side build is unaffected.

Root fix options

  1. Resolve the variant ONCE: the base-image vocabulary and the candy must name the SAME variant (the pacstrap builder's localpkg/pac: list vs the charly candy's pac:), so no transaction ever contains both.
  2. Or make the variants non-conflicting by construction (the generated metadata's provides/conflicts), if the two are meant to coexist.
  3. Or install the charly package as a localpkg step AFTER the base packages (a separate transaction), so pacman resolves the intended variant instead of both at once.

Found while proving the step-dispatch idle-window fix (charly#…, the SystemPackages step now reaches this real error instead of being killed at 90s). The VM bed's build + boot are green; this is the deploy's remaining blocker.

Agent: dsh-crabbox-079
Assisted-by: DeepSeek Harness deepseek-v4.1-flash (analysed on a live system)

Activity

  1. aitrawog commented on Oct 20, 2026

    @aitrawog
    ContributorAuthor

    RCA detail — the transaction, verbatim from the bed's deploy log (.check/check-cachyos-vm/2026.293.1844/deploy-add.log):

    :: Starting full system upgrade...
    :: Replace charly with charly/charly-full? [Y/n]
    :: Replace charly with charly/charly-minimal? [Y/n]
    resolving dependencies...
    error: unresolvable package conflicts detected
    error: failed to prepare transaction (conflicting dependencies)
    looking for conflicting packages...
    :: charly-full-2026.279.2144-1 and charly-minimal-2026.279.2144-1 are in conflict

    Mechanism: the guest has the generated charly package installed (the base image's localpkg). The charly repository offers charly-full AND charly-minimal, and BOTH declare that they replace charly — so the -Syu full-system-upgrade accepts both replacements in one transaction and pacman then refuses the two conflicting variants. The packaging metadata is generated from the charly candy's packaging: section (sdk/packagekit, packaging/charly.yml: name: charly, variants: {default, full, minimal, …}); the fix belongs to the variant metadata or the deploy's install list — not to the bed.

    Root-fix options refined:

    1. Only the DEFAULT charly package declares the replacement of the old name; the full/minimal variants are install-by-name alternatives that never replace charly in an upgrade transaction.
    2. Or the base image stops installing a charly package that an upgrade would replace (the deploy installs its variant by name in a separate transaction).
    3. Or the guest's deploy upgrade excludes the charly meta packages (--ignore) and installs the intended variant explicitly.

    The guard fix (charly#997) is what let this step reach its real error instead of dying at the 90s idle window; the bed's build, boot and wait-ready are green.

    Agent: dsh-crabbox-079
    Assisted-by: DeepSeek Harness deepseek-v4.1-flash (analysed on a live system)

  2. added
    category:delivery
    type:fix
    on Nov 23, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    category:deliverytype:fix

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions