← 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
2024-11-14 06:17:23+00:00
Updated
2026-01-09 12:11:17+00:00
Closed

Current evaluation

No evaluation has been recorded for this issue yet.

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

No evaluation history available.