intel / media-delivery

This collection of samples demonstrates best practices to achieve optimal video quality and performance on Intel GPUs for content delivery networks. Check out our demo, recommended command lines and quality and performance measuring tools.
MIT License
94 stars 29 forks source link

W: GPG error: https://repositories.intel.com/graphics/ubuntu focal InRelease #26

Closed dvrogozh closed 4 years ago

dvrogozh commented 4 years ago

https://github.com/intel/media-delivery/blob/dda4d5d50149c24f1cc69660f602f69002160a5f/Dockerfile.ubuntu#L36

Step 11/80 : RUN apt-get update && apt-get install --no-install-recommends -y   wget   && rm -rf /var/lib/apt/lists/*
 ---> Running in 77bdf775c000
Get:1 http://security.ubuntu.com/ubuntu focal-security InRelease [107 kB]
Get:2 http://archive.ubuntu.com/ubuntu focal InRelease [265 kB]
Get:3 http://archive.ubuntu.com/ubuntu focal-updates InRelease [111 kB]
Get:4 https://repositories.intel.com/graphics/ubuntu focal InRelease [3195 B]
Get:5 http://security.ubuntu.com/ubuntu focal-security/restricted amd64 Packages [45.4 kB]
Get:6 http://archive.ubuntu.com/ubuntu focal-backports InRelease [98.3 kB]
Get:7 http://security.ubuntu.com/ubuntu focal-security/multiverse amd64 Packages [1078 B]
Ign:4 https://repositories.intel.com/graphics/ubuntu focal InRelease
Get:8 http://security.ubuntu.com/ubuntu focal-security/main amd64 Packages [231 kB]
Get:9 http://archive.ubuntu.com/ubuntu focal/universe amd64 Packages [11.3 MB]
Get:10 https://repositories.intel.com/graphics/ubuntu focal/main amd64 Packages [26.6 kB]
Get:11 http://security.ubuntu.com/ubuntu focal-security/universe amd64 Packages [67.5 kB]
Get:12 http://archive.ubuntu.com/ubuntu focal/multiverse amd64 Packages [177 kB]
Get:13 http://archive.ubuntu.com/ubuntu focal/main amd64 Packages [1275 kB]
Get:14 http://archive.ubuntu.com/ubuntu focal/restricted amd64 Packages [33.4 kB]
Get:15 http://archive.ubuntu.com/ubuntu focal-updates/restricted amd64 Packages [45.7 kB]
Get:16 http://archive.ubuntu.com/ubuntu focal-updates/universe amd64 Packages [207 kB]
Get:17 http://archive.ubuntu.com/ubuntu focal-updates/main amd64 Packages [457 kB]
Get:18 http://archive.ubuntu.com/ubuntu focal-updates/multiverse amd64 Packages [17.3 kB]
Get:19 http://archive.ubuntu.com/ubuntu focal-backports/universe amd64 Packages [3195 B]
Fetched 14.5 MB in 2s (6163 kB/s)
Reading package lists...
W: GPG error: https://repositories.intel.com/graphics/ubuntu focal InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 9B10C065DBB72B06
dvrogozh commented 4 years ago

We did not download repo key as per instruction https://dgpu-docs.intel.com/installation-guides/ubuntu/ubuntu-focal.html:

sudo apt-get install -y gpg-agent wget
wget -qO - https://repositories.intel.com/graphics/intel-graphics.key |
  sudo apt-key add -
sudo apt-add-repository \
  'deb https://repositories.intel.com/graphics/ubuntu focal main'

Doing this would fix the issue. The problem is however that this won't work for the focal-devel repo channel. Which should be configured in a different way:

cat << EOF | sudo tee /etc/apt/sources.list.d/intel-graphics.list
deb [trusted=yes arch=amd64] https://repositories.intel.com/graphics/ubuntu focal-devel main
EOF

We can write something like that to cover both cases, but honestly it would be better if instructions have been aligned across stable and devel repo channels:

wget -qO - https://repositories.intel.com/graphics/intel-graphics.key | apt-key add -
echo "deb [trusted=yes arch=amd64] https://repositories.intel.com/graphics/ubuntu focal main" > /etc/apt/sources.list.d/intel-graphics.list
# or 
echo "deb [trusted=yes arch=amd64] https://repositories.intel.com/graphics/ubuntu focal-devel main" > /etc/apt/sources.list.d/intel-graphics.list
dvrogozh commented 4 years ago

27 merged to fix the issue. Right now there is no much sense to use devel repo channel for the project, so we will wait for the devel repo update anticipating it will also have a key at some point.