Ubuntu error #878
-
Failed to Update Package Lists |
Beta Was this translation helpful? Give feedback.
Answered by
KarthikSP1911
Sep 29, 2025
Replies: 1 comment
-
1. Ubuntu Error: Failed to Update Package ListsDescriptionWhen running
This usually happens due to network or DNS issues. Solution
ping google.com
sudo nano /etc/resolv.conf
# Add:
nameserver 8.8.8.8
sudo apt update
sudo nano /etc/apt/sources.list 2. Ubuntu Error: Broken PackagesDescriptionWhile installing packages, you may see:
This occurs when package dependencies are broken or conflicting. Solutionsudo apt --fix-broken install
sudo apt update
sudo apt upgrade |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
Karthiksp19
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
1. Ubuntu Error: Failed to Update Package Lists
Description
When running
sudo apt update
, you may encounter:This usually happens due to network or DNS issues.
Solution
sudo nano /etc/resolv.conf # Add: nameserver 8.8.8.8
2. …