Giter Site home page Giter Site logo

Comments (6)

BadIdeaException avatar BadIdeaException commented on August 12, 2024

After further investigation:

I have manually logged into the container that act had spun up, and indeed, running apt-cache show python3-semver gives me same error. I then ran sudo apt update and, lo and behold, the error disappears.

Indeed, inserting run: sudo apt update as an extra step before cache-apt-pkgs-action makes the workflow work locally with act. I don't like having to insert extra steps for the sole purpose of making it play nice locally though.

At this point I felt like it might not be a bug with this action so much as a problem with act - they don't seem to have apt update'd in the default image? But that doesn't make sense either, because I can apt install python3-semver from the workflow. Without a previous apt update, this shouldn't be possible either.

I'm a little confused now...

from cache-apt-pkgs-action.

awalsh128 avatar awalsh128 commented on August 12, 2024

I would look at the package on install and then on update on the logs to see what the difference is. That would be a good start to the investigation. Post it here.

from cache-apt-pkgs-action.

BadIdeaException avatar BadIdeaException commented on August 12, 2024

Hi and thanks for your response. Can you elaborate on what you mean by "on install" and "on update"?

from cache-apt-pkgs-action.

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.