Fwupd: Installation Error Using Snap Store

Created on 26 Nov 2020  Â·  8Comments  Â·  Source: fwupd/fwupd

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.

bug

All 8 comments

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.

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

Was this page helpful?
0 / 5 - 0 ratings

Related issues

luyatshimbalanga picture luyatshimbalanga  Â·  9Comments

FFY00 picture FFY00  Â·  11Comments

lovesegfault picture lovesegfault  Â·  4Comments

rossburton picture rossburton  Â·  6Comments

scoronado12 picture scoronado12  Â·  11Comments