Giter VIP home page Giter VIP logo

Comments (4)

farshidtz avatar farshidtz commented on September 24, 2024

Apparently, the latest pc gadget needs snapd 2.59.4, currently on latest/candidate.

from edgex-ubuntu-core-testing.

farshidtz avatar farshidtz commented on September 24, 2024

We have the following potential solutions:

  1. checkout the last compatible commit of pc-gadget repo → quick and temporary fix
  2. switch the snapd channel in model assertion → a fix for now but not a long-term solution
  3. download the gadget from store, unsquash, make our customizations, squash and sideload → easy and ugly
  4. stage the latest/stable pc-gadget into a new one and add our customizations → recommended

I suggest we go with 1 and add an issue to implement 4.

from edgex-ubuntu-core-testing.

tonyespy avatar tonyespy commented on September 24, 2024

I'm having a hard time understanding this issue, as the description lacks context/detail...

That said, as I mentioned in our sync yesterday, the staging approach you describe is not recommended.

from edgex-ubuntu-core-testing.

farshidtz avatar farshidtz commented on September 24, 2024

@tonyespy At the time of creation this issue, the core22 pc-gadget (branch 22) source had an assume field requiring snapd 2.59.3, while the latest/stable snapd was 2.59.2 or smaller. The requirement is added in canonical/pc-gadget@1ba317c

The error message preventing the installation was [ 10.038923] snapd[892]: stateengine.go:149: state ensure error: devicemgr: cannot seed: snap "pc" assumes unsupported features: snapd2.59.3 (try to refresh snapd).

In #1 (comment), I explained some of the workarounds and the recommendation from a UC engineer.

Note that right now the latest/stable snapd is 2.59.4 so using the latest dev core22 pc-gadget code should work fine.

from edgex-ubuntu-core-testing.

Related Issues (3)

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.