Code Monkey home page Code Monkey logo

Comments (7)

mmstick avatar mmstick commented on August 30, 2024

We're using fwupdmgr refresh at the moment, because otherwise I kept getting an error about the signature being invalid when using the DBus bindings. Any idea why fwupd would give this error?

Failed to update metadata for lvfs: '48A6D80E4538BAC2' is not a valid signature

Seems to be related to this fwupd issue, although it works with fwupdmgr refresh.

In the meantime, I can record how often we're calling fwupdmgr refresh.

from firmware-manager.

superm1 avatar superm1 commented on August 30, 2024

Have you tried comparing the files downloaded locally to see if you're encountering the same issue exactly? That issue you linked does show a pretty good detail of what's happening.

If it is the same issue just trying again a few minutes later will probably fix it.

The correct fix probably has to be done on the CDN if so.

from firmware-manager.

mmstick avatar mmstick commented on August 30, 2024

It must have been a CDN issue. It's working today, though I'm wondering why fwupdmgr refresh would work when our client would get the invalid signature error.

from firmware-manager.

superm1 avatar superm1 commented on August 30, 2024

Based on my understanding of the CDN issue my guess would be strictly bad timing on the file as it was cached. Think of this scenario.

  1. Metadata and signature are in sync on CDN
  2. You download signature file
  3. CDN changes metadata file.
  4. You download metadata file. Your client caches it.
  5. You try to load it and it fails.
  6. You try again, but your metadata and signature are marked new so client doesn't do it again?

If that's the hypothetical cause, then the solution to me is to invalidate the cached file from your client if the daemon fails to load it.

from firmware-manager.

mmstick avatar mmstick commented on August 30, 2024

That makes sense, and that's probably it.

from firmware-manager.

paloha avatar paloha commented on August 30, 2024

@superm1 can you please write how do you purge the CDN cache from your computer if this happens? There are two issues mentioning this problem, both suggest purging cache, but none says how to do it. Thanks

from firmware-manager.

superm1 avatar superm1 commented on August 30, 2024

@paloha remove the cached files (such as firmware.xml.gz and firmware.xml.gz.asc and firmware.jcat) from your client's cache location as well as from the daemon cache location. I don't know where firmware-manager keeps them (guesses include ~/.cache/firmware-manager or ~/.firmware-manager).
The daemon should have them in /var/cache IIRC.

from firmware-manager.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.