Comment 1 for bug 1916629

Revision history for this message
Paride Legovini (paride) wrote : Re: pytests: tests using apt-key fail on Xenial

TestApt::test_ppa_source also fails on Hirsute because of a difference in how the PPA keys are added. This command

  add-apt-repository ppa:simplestreams-dev/trunk

on Focal install this file:

  /etc/apt/trusted.gpg.d/simplestreams-dev_ubuntu_trunk.gpg

while on Hirsute file is named:

  /etc/apt/trusted.gpg.d/simplestreams-dev-ubuntu-trunk.gpg

The PR above also cover this case, as it makes the test only check for the presence of the PPA key fingerprint.