Bug 449813

Summary: Adding repos causes apt to error out about gpg key
Product: [Applications] Discover Reporter: Aaron Honeycutt <aaronhoneycutt>
Component: PackageKitAssignee: Dan Leinir Turthra Jensen <leinir>
Status: CONFIRMED ---    
Severity: normal CC: aleixpol, nate
Priority: NOR    
Version: 5.24.0   
Target Milestone: ---   
Platform: Kubuntu   
OS: Linux   
Latest Commit: Version Fixed In:

Description Aaron Honeycutt 2022-02-09 01:06:50 UTC
SUMMARY
***
NOTE: If you are reporting a crash, please try to attach a backtrace with debug symbols.
See https://community.kde.org/Guidelines_and_HOWTOs/Debugging/How_to_create_useful_crash_reports
***

Adding a PPA/repo using Software Sources does not add the GPG key so apt errors out. This maybe an issue with a Ubuntu package but I'm not sure.

STEPS TO REPRODUCE
1. Open Discover then click Settings
2. Click Software Sources then click Other software
3. Use the Add button to add a repo like:

https://dl.google.com/linux/chrome/deb/

OBSERVED RESULT

When you run updates apt is not happy as it is missing the GPG key to use the repo securely.

EXPECTED RESULT

When you run updates everything is happy.

SOFTWARE/OS VERSIONS
Linux: 5.15.0-18-generic
(available in About System)
KDE Plasma Version: 5.24.0
KDE Frameworks Version: 5.90.0
Qt Version: 5.15.2

ADDITIONAL INFORMATION
Comment 1 Nate Graham 2022-02-11 16:38:40 UTC
Yeah, we don't show a UI for you to accept the key. We probably should.
Comment 2 Aaron Honeycutt 2022-02-11 19:19:24 UTC
It was tough to tell if this is a Ubuntu issue or upstream. Having a UI would be good indeed.