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

Unable to Download Software #3323

Closed
Amarjit3 opened this issue Oct 23, 2021 · 6 comments
Closed

Unable to Download Software #3323

Amarjit3 opened this issue Oct 23, 2021 · 6 comments
Labels
invalid This doesn't seem right linux packaging

Comments

@Amarjit3
Copy link

Amarjit3 commented Oct 23, 2021

I am attempting to download the software after following the instructions in the wiki. However, I receive the following error

$ sudo apt update
Ign:3 https://xpra.org focal InRelease
Err:5 https://xpra.org focal Release                                           
  Certificate verification failed: The certificate is NOT trusted. The certificate chain uses expired certificate.  Could not handshake: Error in the certificate verification. [IP: 78.129.163.65 443]

E: The repository 'https://xpra.org focal Release' does not have a Release file.
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.

I am using Pop_OS! 20.04 - what is the issue?

Thanks in advance.

@totaam
Copy link
Collaborator

totaam commented Oct 24, 2021

I assume that you're following these instructions: https://github.com/Xpra-org/xpra/wiki/Download#-for-debian-based-distributions

Is the date correct on your computer?

The certificate for https://xpra.org was clearly valid:

SSL Server Certificate
Common Name (CN)	xpra.org
Organisation (O)	<Not part of certificate>
Organisational Unit (OU)	<Not part of certificate>
Common Name (CN)	R3
Organisation (O)	Let's Encrypt
Organisational Unit (OU)	<Not part of certificate>
Issued On	Tuesday, 3 August 2021 at 19:36:01
Expires On	Monday, 1 November 2021 at 19:35:59
SHA-256 fingerprint	EE 39 CC BD 80 3F 82 75 82 35 A1 2E 85 8B 03 89
69 80 AD 01 8B FF 97 DC DD C9 FE F0 E4 AF 41 6B
SHA-1 Fingerprint	1E 78 7F B8 F3 3F B4 55 F6 80 FA 51 15 02 55 B8
BE 3A 5F 46

In any case, I have renewed it one week early:

Issued On	Sunday, 24 October 2021 at 15:52:02
Expires On	Saturday, 22 January 2022 at 15:52:01

@Amarjit3
Copy link
Author

I assume that you're following these instructions: https://github.com/Xpra-org/xpra/wiki/Download#-for-debian-based-distributions

Yes I am using these instructions and my date is correct

@totaam
Copy link
Collaborator

totaam commented Oct 24, 2021

Yes I am using these instructions and my date is correct

Then perhaps there's something wrong with your ca certificates. This should work:

wget https://xpra.org/gpg.asc

@xaviermerino
Copy link

xaviermerino commented Oct 26, 2021

Hey @totaam I'm actually having the same issues. It complains that the key is not valid anymore (my system time is correct):

Err:6 https://xpra.org focal Release                            
  Certificate verification failed: The certificate is NOT trusted. The certificate chain uses expired certificate.  Could not handshake: Error in the certificate verification. [IP: 78.129.163.65 443]

And also it mentions that there is no release file:

E: The repository 'https://xpra.org focal Release' does not have a Release file.
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.

These are the steps I'm following:

sudo apt-get update
sudo apt-get install apt-transport-https
wget -q https://xpra.org/gpg.asc
sudo apt-key add gpg.asc
# Everything works up to here!

sudo add-apt-repository "deb https://xpra.org/ focal main"
sudo apt-get update
sudo apt-get install xpra

Is this something that needs to be fixed on your end? Or is there something missing on my end? Can you tell from this?

@Amarjit3 were you able to fix it?

@xaviermerino
Copy link

@totaam The problem lies with Ubuntu apparently. This is not the only project that has been affected from what I can tell. Take a look at this or this.

The solution is to update the ca-certificates package in Ubuntu. You can do this via sudo apt update && sudo apt install ca-certificates. After I did that, I could use the instructions without issues.

@totaam totaam added the invalid This doesn't seem right label Oct 26, 2021
@totaam
Copy link
Collaborator

totaam commented Oct 26, 2021

The problem lies with Ubuntu apparently.

Agreed. Nothing we can do about it here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
invalid This doesn't seem right linux packaging
Projects
None yet
Development

No branches or pull requests

3 participants