SparkyLinux Forums

Installation & Upgrade => System upgrading => Topic started by: joealuminium on March 19, 2025, 07:09:32 PM

Title: Problem with updating/upgrading
Post by: joealuminium on March 19, 2025, 07:09:32 PM
I've been using SparkyLinux for a while now and I've always updated via the command line as root using
# apt update
#apt upgrade

Today I got an unexpected error

root@T5600:~# apt update
Hit:1 http://security.debian.org/debian-security bookworm-security/updates InRelease
Hit:2 http://deb.debian.org/debian bookworm InRelease                                           
Hit:3 http://deb.debian.org/debian bookworm-updates InRelease                                   
Hit:4 https://deb.opera.com/opera-stable stable InRelease                                       
Ign:5 https://repo.sparkylinux.org core InRelease                                               
Hit:6 http://dl.google.com/linux/earth/deb stable InRelease                                     
Hit:7 http://deb-multimedia.org bookworm InRelease                         
Ign:8 https://repo.sparkylinux.org orion InRelease                         
Ign:5 https://repo.sparkylinux.org core InRelease     
Ign:8 https://repo.sparkylinux.org orion InRelease
Ign:5 https://repo.sparkylinux.org core InRelease
Ign:8 https://repo.sparkylinux.org orion InRelease
Err:5 https://repo.sparkylinux.org core InRelease
  Certificate verification failed: The certificate is NOT trusted. The certificate issuer is unknown. The name in the certificate does not match the expected.  Could not handshake: Error in the certificate verification. [IP: 184.174.34.74 443]
Err:8 https://repo.sparkylinux.org orion InRelease
  Certificate verification failed: The certificate is NOT trusted. The certificate issuer is unknown. The name in the certificate does not match the expected.  Could not handshake: Error in the certificate verification. [IP: 184.174.34.74 443]
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
All packages are up to date.
W: Failed to fetch https://repo.sparkylinux.org/dists/core/InRelease  Certificate verification failed: The certificate is NOT trusted. The certificate issuer is unknown. The name in the certificate does not match the expected.  Could not handshake: Error in the certificate verification. [IP: 184.174.34.74 443]
W: Failed to fetch https://repo.sparkylinux.org/dists/orion/InRelease  Certificate verification failed: The certificate is NOT trusted. The certificate issuer is unknown. The name in the certificate does not match the expected.  Could not handshake: Error in the certificate verification. [IP: 184.174.34.74 443]
W: Some index files failed to download. They have been ignored, or old ones used instead.
root@T5600:~#



As far as I'm aware nothing on my system has changed since last time I did this.
Can anyone help?
Title: Re: Problem with updating/upgrading
Post by: AxL on March 19, 2025, 07:43:10 PM
Quote from: joealuminium on March 19, 2025, 07:09:32 PMI've been using SparkyLinux for a while now and I've always updated via the command line as root using
# apt update
#apt upgrade
[....]
As far as I'm aware nothing on my system has changed since last time I did this.
Can anyone help?

(https://i.imgur.com/bDtcOwK.gif) Well, it seems that there is an obvious problem with the certificate:


(https://i.imgur.com/heSbyZ9.png)

See also:
SSL Server Test: repo.sparkylinux.org (Powered by Qualys SSL Labs)



https://de2.repo.sparkylinux.org/
https://sf1.repo.sparkylinux.org/




Title: Re: Problem with updating/upgrading
Post by: joealuminium on March 19, 2025, 08:08:39 PM
The problem has gone away. I'd just started to look at the reply from AxL and thought I'd give it a try again before doing anything and all was OK.

root@T5600:~# apt update
Hit:1 http://deb.debian.org/debian bookworm InRelease
Hit:2 http://deb.debian.org/debian bookworm-updates InRelease           
Hit:3 http://security.debian.org/debian-security bookworm-security/updates InRelease
Hit:4 https://deb.opera.com/opera-stable stable InRelease               
Hit:5 https://repo.sparkylinux.org core InRelease                       
Hit:6 https://repo.sparkylinux.org orion InRelease                     
Hit:7 http://dl.google.com/linux/earth/deb stable InRelease             
Hit:8 http://deb-multimedia.org bookworm InRelease
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
All packages are up to date.


Thanks All
Title: Re: Problem with updating/upgrading
Post by: AxL on March 19, 2025, 09:45:54 PM
Quote from: joealuminium on March 19, 2025, 08:08:39 PM[....]
Thanks All


You're welcome !! (https://i.imgur.com/RGwcc9H.gif)