You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Installing docker on AWS EC2 on an Ubuntu 20.04.6 AMI using https://get.docker.com/ is failling for me with the below error:
+ sudo -E sh -c apt-get-update -qq >/dev/null
E; Could not get lock /var/lib/apt/lists/lock. It is held by process 2023 (apt-get)
E: Unable to lock directory /var/lib/apt/lists/
Installing docker on AWS EC2 on an Ubuntu 20.04.6 AMI using https://get.docker.com/ is failling for me with the below error:
Looks like as of apt 1.9.11 there is an option to wait for the lock to be released rather than failing immediately:
apt-get -o DPkg::Lock::Timeout=60 install FOO
.Could
-o DPkg::Lock::Timeout=120
be added to anyapt-get
commands?This can be used for apt version checking and adding the arg if apt version > 1.9:
The text was updated successfully, but these errors were encountered: