linuxmint / linuxmint/mintupdate
Update Manager uses the wrong destination for keyrings
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 425
- Forks
- 190
- PR merge metrics
- No merged PRs in 30d
Description
Describe the bug
The "Add missing keys" button adds keys to /etc/apt/trusted.gpg.d/. This is wrong, because the keyrings have been moved to /usr/share/keyrings. The apt command does not look in /etc/apt/trusted.gpg.d/, so this button doesn't do anything useful.
Furthermore, this may impact other tools within Update Manager that interact with keyrings.
Screenshots
To Reproduce
- Software Sources > Maintenance > Add missing keys
ls -l /etc/apt/trusted.gpg.d/- See keys updated in bad location
Expected behavior
Keys in /usr/share/keyrings
Distribution:
Linux Mint
Software version:
7.1.4
Logs:
Nothing relevant.
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Reproduce the issue through Software Sources > Maintenance > Add missing keys and inspect the Update Manager code handling keyrings. Check whether other keyring-related tools use the old destination; done means missing keys are placed in /usr/share/keyrings and related tools no longer write to /etc/apt/trusted.gpg.d/.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- linux, python
- Domain
- desktop, operating-systems
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 55/100