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

source.list web page breaking up #794

Closed
ghost opened this issue Nov 13, 2022 · 5 comments
Closed

source.list web page breaking up #794

ghost opened this issue Nov 13, 2022 · 5 comments
Labels
documentation retest-requested Issue needs to be verified against latest version of app

Comments

@ghost
Copy link

ghost commented Nov 13, 2022

The problem

Whenever trying to retrieve the package from the 'https://packagecloud.io/shiftkey/desktop/packages/any' the following messages show up on the terminal:

Err:4 https://mirror.mwt.me/ghd/deb any InRelease                      
  The following signatures couldn't be verified because the public key is not available: NO_PUBKEY B7E65990E879472F
Hit:6 https://packagecloud.io/shiftkey/desktop/ubuntu focal InRelease
Reading package lists... Done
W: GPG error: https://mirror.mwt.me/ghd/deb any InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY B7E65990E879472F
E: The repository 'https://mirror.mwt.me/ghd/deb any InRelease' is not signed.
N: Updating from such a repository can't be done securely, and is therefore disabled by default.
N: See apt-secure(8) manpage for repository creation and user configuration details.
![Screenshot_2022-11-13_01-43-33](https://user-images.githubusercontent.com/58838266/201506187-2d47973e-aae4-4c28-9104-3196e35d2eba.png)

This starts happening after running either of the commands:

sudo sh -c 'echo "deb [arch=amd64] https://packagecloud.io/shiftkey/desktop/any/ any main" > /etc/apt/sources.list.d/packagecloud-shiftkey-desktop.list'

sudo sh -c 'echo "deb [arch=amd64] https://mirror.mwt.me/ghd/deb/ any main" > /etc/apt/sources.list.d/packagecloud-shiftkey-desktop.list'

The page is broken ('https://packagecloud.io/shiftkey/desktop/any')

Release version

github-desktop_3.0.5-linux1_amd64.deb (I believe it goes across the table)

Operating system

20.04, 22.04

Steps to reproduce the behavior

Debian/Ubuntu distributions

First install our GPG certificate:

  1. wget -qO - https://mirror.mwt.me/ghd/gpgkey | sudo tee /etc/apt/trusted.gpg.d/shiftkey-desktop.asc > /dev/null

To setup the package repository, run one of these commands:

if you want to use packagecloud.io

  1. sudo sh -c 'echo "deb [arch=amd64] https://packagecloud.io/shiftkey/desktop/any/ any main" > /etc/apt/sources.list.d/packagecloud-shiftkey-desktop.list'

if you want to use the US mirror

  1. sudo sh -c 'echo "deb [arch=amd64] https://mirror.mwt.me/ghd/deb/ any main" > /etc/apt/sources.list.d/packagecloud-shiftkey-desktop.list'

  2. sudo apt update && sudo apt install github-desktop

Log files

Err:4 https://mirror.mwt.me/ghd/deb any InRelease
The following signatures couldn't be verified because the public key is not available: NO_PUBKEY B7E65990E879472F
Hit:6 https://packagecloud.io/shiftkey/desktop/ubuntu focal InRelease
Reading package lists... Done
W: GPG error: https://mirror.mwt.me/ghd/deb any InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY B7E65990E879472F
E: The repository 'https://mirror.mwt.me/ghd/deb any InRelease' is not signed.
N: Updating from such a repository can't be done securely, and is therefore disabled by default.
N: See apt-secure(8) manpage for repository creation and user configuration details.
Screenshot_2022-11-13_01-43-33

Screenshots

Screenshot_2022-11-13_01-43-33

Additional context

No response

@shiftkey
Copy link
Owner

shiftkey commented Feb 20, 2023

@mwt it looks like there are some issues here with the signature being verified.

Reading package lists... Done
W: GPG error: https://mirror.mwt.me/ghd/deb any InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY B7E65990E879472F
E: The repository 'https://mirror.mwt.me/ghd/deb any InRelease' is not signed.

Aside from recommending @victorkolis try the commands again, is there anything else worth troubleshooting?

@shiftkey shiftkey added retest-requested Issue needs to be verified against latest version of app more-info-needed labels Feb 20, 2023
@mwt
Copy link

mwt commented Feb 20, 2023

This is still a mirror of the packagecloud repo. It works for me. He probably needs to run the following command again:

wget -qO - https://mirror.mwt.me/ghd/gpgkey | sudo tee /etc/apt/trusted.gpg.d/shiftkey-desktop.asc > /dev/null

That being said, I think the certificate has changed from packagecloud -> your repo. So, it's probably best to fix this after I change sources (further explanation in #834).

@shiftkey
Copy link
Owner

That being said, I think the certificate has changed from packagecloud -> your repo.

Yeah, I'm not across all of the rough edges of GPG and I created a fresh certificate (instead of wrapping the one from PackageCloud) so apologies for that.

@mwt
Copy link

mwt commented Feb 20, 2023

That being said, I think the certificate has changed from packagecloud -> your repo.

Yeah, I'm not across all of the rough edges of GPG and I created a fresh certificate (instead of wrapping the one from PackageCloud) so apologies for that.

Yeah, I don't even know if you could have kept using the packagecloud one anyway. This is fine. It's not a lot of work for me.

@ghost
Copy link
Author

ghost commented Feb 21, 2023

Rerunning the commands fixed it. Thank you!

@ghost ghost closed this as completed Feb 21, 2023
This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation retest-requested Issue needs to be verified against latest version of app
Projects
None yet
Development

No branches or pull requests

2 participants