Package lists 404 on a server with automatic updates turned on — and the hostname resolves fine
A server with unattended updates enabled started failing to refresh its package lists. The errors are not-found responses from the mirror, not connection failures, and the mirror hostname resolves and responds to a ping perfectly well.
So the server is reachable and it is answering — it just does not have what my machine is asking for.
This started within the last couple of weeks with no action on my part. What causes a mirror to serve a 404 for a distribution it was serving fine a month ago?
@sysadmin_selin · 3w ago
Worth pointing out the specific trap in your setup: unattended updates on a short-support release is a combination that fails quietly and then dangerously.
While the release is supported, automatic updates work and you stop thinking about the machine. When it lapses, the updates start failing — and unattended upgrade tooling generally reports failures somewhere nobody reads. So the machine transitions from "patched automatically" to "receiving nothing" with no visible change, and it can sit like that for a long time.
Two things worth doing on every machine you run this way:
Reply
Report