E: The repository 'https://repo.solid-build.xyz/debian/buster/bsp-any ./ Release' no longer has a Release file

Hi,

Upon sudo apt update there is

E: The repository 'https://repo.solid-build.xyz/debian/buster/bsp-any ./ Release' no longer has a Release file.

Somewhere I did read install solid run key ( sorry for not finding back where I did read that)
Screenshot from my repair attempt:

$ cd /tmp
stappers@hamada:/tmp
$ wget https://repo.solid-build.xyz/debian/buster/bsp-any/all/solidrun-keyring_2021.04.19_all.deb
--2022-02-13 21:11:52--  https://repo.solid-build.xyz/debian/buster/bsp-any/all/solidrun-keyring_2021.04.19_all.deb
Resolving repo.solid-build.xyz (repo.solid-build.xyz)... 212.47.230.151
Connecting to repo.solid-build.xyz (repo.solid-build.xyz)|212.47.230.151|:443... connected.
ERROR: The certificate of ‘repo.solid-build.xyz’ is not trusted.
ERROR: The certificate of ‘repo.solid-build.xyz’ has expired.
stappers@hamada:/tmp
$ wget --no-check-certificate https://repo.solid-build.xyz/debian/buster/bsp-any/all/solidrun-keyring_2021.04.19_all.deb
--2022-02-13 21:12:08--  https://repo.solid-build.xyz/debian/buster/bsp-any/all/solidrun-keyring_2021.04.19_all.deb
Resolving repo.solid-build.xyz (repo.solid-build.xyz)... 212.47.230.151
Connecting to repo.solid-build.xyz (repo.solid-build.xyz)|212.47.230.151|:443... connected.
WARNING: The certificate of ‘repo.solid-build.xyz’ is not trusted.
WARNING: The certificate of ‘repo.solid-build.xyz’ has expired.
HTTP request sent, awaiting response... 200 OK
Length: 8308 (8.1K) [application/octet-stream]
Saving to: ‘solidrun-keyring_2021.04.19_all.deb’

solidrun-keyring_2021.04.19_all.deb 100%[================================================>]   8.11K  --.-KB/s    in 0s      

2022-02-13 21:12:09 (94.8 MB/s) - ‘solidrun-keyring_2021.04.19_all.deb’ saved [8308/8308]

stappers@hamada:/tmp
$ sudo dpkg -i solidrun-keyring_2021.04.19_all.deb 
(Reading database ... 33933 files and directories currently installed.)
Preparing to unpack solidrun-keyring_2021.04.19_all.deb ...
Unpacking solidrun-keyring (2021.04.19) over (2020.01.09) ...
Setting up solidrun-keyring (2021.04.19) ...
Installing new version of config file /etc/apt/trusted.gpg.d/obs_bsp_a38x.gpg ...
stappers@hamada:/tmp
$ sudo apt update
Hit:1 http://deb.debian.org/debian buster-backports InRelease
Hit:2 http://httpredir.debian.org/debian buster InRelease                                          
Hit:3 http://security.debian.org buster/updates InRelease                                          
Hit:4 http://httpredir.debian.org/debian buster-updates InRelease                                  
Ign:5 https://repo.solid-build.xyz/debian/buster/bsp-any ./ InRelease        
Ign:6 https://repo.solid-build.xyz/debian/buster/bsp-a38x ./ InRelease
Err:7 https://repo.solid-build.xyz/debian/buster/bsp-any ./ Release
  Certificate verification failed: The certificate is NOT trusted.
  The certificate chain uses expired certificate. 
  Could not handshake: Error in the certificate verification. [IP: 212.47.230.151 443]
Err:8 https://repo.solid-build.xyz/debian/buster/bsp-a38x ./ Release
  Certificate verification failed: The certificate is NOT trusted.
  The certificate chain uses expired certificate.
  Could not handshake: Error in the certificate verification. [IP: 212.47.230.151 443]
Reading package lists... Done                          
E: The repository 'https://repo.solid-build.xyz/debian/buster/bsp-any ./ 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.
E: The repository 'https://repo.solid-build.xyz/debian/buster/bsp-a38x ./ 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.
stappers@hamada:/tmp
$ 

Further research by me revealed that wget sees an invalid certificate,
but curl sees a valid certificate …

stappers@hamada:/tmp
$ wget -O /dev/null https://repo.solid-build.xyz/debian/buster/bsp-any/Release
--2022-02-13 21:38:46--  https://repo.solid-build.xyz/debian/buster/bsp-any/Release
Resolving repo.solid-build.xyz (repo.solid-build.xyz)... 212.47.230.151
Connecting to repo.solid-build.xyz (repo.solid-build.xyz)|212.47.230.151|:443... connected.
ERROR: The certificate of ‘repo.solid-build.xyz’ is not trusted.
ERROR: The certificate of ‘repo.solid-build.xyz’ has expired.
stappers@hamada:/tmp
$ curl https://repo.solid-build.xyz/debian/buster/bsp-any/Release > /dev/null
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100   984  100   984    0     0   5125      0 --:--:-- --:--:-- --:--:--  5151
stappers@hamada:/tmp
$ 

Questions:

  • Is it an apt issue or is it a https://repo.solid-build.xyz/ issue?
  • What to do to get a succesfull sudo apt update?

Regards
Geert Stappers

This was caused by DST Root CA X3 Expiration (September 2021) - Let's Encrypt
and not using the system for a long time.

The fix was ignoring the sudo apt update error and doing an upgrade:

sudo apt full-upgrade --yes -o DPkg::Options::=--force-confold -o DPkg::Options::=--force-confdef