[Ubuntu] 22.04: install libssl1.1 via apt (#9432)
Signed-off-by: You-Sheng Yang <[email protected]>
This commit is contained in:
@@ -10,11 +10,14 @@ source $HELPER_SCRIPTS/os.sh
|
|||||||
|
|
||||||
# Install libssl1.1 dependency
|
# Install libssl1.1 dependency
|
||||||
if is_ubuntu22; then
|
if is_ubuntu22; then
|
||||||
libssl_deb_path=$(download_with_retry "http://security.ubuntu.com/ubuntu/pool/main/o/openssl/libssl1.1_1.1.1f-1ubuntu2.22_amd64.deb")
|
focal_list=/etc/apt/sources.list.d/focal-security.list
|
||||||
libssl_hash="df9d07d552aab0c7e5b9fbcc568913acd20d50fb8b1e34876fa348b7a0c82d48"
|
echo "deb http://archive.ubuntu.com/ubuntu/ focal-security main" | tee "${focal_list}"
|
||||||
use_checksum_comparison "$libssl_deb_path" "$libssl_hash"
|
apt-get update --quiet
|
||||||
|
|
||||||
dpkg -i "$libssl_deb_path"
|
apt-get install --no-install-recommends --yes libssl1.1
|
||||||
|
|
||||||
|
rm "${focal_list}"
|
||||||
|
apt-get update --quiet
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Install SqlPackage
|
# Install SqlPackage
|
||||||
|
|||||||
Reference in New Issue
Block a user