Package updates now fail with certificate errors and I cannot install the fix because installing needs working certificates
Something on this machine has broken the trusted certificate store. Every package manager operation over HTTPS now fails certificate validation.
The obvious fix is to reinstall the CA certificates package. The obvious problem is that installing anything requires the package manager, which is what is broken. It is a neat little loop.
I would rather not rebuild the machine. What is the way out of this that does not involve turning off verification permanently?
@distro_dana · 2w ago
A variant worth checking: is it everything failing, or only third-party repositories?
If the distribution's own repositories work and only added ones fail, the trust store is fine and the problem is those repositories' certificates — expired, misconfigured, or signed by an authority that got distrusted. In that case the fix is per-repository and reinstalling CA certificates achieves nothing.
Quick way to tell them apart: try fetching a distribution URL and a third-party one with a plain HTTPS client and compare the errors. Different failure messages mean different problems, and it saves you performing surgery on a healthy trust store.
Reply
Report