← Back to issue list

Cannot stage packages with charmcraft

View original Github issue

Metadata

Project
charmcraft
Number
#1990
Type
issue
State
open
Author
yanksyoon
Labels
—
Created
Updated
Closed
—

Current evaluation

stage-packages in charmcraft.yaml fails with apt method driver error; maintainer says blocked by #1839 and #1844, internal ticket CRAFT-4393 created.

Suggested action: keep open

Reason: Maintainer @lengau explicitly acknowledged the issue and stated it is blocked by #1839 and #1844, which are open feature requests requiring broader stage-packages work. The issue has a clear reproducer and an internal Jira ticket (CRAFT-4393), so it remains a valid, triaged bug/limitation.

Evaluated by: mr-cal-bot

Impact: 45 Quick Win: 6 Complexity: 75 Confidence: 70 Actionability: 55

Issue body

### Bug Description A simple charmcraft yaml w/ stage packages breaks with error: `Unknown error: E:The method driver /snap/charmcraft/4914/usr/lib/apt/methods/http could not be found.`. ``` name: test type: charm title: test charm summary: test summary description: test description base: ubuntu@24.04 parts: charm: plugin: nil stage-packages: - wget platforms: amd64: ``` ### To Reproduce use the charmcraft.yaml above and run `charmcraft pack` ### Environment $ charmcraft --version charmcraft 3.2.1 $ lsb_release -a No LSB modules are available. Distributor ID: Ubuntu Description: Ubuntu 22.04.5 LTS Release: 22.04 Codename: jammy ### charmcraft.yaml ```yaml name: test type: charm title: test charm summary: test summary description: test description base: ubuntu@24.04 parts: charm: plugin: nil stage-packages: - wget platforms: amd64: ``` ### Relevant log output ```shell Unknown error: E:The method driver /snap/charmcraft/4914/usr/lib/apt/methods/http could not be found. Failed to execute charmcraft in instance. ``` ```

Evaluation history

Date Model Scores Action Summary
~deepseek/deepseek-pro-latest
Impact: 45
Quick Win: 6
Complexity: 75
Confidence: 70
Actionability: 55
keep open stage-packages in charmcraft.yaml fails with apt method driver error; maintainer says blocked by #1839 and #1844, internal ticket CRAFT-4393 created.
qwen/qwen3.6-35b-a3b
Impact: 55
Quick Win: 14
Complexity: 65
Confidence: 80
Actionability: 75
keep open stage-packages fails with apt http driver error when using ubuntu@24.04 base. Maintainer confirmed this is blocked by #1839 and #1844; workarounds suggested.
qwen/qwen3.8-27b
Impact: 55
Quick Win: 14
Staleness: 55
Complexity: 75
Confidence: 80
Support Request: 20
keep open stage-packages in charmcraft.yaml fails with apt method driver error on ubuntu@24.04 base. Maintainer triaged as blocked by #1839 and #1844; reporter has workaround via apt operator library. Internal Jira CRAFT-4393 created. No activity since Jan 2026.
qwen/qwen3.6-35b-a3b
Staleness: 50
Complexity: 65
Confidence: 85
Support Request: 15
keep open Reporter hits an apt driver error using stage-packages with ubuntu@24.04. Maintainer confirmed it is blocked by architectural work, provided workarounds, and the issue remains open as a feature tracking ticket.
qwen3.6-35b-a3b-mtp-q6
Staleness: 55
Complexity: 60
Confidence: 85
Support Request: 30
keep open Charmcraft fails with an APT driver error when using stage-packages. A maintainer acknowledged the issue, linked it to related tracking tickets, and suggested workarounds. The original author adopted a workaround, but another user recently reported similar issues with stage-snaps.
qwen3.6-35b-a3b-mtp-q6
Staleness: 60
Complexity: 75
Confidence: 90
Support Request: 15
keep open Charmcraft fails with apt driver error when using stage-packages on Ubuntu 24.04 base. Maintainer acknowledged the limitation, linked to tracking issues, and suggested alternatives. Author adopted a workaround. Issue remains open as a known blocker.

Update history

No update history recorded yet.

Related work

  • Blocked By: charmcraft#1839 (confidence 90%)

    Maintainer comment explicitly says this issue is blocked by #1839.

  • Blocked By: charmcraft#1844 (confidence 90%)

    Maintainer comment explicitly says this issue is blocked by #1844.

  • Related To: charmcraft#1875 (confidence 70%)

    PR #1875 implemented ignored packages for stage-packages, partially addressing #1844.

Related issues

No related issues found above the similarity threshold.