SparkyLinux Forums

Installation & Upgrade => System upgrading => Topic started by: jury on November 15, 2023, 07:51:05 PM

Title: Upgrade from 5
Post by: jury on November 15, 2023, 07:51:05 PM
I wanted to upgrade my quite ancient sparky to the latest and I found 2 ways to do it:
- https://wiki.sparkylinux.org/doku.php/upgrade_5_to_6
- https://sparkylinux.org/sparky-dist-upgrade-script/

First I tried to apply the method from the first link, so I updated debian and sparky lists to look exactly as in the first link (copy & paste). But then when I try to issue "sudo apt-get update" I get:
sudo apt-get update
Downloading:1 http://deb.debian.org/debian bullseye InRelease [116 kB]
Old:2 http://security.debian.org/debian-security bullseye-security/updates InRelease
Old:3 http://deb-multimedia.org bullseye InRelease                           
Ign:4 https://repo.sparkylinux.org core InRelease                             
Ign:5 https://repo.sparkylinux.org potolo InRelease                           
Error:6 https://repo.sparkylinux.org core Release       
  Certificate verification failed: The certificate is NOT trusted. The certificate chain uses expired certificate.  Could not handshake: Error in the certificate verification. [IP: 185.249.225.163 443]
Error:1 http://deb.debian.org/debian bullseye InRelease
  Below signatures could not be verified cos of no public key: NO_PUBKEY 0E98404D386FA1D9 NO_PUBKEY 6ED0E7B82643E131 NO_PUBKEY 605C66F00D6C9793
Error:7 https://repo.sparkylinux.org potolo Release     
  Certificate verification failed: The certificate is NOT trusted. The certificate chain uses expired certificate.  Could not handshake: Error in the certificate verification. [IP: 185.249.225.163 443]
Czytanie list pakietów... Gotowe                       
E: The repository 'https://repo.sparkylinux.org core Release' no longer has 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.
W: Error GPG: http://deb.debian.org/debian bullseye InRelease: Below signatures could not be verified cos of no public key: NO_PUBKEY 0E98404D386FA1D9 NO_PUBKEY 6ED0E7B82643E131 NO_PUBKEY 605C66F00D6C9793
E: The repository 'http://deb.debian.org/debian bullseye 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.
E: The repository 'https://repo.sparkylinux.org potolo 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.


And when I tried the to do an upgrade with the second link method, I get:

wget https://sparkylinux.org/files/sparky-dist-upgrade56
--2023-11-15 19:44:25--  https://sparkylinux.org/files/sparky-dist-upgrade56
Translation sparkylinux.org (sparkylinux.org)... 185.249.225.163
Connectin with sparkylinux.org (sparkylinux.org)|185.249.225.163|:443... connected.
ERROR: No certificate was proposed by `sparkylinux.org'.
ERROR: Certificate `sparkylinux.org' expired.

Title: Re: Upgrade from 5
Post by: pavroo on November 15, 2023, 08:51:40 PM
To fix sparky key:
wget -O - https://repo.sparkylinux.org/sparky.gpg.key | sudo tee /usr/share/keyrings/sparky.gpg.key
then repos at file /etc/apt/sources.list.d/sparky.list :
deb [signed-by=/usr/share/keyrings/sparky.gpg.key] https://repo.sparkylinux.org/ core main
deb-src [signed-by=/usr/share/keyrings/sparky.gpg.key] https://repo.sparkylinux.org/ core main
deb [signed-by=/usr/share/keyrings/sparky.gpg.key] https://repo.sparkylinux.org/ potolo main
deb-src [signed-by=/usr/share/keyrings/sparky.gpg.key] https://repo.sparkylinux.org/ potolo main

Probably Debian changed its key too, look for it on Debian Wiki.
Title: Re: Upgrade from 5
Post by: jury on December 03, 2023, 04:00:49 PM
Quote from: pavroo on November 15, 2023, 08:51:40 PMTo fix sparky key:
wget -O - https://repo.sparkylinux.org/sparky.gpg.key | sudo tee /usr/share/keyrings/sparky.gpg.key

Nope:
wget -O - https://repo.sparkylinux.org/sparky.gpg.key | sudo tee /usr/share/keyrings/sparky.gpg.key
--2023-12-03 15:55:28--  https://repo.sparkylinux.org/sparky.gpg.key
Translacja repo.sparkylinux.org (repo.sparkylinux.org)... 185.249.225.163
Łączenie się z repo.sparkylinux.org (repo.sparkylinux.org)|185.249.225.163|:443... połączono.
BŁĄD: Żaden certyfikat nie został przedstawiony przez `repo.sparkylinux.org'.
BŁĄD: Certyfikat `repo.sparkylinux.org' wygasł.
Title: Re: Upgrade from 5
Post by: webxtor on January 09, 2024, 05:56:20 PM
After upgrading from 5 to 6 and from 6 to 7 known openbox issues: