Describe the question
Trying to install from snap store, I get this error:
error: cannot perform the following tasks:
- Run install hook of "fwupd" snap if present (run hook "install": install: cannot stat '/snap/fwupd/2615/lib/modules-load.d/fwupd-msr.conf': No such file or directory)
I had fwupd installed. Somehow it got removed from my system after a system update and now it seems that I cannot get it installed again.
me too
neighter working for
latest/stable: 1.5.2 2020-11-23 (2615) 31MB classic
nor
latest/edge: 1.5.2-3-gcf575bd7 2020-11-25 (2617) 31MB classic
Started receiving a bunch of alerts that fwupd-refresh.service was failing in Linux Mint 20. Tried sudo snap install fwupd --classic to see if it would fix the issue and received this error.
This is a regression from https://github.com/fwupd/fwupd/commit/07d5aef2478a0b5d8573a071a20b13f5ee5b9527
Hey Just bumped into that and saw it was recently closed so tried:
sudo snap info fwupd
got:
...
channels:
latest/stable: 1.5.2-4-g6f43c50e 2020-11-29 (2618) 31MB classic
latest/candidate: 1.3.8 2020-02-13 (1625) 24MB classic
latest/beta: 1.3.7 2020-01-31 (1563) 24MB classic
latest/edge: 1.5.2-37-g6fca4697 2020-12-01 (2631) 31MB classic
then:
sudo snap install fwupd --classic --channel latest/edge
but still got:
- Run install hook of "fwupd" snap if present (run hook "install": install: cannot stat '/snap/fwupd/2631/lib/modules-load.d/fwupd-msr.conf': No such file or directory)
➜ sudo fwupdmgr --version
client version: 1.2.10
compile-time dependency versions
gusb: 0.2.11
efivar: 34
daemon version: 1.2.10
ubuntu 18.04
Same issue for me on Ubuntu 16.04. The issue still persists as @barkanido documented.
Issue also happens in OpenSUSE Tumbleweed.
successfully updated fwupd
fwupd (edge) 1.5.2-42-g014e5526 from Richard Hughes installed
now how do I update the client?
➜ sudo fwupdmgr update
Unsupported daemon version 1.5.2-42-g014e5526, client version is 1.2.10
As mentioned in the wiki: https://github.com/fwupd/fwupd/wiki/fwupd-snap
You should remove the packaged version before installing snap. If you need to keep side by side, you'll need to use the prefixed commands to the snap namespace. IE fwupd.fwupdmgr