📖 ~1 min read
Table of contents
Symptom & Impact
apt refuses metadata from one or more repositories due to trust failures.
Environment & Reproduction
Common after adding external repositories without proper keyring configuration.
Root Cause Analysis
Repository signing key is missing, expired, or not linked with signed-by.
Quick Triage
Identify failing repo and fingerprint from apt update output.
Step-by-Step Diagnosis
Inspect source entries and keyring files used by apt.

Solution – Primary Fix
Install valid vendor key in keyrings and update repository definition.
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
Disable untrusted repository until a valid signed metadata chain is available.
Verification & Acceptance Criteria
apt update completes without NO_PUBKEY or signature validation errors.
Rollback Plan
Remove incorrect keyring entries and restore previous source configuration.
Prevention & Hardening
Require signed-by for non-default repositories and track key expiry dates.
Related Errors & Cross-Refs
InRelease signature mismatch and EXPKEYSIG authentication failures.
Related tutorial: View the step-by-step tutorial for Ubuntu 20.04 LTS.
View all Ubuntu 20.04 LTS tutorials on the Tutorials Hub →
Browse all common problems & solutions on the Tutorials Hub.
References & Further Reading
Ubuntu apt-secure and trusted keyring recommendations.
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.