# \[solved\] Apt repositories are broken

**URL:** <https://forum.pritunl.com/t/solved-apt-repositories-are-broken/3563>\
**Category:** Pritunl\
**Tags:** pritunl-client\
**Created:** [October 1, 2025, 4:34pm UTC](https://forum.pritunl.com/t/solved-apt-repositories-are-broken/3563 "2025-10-01T16:34:18Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![sldenazis](https://forum.pritunl.com/user_avatar/forum.pritunl.com/sldenazis/32/1357_2.png) [@sldenazis](https://forum.pritunl.com/u/sldenazis)\
**Post date:** [October 1, 2025, 4:34pm UTC](https://forum.pritunl.com/t/solved-apt-repositories-are-broken/3563/1 "2025-10-01T16:34:18Z")

</div>

I’m trying to install pritunl-client-electron in Ubuntu 24.04 and the gpg key doesn’t work, steps to reproduce:

> sudo tee /etc/apt/sources.list.d/pritunl.list \<\< EOF  
> deb [https://repo.pritunl.com/stable/apt](https://repo.pritunl.com/stable/apt) noble main  
> EOF

> sudo apt --assume-yes install gnupg  
> gpg --keyserver hkp://keyserver.ubuntu.com --recv-keys 7568D9BB55FF9E5287D586017AE645C0CF8E292A  
> gpg --armor --export 7568D9BB55FF9E5287D586017AE645C0CF8E292A | sudo tee /etc/apt/trusted.gpg.d/pritunl.asc  
> sudo apt update  
> Err:2 repo .pritunl. com/stable/apt noble InRelease  
> Certificate verification failed: The certificate is NOT trusted. The certificate issuer is unknown. Could not handshake: Error in the certificate verification. [IP: 172.67.72.248 443]  
> Reading package lists… Done  
> Building dependency tree… Done  
> Reading state information… Done  
> 8 packages can be upgraded. Run ‘apt list --upgradable’ to see them.  
> W: repo .pritunl. com/stable/apt/dists/noble/InRelease: No system certificates available. Try installing ca-certificates.  
> W: repo .pritunl. com/stable/apt/dists/noble/InRelease: No system certificates available. Try installing ca-certificates.  
> W: repo. pritunl. com/stable/apt/dists/noble/InRelease: No system certificates available. Try installing ca-certificates.  
> W: repo .pritunl .com/stable/apt/dists/noble/InRelease: No system certificates available. Try installing ca-certificates.  
> W: Failed to fetch repo .pritunl .com/stable/apt/dists/noble/InRelease Certificate verification failed: The certificate is NOT trusted. The certificate issuer is unknown. Could not handshake: Error in the certificate verification. [IP: 172.67.72.248 443]  
> W: Some index files failed to download. They have been ignored, or old ones used instead.  
> sudo apt install pritunl-client-electron  
> Reading package lists… Done  
> Building dependency tree… Done  
> Reading state information… Done  
> E: Unable to locate package pritunl-client-electron

Note: I had to edit the output because I’m not allowed to post that much http links.

---

<div class="post-metadata">

**Author:** ![zach](https://forum.pritunl.com/user_avatar/forum.pritunl.com/zach/32/1105_2.png) [@zach](https://forum.pritunl.com/u/zach)\
**Post date:** [October 1, 2025, 4:42pm UTC](https://forum.pritunl.com/t/solved-apt-repositories-are-broken/3563/2 "2025-10-01T16:42:43Z")

</div>

This is an issue with the systems CA certificates run `sudo apt update` and `sudo apt install --reinstall ca-certificates`.

---

<div class="post-metadata">

**Author:** ![sldenazis](https://forum.pritunl.com/user_avatar/forum.pritunl.com/sldenazis/32/1357_2.png) [@sldenazis](https://forum.pritunl.com/u/sldenazis)\
**Post date:** [October 1, 2025, 4:48pm UTC](https://forum.pritunl.com/t/solved-apt-repositories-are-broken/3563/4 "2025-10-01T16:48:33Z")

</div>

thanks @zach , that did the trick \<3
