我正在尝试将python版本从2.7.6升级到3.7.3,但是在Ubuntu上却遇到以下错误:
E: Encountered a section with no Package: header
E: Problem with MergeList /var/lib/apt/lists/dl.google.com_linux_chrome_deb_dists_stable_main_i18n_Translation-en
E: The package lists or status file could not be parsed or opened.
我用来更新python版本的命令是
sudo apt-get install python3.7.3
答案 0 :(得分:0)
尝试一下:
sudo rm /var/lib/apt/lists/* -vf
sudo apt-get clean all
sudo apt-get update && sudo apt-get upgrade
sudo apt-get install python3.7.3