[Bug 1970449] Re: GPG keys are not shown in Software and Updates

Heiko Hösch 1970449 at bugs.launchpad.net
Mon Jul 18 06:15:18 UTC 2022


Here is a working version of the AptAuth.py for Ubuntu 22.04.

The testing version of Ubuntu might have another software-properties-
version.

I just changed the subprocess.run to subprocess.Popen and added a p.close to end the subprocess
where it reads the keys. I left the rest as it is. I did not want to change more than necessary.

Other methods of this class use subprocess.run, there you don't need to end the subprocess, I would
say. The subprocess.run ends the subprocess automatically, I would say, but the subprocess.Popen
seemingly needs a manual closing of the subprocess.

** Attachment added: "AptAuth.py"
   https://bugs.launchpad.net/ubuntu/+source/software-properties/+bug/1970449/+attachment/5603680/+files/AptAuth.py

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to software-properties in Ubuntu.
https://bugs.launchpad.net/bugs/1970449

Title:
  GPG keys are not shown in Software and Updates

Status in software-properties package in Ubuntu:
  Confirmed

Bug description:
  software-properties-gtk does not show the registered apt gpg keys in
  the "Authentication" tab on my Ubuntu 21.10 and 22.04 systems.

  ProblemType: Bug
  DistroRelease: Ubuntu 22.04
  Package: ubuntu-release-upgrader-core 1:22.04.10
  ProcVersionSignature: Ubuntu 5.15.0-27.28-generic 5.15.30
  Uname: Linux 5.15.0-27-generic x86_64
  ApportVersion: 2.20.11-0ubuntu82
  Architecture: amd64
  CasperMD5CheckResult: pass
  CrashDB: ubuntu
  CurrentDesktop: ubuntu:GNOME
  Date: Tue Apr 26 20:48:04 2022
  InstallationDate: Installed on 2022-04-25 (0 days ago)
  InstallationMedia: Ubuntu 22.04 LTS "Jammy Jellyfish" - Release amd64 (20220419)
  PackageArchitecture: all
  SourcePackage: ubuntu-release-upgrader
  Symptom: ubuntu-release-upgrader
  UpgradeStatus: No upgrade log present (probably fresh install)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/software-properties/+bug/1970449/+subscriptions




More information about the foundations-bugs mailing list