← Back to issue list

Improve error message for provider not installed.

View original Github issue

Metadata

Project
charmcraft
Number
#1512
Type
issue
State
open
Author
PietroPasotti
Labels
Created
2024-02-07 10:57:26+00:00
Updated
2025-08-15 15:18:12+00:00
Closed

Current evaluation

No evaluation has been recorded for this issue yet.

Issue body

### What needs to get done ATM running `pack` before having done `lxd init` gives: ``` $ charmcraft pack Provider is required but not installed. Do you wish to install provider and configure it with the defaults? [y/N]: ``` It would be more helpful if the error message stated more clearly what needs doing and what entering `y` will in fact do. How about: ``` $ charmcraft pack lxd is present but not initialized. Did you forget to run `lxd init`? Do you wish to initialize lxd with its default profile? [y/N]: ``` ### Why it needs to get done error message as it stands is not informative

Evaluation history

No evaluation history available.