Skip to content

Commit 7a6ca23

Browse files
Merge pull request #33950 from David-Engel/patch-1
Add GPG key import to SUSE install script
2 parents 16ffbbf + 044a59f commit 7a6ca23

File tree

1 file changed

+9
-1
lines changed

1 file changed

+9
-1
lines changed

docs/connect/odbc/linux-mac/installing-the-microsoft-odbc-driver-for-sql-server.md

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ title: Install the Microsoft ODBC driver for SQL Server (Linux)
33
description: Learn how to install the Microsoft ODBC Driver for SQL Server on Linux clients to enable database connectivity.
44
author: David-Engel
55
ms.author: davidengel
6-
ms.date: 03/17/2025
6+
ms.date: 04/28/2025
77
ms.service: sql
88
ms.subservice: connectivity
99
ms.topic: conceptual
@@ -124,6 +124,8 @@ then
124124
exit;
125125
fi
126126

127+
# Import the GPG key
128+
sudo rpm --import https://packages.microsoft.com/keys/microsoft.asc
127129
# Download the package to configure the Microsoft repo
128130
curl -sSL -O https://packages.microsoft.com/config/sles/$(grep VERSION_ID /etc/os-release | cut -d '"' -f 2 | cut -d '.' -f 1)/packages-microsoft-prod.rpm
129131
# Install the package
@@ -278,6 +280,8 @@ then
278280
exit;
279281
fi
280282

283+
# Import the GPG key
284+
sudo rpm --import https://packages.microsoft.com/keys/microsoft.asc
281285
# Download the package to configure the Microsoft repo
282286
curl -sSL -O https://packages.microsoft.com/config/sles/$(grep VERSION_ID /etc/os-release | cut -d '"' -f 2 | cut -d '.' -f 1)/packages-microsoft-prod.rpm
283287
# Install the package
@@ -394,6 +398,8 @@ then
394398
exit;
395399
fi
396400

401+
# Import the GPG key
402+
sudo rpm --import https://packages.microsoft.com/keys/microsoft.asc
397403
# Download the package to configure the Microsoft repo
398404
curl -sSL -O https://packages.microsoft.com/config/sles/$(grep VERSION_ID /etc/os-release | cut -d '"' -f 2 | cut -d '.' -f 1)/packages-microsoft-prod.rpm
399405
# Install the package
@@ -500,6 +506,8 @@ then
500506
exit;
501507
fi
502508

509+
# Import the GPG key
510+
sudo rpm --import https://packages.microsoft.com/keys/microsoft.asc
503511
# Download the package to configure the Microsoft repo
504512
curl -sSL -O https://packages.microsoft.com/config/sles/$(grep VERSION_ID /etc/os-release | cut -d '"' -f 2 | cut -d '.' -f 1)/packages-microsoft-prod.rpm
505513
# Install the package

0 commit comments

Comments
 (0)