Skip to content
This repository has been archived by the owner on Jun 8, 2022. It is now read-only.

fix ci failed for error on fetching azure-cli #306

Merged
merged 1 commit into from
Nov 18, 2020

Conversation

captainroy-hy
Copy link
Contributor

related to https://github.community/t/errors-on-updating-apt-cache-for-azure-cli/17316
Update in https://packages.microsoft.com/repos/azure-cli/dists/bionic/main/binary-amd64/ results in sudo apt-get install -y golang-ginkgo-dev failed in CI.

Fetched 8669 kB in 3s (3401 kB/s)
Reading package lists...
E: Failed to fetch https://packages.microsoft.com/repos/azure-cli/dists/bionic/main/binary-amd64/Packages.bz2  File has unexpected size (11635 != 11530). Mirror sync in progress? [IP: 40.117.131.251 443]
   Hashes of expected file:
    - Filesize:11530 [weak]
    - SHA512:721e2fd23ead08d56783ffbd1ad57e8cee8b91391de7e96ecc0a13ecb030666503f6807d1d0ffcc7055ed1611d4a600617c12abadbc3c780c0418994ab49935a
    - SHA256:ae1bff8772d7a9e4007e78482d5a513a200a24c9627412091fe2ce328cc657c4
    - SHA1:51e1d9fb31e9e59b91054c0a97965466193d7219 [weak]
    - MD5Sum:db70dd3d7eb955f155e4970f9c6e4ce9 [weak]
   Release file created at: Mon, 09 Nov 2020 09:24:42 +0000
E: Some index files failed to download. They have been ignored, or old ones used instead.

Signed-off-by: roy wang seiwy2010@gmail.com

Signed-off-by: roy wang <seiwy2010@gmail.com>
Copy link
Member

@wonderflow wonderflow left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, this is a work around, let's remove it after azure-cli source is fixed

@captainroy-hy captainroy-hy merged commit 2651529 into crossplane:master Nov 18, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants