Skip to content

Commit 623fdac

Browse files
committed
Remove Azure dpkg setup
1 parent 2bb8e55 commit 623fdac

File tree

1 file changed

+0
-9
lines changed

1 file changed

+0
-9
lines changed

linux/build/system/setup-dpkg.sh

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,6 @@
11
#!/usr/bin/bash
22
set -euxo pipefail
33

4-
sed -i 's/http:\/\/archive\.ubuntu\.com\/ubuntu\//http:\/\/azure\.archive\.ubuntu\.com\/ubuntu\//g' /etc/apt/sources.list
5-
sed -i 's/http:\/\/[a-z][a-z]\.archive\.ubuntu\.com\/ubuntu\//http:\/\/azure\.archive\.ubuntu\.com\/ubuntu\//g' /etc/apt/sources.list
6-
74
echo "APT::Acquire::Retries \"10\";" > /etc/apt/apt.conf.d/80retries
85
echo "APT::Get::Assume-Yes \"true\";" > /etc/apt/apt.conf.d/90assumeyes
96
echo "APT::Get::Never-Include-Phased-Updates \"1\";" > /etc/apt/apt.conf.d/99phased-updates
@@ -31,12 +28,6 @@ apt-fast install --no-install-recommends \
3128
ca-certificates \
3229
software-properties-common
3330

34-
curl -O "https://packages.microsoft.com/config/ubuntu/$(lsb_release -rs)/packages-microsoft-prod.deb"
35-
dpkg -i packages-microsoft-prod.deb
36-
curl -L https://packages.microsoft.com/keys/microsoft.asc | apt-key add -
37-
curl https://packages.microsoft.com/keys/microsoft.asc | gpg --dearmor > microsoft.gpg
38-
mv microsoft.gpg /etc/apt/trusted.gpg.d/microsoft.gpg
39-
4031
add-apt-repository universe
4132

4233
apt-fast update

0 commit comments

Comments
 (0)