mirror of
https://github.com/actions/runner-images-sangeeth.git
synced 2025-12-20 06:29:50 +00:00
Cache Update (#2066)
* Cache Update Some base images of the ubuntu on AWS contains an outdated cache. So, when tries to installs the package we receive an error `unable to locate package`. To install the package, added the line `apt-get update` to update the cache. * Rebase and commit
This commit is contained in:
@@ -20,10 +20,6 @@ echo "APT::Get::Assume-Yes \"true\";" > /etc/apt/apt.conf.d/90assumeyes
|
||||
# Uninstall unattended-upgrades
|
||||
apt-get remove unattended-upgrades
|
||||
|
||||
# Install aria2 and jq
|
||||
apt-get install aria2
|
||||
apt-get install jq
|
||||
|
||||
# Use apt-fast for parallel downloads
|
||||
add-apt-repository -y ppa:apt-fast/stable
|
||||
|
||||
@@ -35,4 +31,5 @@ echo 'APT sources limited to the actual architectures'
|
||||
cat /etc/apt/sources.list
|
||||
|
||||
apt-get update
|
||||
apt-get install apt-fast
|
||||
# Install aria2 , jq and apt-fast
|
||||
apt-get install aria2 jq apt-fast
|
||||
|
||||
Reference in New Issue
Block a user