Dear friends
I have seen this topic has already been discussed, but solutions do not seem to work for me.
I reinstalled 4.1.1 and dom0 update failed, So tried installing 4.1.2 rc1 and again got the same error on sys-firewall, suggesting to try --releasever=
I tried
sudo qubes-dom0-update --releasever=4.1 or
sudo qubes-dom0-update --releasever=4.1.2
but I always get the same error. What am I doing wrong?
You have not provided any detail of what the error is.
You should also say what template is used by the dom0 updatevm (see
global settings).
You should use the update GUI tool, rather than qubes-dom0-update - I
assume that your qubes-dom0-updater was a typo in your post, rather
than on your machine, even though repeated.
Spending so much time fussing with something you are not versed in and, subsequently NOT providing “the same error” to those who are?
My best “guess” is that you’re simply misinterpreting what you see. Next “guess” is that you aren’t using the necessary CLI flags which, is leading to output which is confusing you.
I did try to copy the error from the sys-firewall window, but it did not let me to copy. So, sorry for my laziness, but, copying manually, it is:
Unable to detect release version (use “–releasever” to specify release)
Fedora 32-x86_84 updates …
Errors during downloading metadata for repository’updates:
In additions to the errors now reported, Tried to update debian 11 template and it gives similar errors:
Certificate verification failed: The certificate is NOT trusted. The revocation or OCSP data are old and have been superseded. The certificate chain uses expired certificate…
No, this is brand new installation of 4.1.2 no update yet
I got the following errors, but I see nothing about broken packages:
user@debian-11:~$ sudo apt update
Err:1 https://deb.qubes-os.org/r4.1/vm bullseye InRelease
Certificate verification failed: The certificate is NOT trusted. The revocation or OCSP data are old and have been superseded. The certificate chain uses expired certificate. Could not handshake: Error in the certificate verification. [IP: 127.0.0.1 8082]
Err:2 https://deb.debian.org/debian bullseye InRelease
Certificate verification failed: The certificate is NOT trusted. The revocation or OCSP data are old and have been superseded. The certificate chain uses expired certificate. Could not handshake: Error in the certificate verification. [IP: 127.0.0.1 8082]
Err:3 https://deb.debian.org/debian-security bullseye-security InRelease
Certificate verification failed: The certificate is NOT trusted. The revocation or OCSP data are old and have been superseded. The certificate chain uses expired certificate. Could not handshake: Error in the certificate verification. [IP: 127.0.0.1 8082]
Reading package lists... Done
E: Failed to fetch https://deb.debian.org/debian/dists/bullseye/InRelease Certificate verification failed: The certificate is NOT trusted. The revocation or OCSP data are old and have been superseded. The certificate chain uses expired certificate. Could not handshake: Error in the certificate verification. [IP: 127.0.0.1 8082]
E: Failed to fetch https://deb.debian.org/debian-security/dists/bullseye-security/InRelease Certificate verification failed: The certificate is NOT trusted. The revocation or OCSP data are old and have been superseded. The certificate chain uses expired certificate. Could not handshake: Error in the certificate verification. [IP: 127.0.0.1 8082]
E: Failed to fetch https://deb.qubes-os.org/r4.1/vm/dists/bullseye/InRelease Certificate verification failed: The certificate is NOT trusted. The revocation or OCSP data are old and have been superseded. The certificate chain uses expired certificate. Could not handshake: Error in the certificate verification. [IP: 127.0.0.1 8082]
E: Some index files failed to download. They have been ignored, or old ones used instead.
user@debian-11:~$
I downloaded 4.1.2 a couple of days ago and it passed gpg verification, but it was NOT rc2, it was rc1 as the only one provided on the Qubes download page, when I downloaded it. I did not that a rc2 was available. I imagine you now suggest ot install rc2.
Also a very similar issue with the same error happened a few days ago when I installed version 4.1 stable, even if I only checked sys-firewall, not debian-11. So, if this is a rare issue, as you say, how is it possible that it happens with two very distinct releases?
On a fresh install that’s not happy with it’s cert? Absolutely. Primarily because it’s likely faster than a bunch of troubleshooting + “dirty” manual modifications.
One could manually fetch/verify/supply the cert but …
In that case, my statement really should be updated to:
… that will cause issues with “not after” in the certificates.
Personally I had expected something in Jan 1970 (epoch) or when the BIOS in your machine was released … had I actually read (and not just scrolled quickly), I should have spotted: