Skip to content

Commit 9629194

Browse files
Merge pull request #27961 from David-Engel/linux
Fix broken wget/tee command with curl/tee
2 parents 3d14ab1 + 96a432c commit 9629194

9 files changed

Lines changed: 16 additions & 16 deletions

docs/big-data-cluster/deploy-with-kubeadm.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ On each machine, there are several required prerequisites. In a bash terminal, r
5555
1. Import the keys and register the repository for Kubernetes.
5656

5757
```bash
58-
sudo wget https://packages.cloud.google.com/apt/doc/apt-key.gpg | sudo sudo tee /etc/apt/trusted.gpg.d/apt-key.gpg
58+
curl -s https://packages.cloud.google.com/apt/doc/apt-key.gpg | sudo sudo tee /etc/apt/trusted.gpg.d/apt-key.asc
5959
echo 'deb http://apt.kubernetes.io/ kubernetes-xenial main' | sudo tee -a /etc/apt/sources.list.d/kubernetes.list
6060
```
6161

docs/linux/includes/odbc-ubuntu.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ Use the following steps to install the **mssql-tools18** on Ubuntu.
2323
1. Import the public repository GPG keys.
2424

2525
```bash
26-
sudo wget https://packages.microsoft.com/keys/microsoft.asc | sudo tee /etc/apt/trusted.gpg.d/microsoft.asc
26+
curl https://packages.microsoft.com/keys/microsoft.asc | sudo tee /etc/apt/trusted.gpg.d/microsoft.asc
2727
```
2828

2929
1. Register the Microsoft Ubuntu repository.

docs/linux/quickstart-install-connect-ubuntu.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -123,7 +123,7 @@ To configure [!INCLUDE [ssnoversion-md](../includes/ssnoversion-md.md)] on Ubunt
123123
1. Import the public repository GPG keys:
124124

125125
```bash
126-
sudo wget https://packages.microsoft.com/keys/microsoft.asc | sudo tee /etc/apt/trusted.gpg.d/microsoft.asc
126+
curl https://packages.microsoft.com/keys/microsoft.asc | sudo tee /etc/apt/trusted.gpg.d/microsoft.asc
127127
```
128128

129129
1. Register the [!INCLUDE [ssnoversion-md](../includes/ssnoversion-md.md)] Ubuntu repository:
@@ -165,7 +165,7 @@ To configure [!INCLUDE [ssnoversion-md](../includes/ssnoversion-md.md)] on Ubunt
165165
1. Import the public repository GPG keys:
166166

167167
```bash
168-
sudo wget https://packages.microsoft.com/keys/microsoft.asc | sudo tee /etc/apt/trusted.gpg.d/microsoft.asc
168+
curl https://packages.microsoft.com/keys/microsoft.asc | sudo tee /etc/apt/trusted.gpg.d/microsoft.asc
169169
```
170170

171171
1. Register the [!INCLUDE [ssnoversion-md](../includes/ssnoversion-md.md)] Ubuntu repository:
@@ -207,7 +207,7 @@ To configure [!INCLUDE [ssnoversion-md](../includes/ssnoversion-md.md)] on Ubunt
207207
1. Import the public repository GPG keys:
208208

209209
```bash
210-
sudo wget https://packages.microsoft.com/keys/microsoft.asc | sudo tee /etc/apt/trusted.gpg.d/microsoft.asc
210+
curl https://packages.microsoft.com/keys/microsoft.asc | sudo tee /etc/apt/trusted.gpg.d/microsoft.asc
211211
```
212212

213213
1. Register the [!INCLUDE [ssnoversion-md](../includes/ssnoversion-md.md)] Ubuntu repository:

docs/linux/sample-unattended-install-ubuntu.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ then
6666
fi
6767

6868
echo Adding Microsoft repositories...
69-
sudo wget https://packages.microsoft.com/keys/microsoft.asc | sudo tee /etc/apt/trusted.gpg.d/microsoft.asc
69+
curl https://packages.microsoft.com/keys/microsoft.asc | sudo tee /etc/apt/trusted.gpg.d/microsoft.asc
7070
repoargs="$(curl https://packages.microsoft.com/config/ubuntu/20.04/mssql-server-2019.list)"
7171
sudo add-apt-repository "${repoargs}"
7272
repoargs="$(curl https://packages.microsoft.com/config/ubuntu/20.04/prod.list)"

docs/linux/sql-server-linux-ad-auth-adutil-introduction.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -74,15 +74,15 @@ If you don't accept the EULA during the time of install, when you run the **adut
7474
### Ubuntu 18.04
7575

7676
```bash
77-
sudo wget https://packages.microsoft.com/keys/microsoft.asc | sudo tee /etc/apt/trusted.gpg.d/microsoft.asc
78-
sudo wget https://packages.microsoft.com/config/ubuntu/18.04/prod.list | sudo tee /etc/apt/sources.list.d/msprod.list
77+
curl https://packages.microsoft.com/keys/microsoft.asc | sudo tee /etc/apt/trusted.gpg.d/microsoft.asc
78+
curl https://packages.microsoft.com/config/ubuntu/18.04/prod.list | sudo tee /etc/apt/sources.list.d/msprod.list
7979
```
8080

8181
### Ubuntu 20.04
8282

8383
```bash
84-
sudo wget https://packages.microsoft.com/keys/microsoft.asc | sudo tee /etc/apt/trusted.gpg.d/microsoft.asc
85-
sudo wget https://packages.microsoft.com/config/ubuntu/20.04/prod.list | sudo tee /etc/apt/sources.list.d/msprod.list
84+
curl https://packages.microsoft.com/keys/microsoft.asc | sudo tee /etc/apt/trusted.gpg.d/microsoft.asc
85+
curl https://packages.microsoft.com/config/ubuntu/20.04/prod.list | sudo tee /etc/apt/sources.list.d/msprod.list
8686
```
8787

8888
1. If you had a previous preview version of **adutil** installed, remove any older **adutil** packages using the below command.

docs/linux/sql-server-linux-change-repo.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -198,7 +198,7 @@ Configure the new repository to use for SQL Server installations and upgrades.
198198
1. Import the public repository GPG keys.
199199

200200
```bash
201-
sudo wget https://packages.microsoft.com/keys/microsoft.asc | sudo tee /etc/apt/trusted.gpg.d/microsoft.asc
201+
curl https://packages.microsoft.com/keys/microsoft.asc | sudo tee /etc/apt/trusted.gpg.d/microsoft.asc
202202
```
203203

204204
1. Use one of the following commands to configure the repository of your choice.

docs/relational-databases/polybase/polybase-linux-setup.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -102,19 +102,19 @@ If you need an offline installation, locate the PolyBase package download in the
102102
For Ubuntu 16.04:
103103

104104
```console
105-
sudo wget https://packages.microsoft.com/config/ubuntu/16.04/prod.list | sudo tee /etc/apt/sources.list.d/msprod.list
105+
curl https://packages.microsoft.com/config/ubuntu/16.04/prod.list | sudo tee /etc/apt/sources.list.d/msprod.list
106106
```
107107

108108
For Ubuntu 18.04:
109109

110110
```console
111-
sudo wget https://packages.microsoft.com/config/ubuntu/18.04/prod.list | sudo tee /etc/apt/sources.list.d/msprod.list
111+
curl https://packages.microsoft.com/config/ubuntu/18.04/prod.list | sudo tee /etc/apt/sources.list.d/msprod.list
112112
```
113113

114114
For Ubuntu 20.04:
115115

116116
```console
117-
sudo wget https://packages.microsoft.com/config/ubuntu/20.04/prod.list | sudo tee /etc/apt/sources.list.d/msprod.list
117+
curl https://packages.microsoft.com/config/ubuntu/20.04/prod.list | sudo tee /etc/apt/sources.list.d/msprod.list
118118
```
119119

120120
2. Use the following command to install the `mssql-server-polybase` on Ubuntu.

docs/tools/mssql-cli.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ The following example applies to Ubuntu 18.04 (Bionic), more information and exa
3838

3939
```bash
4040
# Import the public repository GPG keys
41-
sudo wget https://packages.microsoft.com/keys/microsoft.asc | sudo tee /etc/apt/trusted.gpg.d/microsoft.asc
41+
curl https://packages.microsoft.com/keys/microsoft.asc | sudo tee /etc/apt/trusted.gpg.d/microsoft.asc
4242

4343
# Register the Microsoft Ubuntu repository
4444
sudo apt-add-repository https://packages.microsoft.com/ubuntu/18.04/prod

docs/tools/sqlcmd/go-sqlcmd-utility.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ Review the [breaking changes from sqlcmd](#breaking-changes-from-sqlcmd) section
8181
1. Import the public repository GPG keys.
8282

8383
```bash
84-
sudo wget https://packages.microsoft.com/keys/microsoft.asc | sudo tee /etc/apt/trusted.gpg.d/microsoft.asc
84+
curl https://packages.microsoft.com/keys/microsoft.asc | sudo tee /etc/apt/trusted.gpg.d/microsoft.asc
8585
```
8686

8787
1. Add the Microsoft repository, where the `ubuntu/20.04` segment may be `debian/11`, `ubuntu/20.04`, or `ubuntu/22.04`.

0 commit comments

Comments
 (0)