[ARVADOS] updated: 2.1.0-1578-g8b0429970

Git user git at public.arvados.org
Thu Nov 4 17:37:29 UTC 2021


Summary of changes:
 cmd/arvados-package/install.go | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

       via  8b042997093ad9aa96c159ca952746449bd5b315 (commit)
      from  13dea78ff8ad72bd8a406843bb702aef0d0f569a (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.


commit 8b042997093ad9aa96c159ca952746449bd5b315
Author: Tom Clegg <tom at curii.com>
Date:   Thu Nov 4 13:27:38 2021 -0400

    Fix failing "apt-get update" in test.
    
    refs #18334
    
    Arvados-DCO-1.1-Signed-off-by: Tom Clegg <tom at curii.com>

diff --git a/cmd/arvados-package/install.go b/cmd/arvados-package/install.go
index 85c64b867..5fdb7a875 100644
--- a/cmd/arvados-package/install.go
+++ b/cmd/arvados-package/install.go
@@ -45,14 +45,14 @@ func testinstall(ctx context.Context, opts opts, stdin io.Reader, stdout, stderr
 			opts.TargetOS,
 			"bash", "-c", `
 set -e -o pipefail
-apt-get update
+apt-get --allow-releaseinfo-change update
 apt-get install -y --no-install-recommends dpkg-dev eatmydata
 
 mkdir /tmp/pkg
 ln -s /pkg/*.deb /tmp/pkg/
 (cd /tmp/pkg; dpkg-scanpackages --multiversion . | gzip > Packages.gz)
 echo >/etc/apt/sources.list.d/arvados-local.list "deb [trusted=yes] file:///tmp/pkg ./"
-apt-get update
+apt-get --allow-releaseinfo-change update
 
 eatmydata apt-get install -y --no-install-recommends arvados-server-easy postgresql
 eatmydata apt-get remove -y dpkg-dev
@@ -88,7 +88,7 @@ rm /etc/apt/sources.list.d/arvados-local.list
 		"bash", "-c", `
 set -e -o pipefail
 PATH="/var/lib/arvados/bin:$PATH"
-apt-get update
+apt-get --allow-releaseinfo-change update
 apt-get install -y --no-install-recommends dpkg-dev
 mkdir /tmp/pkg
 ln -s /pkg/*.deb /tmp/pkg/
@@ -97,7 +97,7 @@ apt-get remove -y dpkg-dev
 echo
 
 echo >/etc/apt/sources.list.d/arvados-local.list "deb [trusted=yes] file:///tmp/pkg ./"
-apt-get update
+apt-get --allow-releaseinfo-change update
 eatmydata apt-get install --reinstall -y --no-install-recommends arvados-server-easy`+versionsuffix+`
 SUDO_FORCE_REMOVE=yes apt-get autoremove -y
 

-----------------------------------------------------------------------


hooks/post-receive
-- 




More information about the arvados-commits mailing list