📖 ~1 min read
Table of contents
Symptom & Impact
apt update fails with repository Release file invalid, expired, or not signed errors, preventing updates.
Environment & Reproduction
Ubuntu 18.04 machines using outdated mirrors, incorrect system time, or retired third-party repositories.
Root Cause Analysis
Repository metadata validation fails due to clock skew, bad mirror state, or unsupported repository endpoints.
Quick Triage
Check date -u, timedatectl status, and re-run apt update to identify which repository is failing.
Step-by-Step Diagnosis
Review apt source files and verify each URL manually with curl -I to confirm availability and signature metadata.

Solution – Primary Fix
Correct system time via timedatectl set-ntp true, replace bad mirrors, remove dead PPAs, then run sudo apt clean && sudo apt update.
Still having issues? Our IT Solutions & Services team can diagnose and resolve this for you. Get in touch for a free consultation.

Solution – Alternative Approaches
Temporarily switch to old-releases.ubuntu.com for legacy content when standard mirrors no longer serve required indexes.
Verification & Acceptance Criteria
apt update completes with no Release file or signature errors and package lists are refreshed.
Rollback Plan
Revert source list backups if package availability worsens after mirror changes.
Prevention & Hardening
Use stable official mirrors, monitor NTP sync, and periodically audit third-party apt source entries.
Related Errors & Cross-Refs
NO_PUBKEY, InRelease is not valid yet, and repository does not have a Release file.
Related tutorial: View the step-by-step tutorial for Ubuntu 18.04 LTS.
View all Ubuntu 18.04 LTS tutorials on the Tutorials Hub →
Browse all common problems & solutions on the Tutorials Hub.
References & Further Reading
Ubuntu apt mirror documentation, man sources.list, and apt-secure(8).
Need Expert Help?
If you cannot resolve this yourself, our team offers hands-on Server Management, Managed IT Services, and flexible Support Plans. Contact us today — we respond within one business day.