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:
VNiharika1
2020-11-19 14:59:15 +05:30
committed by GitHub
parent e3558bca59
commit 5806c3aa85

View File

@@ -20,10 +20,6 @@ echo "APT::Get::Assume-Yes \"true\";" > /etc/apt/apt.conf.d/90assumeyes
# Uninstall unattended-upgrades # Uninstall unattended-upgrades
apt-get remove 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 # Use apt-fast for parallel downloads
add-apt-repository -y ppa:apt-fast/stable 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 cat /etc/apt/sources.list
apt-get update apt-get update
apt-get install apt-fast # Install aria2 , jq and apt-fast
apt-get install aria2 jq apt-fast