Bug 460963 - neon-keyring is broken or not fully installed
Summary: neon-keyring is broken or not fully installed
Status: REPORTED
Alias: None
Product: neon
Classification: KDE Neon
Component: general (show other bugs)
Version: unspecified
Platform: Neon Linux
: NOR grave
Target Milestone: ---
Assignee: Neon Bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-10-25 00:02 UTC by roman.teluch@mail.com
Modified: 2022-10-25 21:55 UTC (History)
5 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description roman.teluch@mail.com 2022-10-25 00:02:30 UTC
After upgrading from Focal to 22.04 cannot install any updates.
See:
"Package failed to install:

Error while installing package: installed neon-keyring package post-installation script subprocess returned error exit status 1."

"/dpkg-reconfigure: neon-keyring is broken or not fully installed."
Comment 1 roman.teluch@mail.com 2022-10-25 00:14:20 UTC
Neon-keyring problem occured after upgading to LTS 22.04 ‘Jammy Jellyfish’.
Comment 2 Jonathan Riddell 2022-10-25 17:29:56 UTC
That doesn't give us too much to go on.  Is there anything relevant in /var/log/apt/term.log ?
Comment 3 tagwerk19 2022-10-25 21:55:20 UTC
I had a pop-up message during the upgrade saying:

    Could not install 'neon-keyring'
    The upgrade will continue but the 'neon-keyring' package may not be in a working state
    Please consider submitting a bug report about it

    Installed neon-keyring package post-installation script subprocess returned exit status 1

The upgrade continued but then said

    The Upgrade has aborted. Your system could be in an unstable state
    A recovery will run now (dpkg --configure -a)

and

    The upgrade has completed but there were errors during the upgrade process

followed by a fair amount of detail that included the line:

    gpg: invalid key resource URL: /etc/apt/trusted.gpg.d/home:pzz.gpg

I see this info in:

    /var/log/apt/term.log

This was a system where I had previously installed a test version of 'sane airscan'. 

Subsequently offline updates gave a failure as reported (the post-installation script, exit status 1, failure)

I did have a file:
    /etc/apt/trusted.gpg.d/home:pzz.gpg
I think dating from that test version of sane.

I rolled back, moved the file out the way, reran the upgrade and all was OK. It may be that just moving the file out the way after the upgrade is sufficient.

I think it might be a question of remembering what you might have installed "from elsewhere", whether you still need it and or can remove it.