Skip to content

Commit 55700ad

Browse files
committed
Use apt-spy2 to fix connectivity issues to azure.archive.ubuntu.com.
1 parent 1a46e7a commit 55700ad

File tree

4 files changed

+20
-4
lines changed

4 files changed

+20
-4
lines changed

.github/workflows/cleanbuild.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,11 @@ jobs:
5252
submodules: 'recursive'
5353

5454
- name: apt_get_update
55-
run: sudo -H DEBIAN_FRONTEND=noninteractive apt-get update
55+
run: |
56+
sudo gem install apt-spy2 -v 0.7.2
57+
sudo apt-spy2 check
58+
sudo apt-spy2 fix --commit
59+
sudo -H DEBIAN_FRONTEND=noninteractive apt-get update
5660
5761
- name: Workaround for tar not being able to access /var/cache/apt/archives
5862
run: |

.github/workflows/depsbuild.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,11 @@ jobs:
5252
submodules: 'recursive'
5353

5454
- name: apt_get_update
55-
run: sudo -H DEBIAN_FRONTEND=noninteractive apt-get update
55+
run: |
56+
sudo gem install apt-spy2 -v 0.7.2
57+
sudo apt-spy2 check
58+
sudo apt-spy2 fix --commit
59+
sudo -H DEBIAN_FRONTEND=noninteractive apt-get update
5660
5761
- name: Workaround for tar not being able to access /var/cache/apt/archives
5862
run: |

.github/workflows/functesting.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,11 @@ jobs:
4848
submodules: 'recursive'
4949

5050
- name: apt_get_update
51-
run: sudo -H DEBIAN_FRONTEND=noninteractive apt-get update
51+
run: |
52+
sudo gem install apt-spy2 -v 0.7.2
53+
sudo apt-spy2 check
54+
sudo apt-spy2 fix --commit
55+
sudo -H DEBIAN_FRONTEND=noninteractive apt-get update
5256
5357
- name: Get Date
5458
id: get-date

.github/workflows/glitching.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,11 @@ jobs:
3737
submodules: 'recursive'
3838

3939
- name: apt_get_update
40-
run: sudo -H DEBIAN_FRONTEND=noninteractive apt-get update
40+
run: |
41+
sudo gem install apt-spy2 -v 0.7.2
42+
sudo apt-spy2 check
43+
sudo apt-spy2 fix --commit
44+
sudo -H DEBIAN_FRONTEND=noninteractive apt-get update
4145
4246
- name: Get Date
4347
id: get-date

0 commit comments

Comments
 (0)