Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

update error Debian stretch, "NO_PUBKEY C2850B265AC085BD" #10278

Closed
johays opened this issue Jul 7, 2019 · 3 comments
Closed

update error Debian stretch, "NO_PUBKEY C2850B265AC085BD" #10278

johays opened this issue Jul 7, 2019 · 3 comments
Labels
A-Packaging Packaging, signing, releasing T-Other Questions, user support, anything else

Comments

@johays
Copy link

johays commented Jul 7, 2019

Description

When updating Debian Stretch system with sudo apt-get update && sudo apt-get dist-upgrade I get the an GPG-error NO_PUBKEY C2850B265AC085BD

W: An error occurred during the signature verification. The repository is not updated and the previous index files will be used. GPG error: https://packages.riot.im/debian stretch InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY C2850B265AC085BD W: Failed to fetch https://riot.im/packages/debian/dists/stretch/InRelease The following signatures couldn't be verified because the public key is not available: NO_PUBKEY C2850B265AC085BD

Trying to fix the gpg-error, I follow the install-guide for Stretch on https://riot.im/download/desktop/ with a negative result. I have updated my system many times without experiencing this error.

System has been upgraded from Jessie some months ago with no other noticeable issues.

Steps to reproduce

  • Install Riot-web on a Debian Jessie system
  • Upgrade system to Debian Stretch
  • Run sudo apt-get update && sudo apt-get dist-upgrade and see the following GPG-error.

FULL TERMINAL OUTPUT WHEN FOLLOWING INSTALL-GUIDE ON https://riot.im/download/desktop/:

[username]@[systemname]:~$ sudo apt install -y lsb-release wget apt-transport-https
Reading package lists... Done
Building dependency tree       
Reading state information... Done
apt-transport-https is already the newest version (1.4.9).
lsb-release is already the newest version (9.20161125).
lsb-release set to manually installed.
wget is already the newest version (1.18-5+deb9u3).
The following packages were automatically installed and are no longer required:
  icedtea-netx icedtea-netx-common
Use 'sudo apt autoremove' to remove them.
0 upgraded, 0 newly installed, 0 to remove and 1 not upgraded.

[username]@[systemname]:~$ sudo wget -O /usr/share/keyrings/riot-im-archive-keyring.gpg https://packages.riot.im/debian/riot-im-archive-keyring.gpg
--2019-07-07 11:59:21--  https://packages.riot.im/debian/riot-im-archive-keyring.gpg
Resolving packages.riot.im (packages.riot.im)... 104.25.36.105, 104.25.35.105, 2606:4700:20::6819:2469, ...
Connecting to packages.riot.im (packages.riot.im)|104.25.36.105|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 2887 (2.8K) [application/octet-stream]
Saving to: /usr/share/keyrings/riot-im-archive-keyring.gpg

/usr/share/keyrings/riot-im-archive-k 100%[=======================================================================>]   2.82K  --.-KB/s    in 0s      

2019-07-07 11:59:21 (11.6 MB/s) - ‘/usr/share/keyrings/riot-im-archive-keyring.gpg’ saved [2887/2887]

[username]@[systemname]:~$ sudo apt-get update
Hit:1 http://ftp.debian.org/debian stretch-backports InRelease
Hit:2 http://security.debian.org stretch/updates InRelease                                                                                     
Hit:3 http://deb.qubes-os.org/r3.2/vm stretch InRelease                                                                                        
Hit:5 http://prerelease.keybase.io/deb stable InRelease                                                                  
Hit:6 https://packages.riot.im/debian stretch InRelease
Ign:4 http://cdn-fastly.deb.debian.org/debian stretch InRelease                         
Hit:7 http://cdn-fastly.deb.debian.org/debian stretch Release                           
Get:9 https://packages.riot.im/debian stretch InRelease [2,894 B]
Err:9 https://packages.riot.im/debian stretch InRelease
  The following signatures couldn't be verified because the public key is not available: NO_PUBKEY C2850B265AC085BD
Fetched 2,894 B in 1s (2,081 B/s)
Reading package lists... Done
W: An error occurred during the signature verification. The repository is not updated and the previous index files will be used. GPG error: https://packages.riot.im/debian stretch InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY C2850B265AC085BD
W: Failed to fetch https://riot.im/packages/debian/dists/stretch/InRelease  The following signatures couldn't be verified because the public key is not available: NO_PUBKEY C2850B265AC085BD
W: Some index files failed to download. They have been ignored, or old ones used instead.

Version information

  • Platform: desktop
  • OS: Debian Stretch (as standalone VM in Qubes-OS )
  • Version: 1.0.7
@johays johays added the T-Defect label Jul 7, 2019
@jryans
Copy link
Collaborator

jryans commented Jul 8, 2019

What does /etc/apt/sources.list.d/riot-im.list contain?

@jryans jryans added T-Other Questions, user support, anything else and removed T-Defect labels Jul 8, 2019
@uhoreg
Copy link
Member

uhoreg commented Jul 8, 2019

W: Failed to fetch https://riot.im/packages/debian/dists/stretch/InRelease The following signatures couldn't be verified because the public key is not available: NO_PUBKEY C2850B265AC085BD

You have riot.im/packages in your apt sources list somewhere, which is the old repository location. You need to remove that.

@johays
Copy link
Author

johays commented Jul 11, 2019

In /etc/apt/sources.list.d/ there is both an entry called matrix.riot.list and riot.im.list

matrix.riot.list contains the lines:

# Riot (Matrix client)
deb https://riot.im/packages/debian/ stretch main
deb-src https://riot.im/packages/debian/ stretch main

After commenting out the lines above, apt-get dist-upgrade runs smooth and riot-im gets upgraded.

I'm uncertain whether the old entry failed to be deleted due to my own misconfiguration back in time, or whether its caused by a bug earlier during the sys-upgrade.

@johays johays closed this as completed Jul 11, 2019
@jryans jryans added the A-Packaging Packaging, signing, releasing label Jul 29, 2019
su-ex added a commit to SchildiChat/element-web that referenced this issue Mar 15, 2023
* Remove experimental PWA support for Firefox and Safari ([\element-hq#24630](element-hq#24630)).
* Only allow to start a DM with one email if encryption by default is enabled ([\element-hq#10253](matrix-org/matrix-react-sdk#10253)). Fixes element-hq#23133.
* DM rooms are now encrypted if encryption by default is enabled and only inviting a single email address. Any action in the result DM room will be blocked until the other has joined. ([\element-hq#10229](matrix-org/matrix-react-sdk#10229)).
* Reduce bottom margin of ReplyChain on compact modern layout ([\element-hq#8972](matrix-org/matrix-react-sdk#8972)). Fixes element-hq#22748. Contributed by @luixxiul.
* Support for v2 of MSC3903 ([\element-hq#10165](matrix-org/matrix-react-sdk#10165)). Contributed by @hughns.
* When starting a DM, existing rooms with pending third-party invites will be reused. ([\element-hq#10256](matrix-org/matrix-react-sdk#10256)). Fixes element-hq#23139.
* Polls push rules: synchronise poll rules with message rules ([\element-hq#10263](matrix-org/matrix-react-sdk#10263)). Contributed by @kerryarchibald.
* New verification request toast button labels ([\element-hq#10259](matrix-org/matrix-react-sdk#10259)).
* Remove padding around integration manager iframe ([\#10148](matrix-org/matrix-react-sdk#10148)).
* Fix block code styling in rich text editor ([\element-hq#10246](matrix-org/matrix-react-sdk#10246)). Contributed by @alunturner.
* Poll history: fetch more poll history ([\element-hq#10235](matrix-org/matrix-react-sdk#10235)). Contributed by @kerryarchibald.
* Sort short/exact emoji matches before longer incomplete matches ([\element-hq#10212](matrix-org/matrix-react-sdk#10212)). Fixes element-hq#23210. Contributed by @grimhilt.
* Poll history: detail screen ([\element-hq#10172](matrix-org/matrix-react-sdk#10172)). Contributed by @kerryarchibald.
* Provide a more detailed error message than "No known servers" ([\element-hq#6048](matrix-org/matrix-react-sdk#6048)). Fixes element-hq#13247. Contributed by @aaronraimist.
* Say when a call was answered from a different device ([\element-hq#10224](matrix-org/matrix-react-sdk#10224)).
* Widget permissions customizations using module api ([\element-hq#10121](matrix-org/matrix-react-sdk#10121)). Contributed by @maheichyk.
* Fix copy button icon overlapping with copyable text ([\element-hq#10227](matrix-org/matrix-react-sdk#10227)). Contributed by @Adesh-Pandey.
* Support joining non-peekable rooms via the module API ([\element-hq#10154](matrix-org/matrix-react-sdk#10154)). Contributed by @maheichyk.
* The "new login" toast does now display the same device information as in the settings. "No" does now open the device settings. "Yes, it was me" dismisses the toast. ([\element-hq#10200](matrix-org/matrix-react-sdk#10200)).
* Do not prompt for a password when doing a „reset all“ after login ([\element-hq#10208](matrix-org/matrix-react-sdk#10208)).
* Fix incorrect copy in space creation flow ([\element-hq#10296](matrix-org/matrix-react-sdk#10296)). Fixes element-hq#24741.
* Fix space settings dialog having rogue title tooltip ([\element-hq#10293](matrix-org/matrix-react-sdk#10293)). Fixes element-hq#24740.
* Show spinner when starting a DM from the user profile (right panel) ([\element-hq#10290](matrix-org/matrix-react-sdk#10290)).
* Reduce height of toggle on expanded view source event ([\element-hq#10283](matrix-org/matrix-react-sdk#10283)). Fixes element-hq#22873. Contributed by @luixxiul.
* Pillify http and non-prefixed matrix.to links ([\element-hq#10277](matrix-org/matrix-react-sdk#10277)). Fixes element-hq#20844.
* Fix some features not being configurable via `features` ([\element-hq#10276](matrix-org/matrix-react-sdk#10276)).
* Fix starting a DM from the right panel in some cases ([\element-hq#10278](matrix-org/matrix-react-sdk#10278)). Fixes element-hq#24722.
* Align info EventTile and normal EventTile on IRC layout ([\element-hq#10197](matrix-org/matrix-react-sdk#10197)). Fixes element-hq#22782. Contributed by @luixxiul.
* Fix blowout of waveform of the voice message player on narrow UI ([\element-hq#8861](matrix-org/matrix-react-sdk#8861)). Fixes element-hq#22604. Contributed by @luixxiul.
* Fix the hidden view source toggle on IRC layout ([\element-hq#10266](matrix-org/matrix-react-sdk#10266)). Fixes element-hq#22872. Contributed by @luixxiul.
* Fix buttons on the room header being compressed due to long room name ([\element-hq#10155](matrix-org/matrix-react-sdk#10155)). Contributed by @luixxiul.
* Use the room avatar as a placeholder in calls ([\element-hq#10231](matrix-org/matrix-react-sdk#10231)).
* Fix calls showing as 'connecting' after hangup ([\element-hq#10223](matrix-org/matrix-react-sdk#10223)).
* Prevent multiple Jitsi calls started at the same time ([\element-hq#10183](matrix-org/matrix-react-sdk#10183)). Fixes element-hq#23009.
* Make localization keys compatible with agglutinative and/or SOV type languages ([\element-hq#10159](matrix-org/matrix-react-sdk#10159)). Contributed by @luixxiul.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-Packaging Packaging, signing, releasing T-Other Questions, user support, anything else
Projects
None yet
Development

No branches or pull requests

3 participants