mirror of
https://github.com/actions/runner-images.git
synced 2025-12-20 06:35:47 +00:00
[Windows|Ubuntu] Remove obsolete workarounds (#7431)
This commit is contained in:
committed by
GitHub
parent
0f23104156
commit
5657dec7af
@@ -31,11 +31,7 @@ EOF
|
||||
# Uninstall unattended-upgrades
|
||||
apt-get purge unattended-upgrades
|
||||
|
||||
# Need to limit arch for default apt repos due to
|
||||
# https://github.com/actions/runner-images/issues/1961
|
||||
sed -i'' -E 's/^deb http:\/\/(azure.archive|security).ubuntu.com/deb [arch=amd64,i386] http:\/\/\1.ubuntu.com/' /etc/apt/sources.list
|
||||
|
||||
echo 'APT sources limited to the actual architectures'
|
||||
echo 'APT sources'
|
||||
cat /etc/apt/sources.list
|
||||
|
||||
apt-get update
|
||||
|
||||
Reference in New Issue
Block a user