snapcraft cleanbuild multipass fails on modprobe msr
Metadata
Current evaluation
⚠️ This summary may be outdated — the issue content or evaluation prompts have changed since this evaluation was made.
Closed without resolution due to inactivity. The multipass cleanbuild failure caused by a missing msr kernel module was abandoned. No fix was provided.
Suggested action: —
No scores available.
Issue body
On my freshly upgraded ubuntu 19.04 system, trying to cleanbuild any snapcraft.yaml that includes
'base: core18'
appears to fail with
modprobe: FATAL: Module msr not found in directory /lib/modules/5.0.0-13-generic
Here's a log:
$ snapcraft cleanbuild
Creating snapcraft-merely-kind-ox
Starting snapcraft-merely-kind-ox
Waiting for a network connection...
Network connection established
Get:1 http://security.ubuntu.com/ubuntu xenial-security InRelease [109 kB]
...
core 16-2.38.1 from Canonical✓ installed
snapcraft 3.4.1 from Canonical✓ installed
./
./snapcraft.yaml
Using 'snapcraft.yaml': Project assets will be searched for from the 'snap' directory.
Support for 'multipass' needs to be set up. Would you like to do that it now? [y/N]: y
snapd is not logged in, snap install commands will use sudo
multipass (beta) 0.6.1 from Canonical✓ installed
Waiting for multipass...
Launching a VM.
launch failed: modprobe: ERROR: ../libkmod/libkmod.c:586 kmod_search_moddep() could not open moddep file '/lib/modules/5.0.0-13-generic/modules.dep.bin'
modprobe: FATAL: Module msr not found in directory /lib/modules/5.0.0-13-generic
An error occurred with the instance when trying to launch with 'multipass': returned exit code 2.
Ensure that 'multipass' is setup correctly and try again.
Error: not found
Stopping local:snapcraft-merely-kind-ox
An error occurred when trying to copy files using 'lxd': returned exit code 1.
The snapcraft.yaml in this case is exactly
https://github.com/raulojeda22/Bash-Shell-RPG/blob/master/snap/snapcraft.yaml
plus 'base: core18':
name: bash-shell-rpg
version: '1.1'
summary: A 2D open world action RPG to play on the command line. # 79 char long summary
description: |
This is a pretty cool RPG game with weapons, enemies and an objective,
find your lost crown and your 2 childs in the middle of a forest
with a bunch of creatures and interesting objects.
grade: stable
confinement: strict
architectures: [ all ]
base: core18
apps:
bash-shell-rpg:
command: bash $SNAP/RPG.sh
parts:
bash-shell-rpg:
plugin: dump
source: https://github.com/raulojeda22/Bash-Shell-RPG.git
install: |
chmod +x RPG.sh
lxc is working fine, I'm able to run both 16.04 and 18.04 guests. In those guests,
I can trigger the same msr problem manually:
root@demo-ubu1804:~# modprobe msr
modprobe: ERROR: ../libkmod/libkmod.c:586 kmod_search_moddep() could not open moddep file '/lib/modules/5.0.0-13-generic/modules.dep.bin'
modprobe: FATAL: Module msr not found in directory /lib/modules/5.0.0-13-generic
So... why's it trying to do modprobe?
Evaluation history
| Date | Model | Scores | Action | Summary |
|---|---|---|---|---|
| qwen/qwen3.6-35b-a3b | — | — | Closed without resolution due to inactivity. The multipass cleanbuild failure caused by a missing msr kernel module was abandoned. No fix was provided. | |
| qwen/qwen3.6-35b-a3b | — | — | Closed without resolution due to inactivity. The report details a snapcraft cleanbuild failure with multipass on Ubuntu 19.04 triggered by a missing msr kernel module. No comments or fixes were provided. | |
| qwen3.6-35b-a3b-mtp-q6 | — | — | Closed without resolution. The report details a snapcraft cleanbuild failure when launching a multipass VM on Ubuntu 19.04 due to a missing msr kernel module. No comments or fix provided. |
Update history
No update history recorded yet.
Related issues
| Issue | Project | State | Summary | Similarity |
|---|---|---|---|---|
| #1811208 snapcraft failed to build with cleanbuild on 18.04 | snapcraft (launchpad) | closed | Closed without resolution. The report details a multipass cleanbuild failure on Ubuntu 18.04 due to a missing msr module error. No fix was implemented, and the discussion was redirected to the Snapcraft forum. | |
| #1813979 snapcraft cleanbuild wants to install multipass but it's already installed | snapcraft (launchpad) | closed | Closed without resolution. Likely abandoned or superseded by newer snapcraft and multipass versions that resolved the detection and launch failures. |