diff --git a/.github/workflows/job_debian_packages.yml b/.github/workflows/job_debian_packages.yml index 6933179edda230..bb93aa149dd33e 100644 --- a/.github/workflows/job_debian_packages.yml +++ b/.github/workflows/job_debian_packages.yml @@ -50,14 +50,14 @@ jobs: # Install debian packages from previous release apt-get install --no-install-recommends -y gnupg wget ca-certificates lsb-release wget https://apt.repos.intel.com/intel-gpg-keys/GPG-PUB-KEY-INTEL-SW-PRODUCTS.PUB - apt-key add GPG-PUB-KEY-INTEL-SW-PRODUCTS.PUB - + gpg --output /etc/apt/trusted.gpg.d/intel.gpg --dearmor GPG-PUB-KEY-INTEL-SW-PRODUCTS.PUB + # Yields only the number, e.g., "20" ubuntu_version=$(lsb_release -r -s) ubuntu_version=${ubuntu_version%.*} - + echo "deb https://apt.repos.intel.com/openvino/2024 ubuntu$ubuntu_version main" | tee /etc/apt/sources.list.d/intel-openvino-2024.list - + apt-get update -y apt-get install -y openvino fi diff --git a/docs/articles_en/get-started/install-openvino/install-openvino-apt.rst b/docs/articles_en/get-started/install-openvino/install-openvino-apt.rst index 511ecc627d45ad..aadfacdb70d331 100644 --- a/docs/articles_en/get-started/install-openvino/install-openvino-apt.rst +++ b/docs/articles_en/get-started/install-openvino/install-openvino-apt.rst @@ -57,7 +57,7 @@ Step 1: Set Up the OpenVINO Toolkit APT Repository .. code-block:: sh - sudo apt-key add GPG-PUB-KEY-INTEL-SW-PRODUCTS.PUB + sudo gpg --output /etc/apt/trusted.gpg.d/intel.gpg --dearmor GPG-PUB-KEY-INTEL-SW-PRODUCTS.PUB .. note::