Originally Posted by
Ubuntist
I can't get any software updates. Running apt-get check produces the following error message:
Reading package lists... Error!
E: Encountered a section with no Package: header
E: Problem with MergeList /var/lib/apt/lists/gb.archive.ubuntu.com_ubuntu_dists_raring_main_i18 n_Translation-en
E: The package lists or status file could not be parsed or opened.
And, indeed, when I look at the file that apt-get is complaining about, /var/lib/apt/lists/gb.archive...Translation-en, I see that it is the click-to-agree-to-terms page from the internet link I was using when I attempted to update a few days ago.
Anyway, how can I get a correct version of the file?
P.S. I've tried simply deleting the file in the hope that Ubuntu would see it missing and regenerate a sane version of it. No luck.
Delete the list files with
Code:
sudo rm -rf /var/lib/apt/lists/*
and then reload them with
Code:
sudo apt-get update
Good Luck
Bookmarks