mirror of
https://github.com/netbirdio/gvisor.git
synced 2026-05-22 17:12:49 -07:00
gvisor/kokoro: run apt-get update before apt-get install
We need to update the package lists, otherwise apt-get install can request an old package which has been removed from repositories. PiperOrigin-RevId: 233879031 Change-Id: I2e1b3afd9d01008f774f10efd8852fd3f5e1c882
This commit is contained in:
+2
-1
@@ -99,7 +99,8 @@ install_runtime() {
|
||||
install_crictl_test_deps() {
|
||||
# Install containerd.
|
||||
# libseccomp2 needs to be downgraded in order to install libseccomp-dev.
|
||||
sudo -n -E apt-get install -y --force-yes libseccomp2=2.1.1-1ubuntu1~trusty4
|
||||
sudo -n -E apt-get update
|
||||
sudo -n -E apt-get install -y --force-yes libseccomp2=2.1.1-1ubuntu1~trusty5
|
||||
sudo -n -E apt-get install -y btrfs-tools libseccomp-dev
|
||||
# go get will exit with a status of 1 despite succeeding, so ignore errors.
|
||||
go get -d github.com/containerd/containerd || true
|
||||
|
||||
Reference in New Issue
Block a user