Comments (6)
None at all. Updated in staging and master.
from cache-apt-pkgs-action.
Feature now in master. Will put this into the v1.1.0 release.
from cache-apt-pkgs-action.
To install as documented from the GitHub site:
sudo add-apt-repository ppa:apt-fast/stable
sudo apt-get update
sudo apt-get -y install apt-fast
Unattended install can be done with DEBIAN_FRONTEND=noninteractive apt-get install -y apt-fast
.
Timed the install of apt-fast
itself and it takes about 5 seconds.
time DEBIAN_FRONTEND=noninteractive sudo apt-get install -y apt-fast
Reading package lists... Done
Building dependency tree
Reading state information... Done
Suggested packages:
aptitude zsh fish
The following NEW packages will be installed:
apt-fast
0 upgraded, 1 newly installed, 0 to remove and 274 not upgraded.
Need to get 0 B/35.8 kB of archives.
After this operation, 128 kB of additional disk space will be used.
Preconfiguring packages ...
Selecting previously unselected package apt-fast.
(Reading database ... 118995 files and directories currently installed.)
Preparing to unpack .../apt-fast_1.9.12-1~ubuntu20.04.1_all.deb ...
Unpacking apt-fast (1.9.12-1~ubuntu20.04.1) ...
Setting up apt-fast (1.9.12-1~ubuntu20.04.1) ...
Processing triggers for man-db (2.9.1-1) ...
real 0m5.064s
user 0m4.240s
sys 0m0.761s
Although the quick install takes less than a second /bin/bash -c "$(curl -sL https://git.io/vokNn)"
.
from cache-apt-pkgs-action.
According to (https://github.com/actions/virtual-environments), apt-fast
is available by default in all distributions.
I believe that the speed, especially when using cache
is considerably increased by using:
apt-fast -y install --no-install-recommends
By default apt
installs the recommendations, but they are not necessary (in most cases) and if they are the user should make them explicit (in my humble opinion).
from cache-apt-pkgs-action.
Perfect, thanks @pablgonz. I should be able to implement this by end of next week.
from cache-apt-pkgs-action.
Jeje...Any reason not to upgrade to actions/cache@v3
?
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
- apt-cache does not find packages with nektos/act HOT 6
- Exec Format Error on ARM Runner with apt_query HOT 4
- Debug input param doesn't disable/enable properly. HOT 8
- Multiline string for packages breaks everything 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.