Coder Social home page Coder Social logo

Error reading fwupd appinfo about appstream HOT 3 CLOSED

ximion avatar ximion commented on June 26, 2024
Error reading fwupd appinfo

from appstream.

Comments (3)

ximion avatar ximion commented on June 26, 2024

This likely won't break fwupd, but it's a bug regardless of that - the firmware components won't be in the cache because of this, which is really bad.
The actual cause is a too strict check on installation candidates, which we do before considering the component as valid. I am inclined to remove that check alltogether, and have software centers do that check instead.
This would also allow us to load metainfo files into the pool and have software centers resolve them to packages using PackageKit (this would be a prerequisite for fixing #3 )

from appstream.

ximion avatar ximion commented on June 26, 2024

Crap, this actually does break things severely - not the fwupd stuff, but if things are loaded in the wrong order, this will severely break the components pool itself, due to GNOME Software placing invalid metadata in /usr/share/app-info/xmls/org.gnome.Software.xml.gz now. All stuff mentioned in there will be ignored if this gets loaded prior to the valid data.
I will fix this next, the other changes are prerequisites for this.
Pretty bad timing so short before releasing... I will make this high-priority.

from appstream.

ximion avatar ximion commented on June 26, 2024

This issue should be solved now - can you please test with Git master if that is the case for you too?
These changes were way more invasive than I wanted them to be, but so far I spotted no issues and the testsuite passes.
I am really not sure if GNOME Software is doing a sane thing here with its extra metadata, I'll ask hughsie about that.

Also, I will make an AppStream release this week, or next Monday (next Monday would be a bit more likely atm, I want some more testing of the changes).

from appstream.

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.