Welcome to SparkyLinux forums
Zapraszamy również na polsko-języczne Forum https://forum.linuxiarze.pl

Problem with updating/upgrading

Started by joealuminium, March 19, 2025, 07:09:32 PM

Previous topic - Next topic

joealuminium

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?

AxL

#1
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?

Well, it seems that there is an obvious problem with the certificate:




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


    To try to fix this, you can change/use a different mirror. Such as one of these:


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




➤ Want to know how you can use a program you have never used before? "man" will be your best new friend! Type "man <pkg-name>" in a shell.
➤ Or, point your browser to "manpages.debian.org/<pkg-name>" .... RTFM !!!

joealuminium

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

AxL

➤ Want to know how you can use a program you have never used before? "man" will be your best new friend! Type "man <pkg-name>" in a shell.
➤ Or, point your browser to "manpages.debian.org/<pkg-name>" .... RTFM !!!

View the most recent posts on the forum