Comments (6)
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.
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.
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)
- Verifying packages is slow HOT 3
- Improperly caching libnewlib-arm-none-eabi HOT 3
- `apt-cache show` fails on package that does exist (`libtk8.6`) HOT 3
- Fails to install on self-hosted runners HOT 2
- tar: Cowardly refusing to create an empty archive HOT 7
- Cache is installed on first run, not available when restored HOT 3
- Report bug issue using open source rockery HOT 1
- "Packages argument cannot be empty." even if `PACKAGES` is set. HOT 2
- Thoughts on caching `apt update`? HOT 3
- Please tag a release HOT 11
- What happened to the v1 tag? HOT 3
- Exec Format Error on ARM Runner with apt_query HOT 4
- arm64 support. HOT 6
- Migrate Bash logic to Golang binary. HOT 1
- Upload logs artifact name contains invalid characters. HOT 3
- Improve input description formatting.
- Cache contains all packages if used multiple times HOT 2
- Failing on v1.2.4 HOT 18
- tar Cannot stat: No such file or directory HOT 28
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from cache-apt-pkgs-action.