Record the solutions to the errors reported in the Ubuntu update package
Question
The following error is reported when Ubuntu executes apt get update:
Solution:
Add/etc/apt/sources Replace HTTPS in the list with HTTP. Pro test is effective!
Record the solutions to the errors reported in the Ubuntu update package
Question
The following error is reported when Ubuntu executes apt get update:
Solution:
Add/etc/apt/sources Replace HTTPS in the list with HTTP. Pro test is effective!
Reading package list…error!
E:No packages encountered: header
E: MergeList /var/lib/ apt/lists/az.archive.ubuntu.com_ubuntu_dists_natty_main_i18n _transl- en
E: The package list or status file cannot be parsed or opened.
Solution:
Running these two commands should fix your problem
Code:
sudo rm /var/lib/apt/lists/* -vf
The first command will delete the corrupt list and when you run the second command, it will replace it with a new one
Code :
sudo apt-get update