I am running a bunch of class Raspberry Pi computers behind a school proxy. I'm using Raspbian off a very recent NOOBS image. The internet connection is supplied through the school WiFi and after logging into LXDE I login to the proxy server through a web interface and test that I can access pages.
Running:
sudo apt-get update
I get the following
Hit http://raspberrypi.collabora.com wheezy Release.gpg
Hit http://archive.raspberrypi.org wheezy Release.gpg
Hit http://raspberrypi.collabora.com wheezy Release
Hit http://archive.raspberrypi.org wheezy Release
Hit http://raspberrypi.collabora.com wheezy/rpi armhf Packages
Get:1 http://raspberrypi.collabora.com wheezy/rpi Translation-en_GB
Get:2 http://raspberrypi.collabora.com wheezy/rpi Translation-en
Hit http://archive.raspberrypi.org wheezy/main armhf Packages
Get:3 http://archive.raspberrypi.org wheezy/main Translation-en_GB
Get:4 http://archive.raspberrypi.org wheezy/main Translation-en
Hit http://mirrordirector.raspbian.org wheezy Release.gpg
Hit http://mirrordirector.raspbian.org wheezy Release
Hit http://mirrordirector.raspbian.org wheezy/main armhf Packages
Hit http://mirrordirector.raspbian.org wheezy/contrib armhf Packages
Hit http://mirrordirector.raspbian.org wheezy/non-free armhf Packages
Hit http://mirrordirector.raspbian.org wheezy/rpi armhf Packages
Get:5 http://mirrordirector.raspbian.org wheezy/contrib Translation-en_GB
Get:6 http://mirrordirector.raspbian.org wheezy/contrib Translation-en
Get:7 http://mirrordirector.raspbian.org wheezy/main Translation-en_GB
Get:8 http://mirrordirector.raspbian.org wheezy/main Translation-en
Get:9 http://mirrordirector.raspbian.org wheezy/non-free Translation-en_GB
Get:10 http://mirrordirector.raspbian.org wheezy/non-free Translation-en
Get:11 http://mirrordirector.raspbian.org wheezy/rpi Translation-en_GB
Get:12 http://mirrordirector.raspbian.org wheezy/rpi Translation-en
Fetched 46.1 kB in 7s (6,587 B/s)
Reading package lists... Error!
E: Encountered a section with no Package: header
E: Problem with MergeList /var/lib/apt/lists/mirrordirector.raspbian.org_raspbian_dists_wheezy_contrib_i18n_Translation-en
E: The package lists or status file could not be parsed or opened.
Now I've spent about a day researching this error and the solution which is offered most of the time is:
sudo rm /var/lib/apt/lists/* -vf
sudo apt-get update
Which I've tried but doesn't work at all as when I run update
again I get the same problem.
sudo apt-get -f update
? It tries to fix issues like this.sudo dpkg --configure -a
&sudo aptitude update
&sudo aptitude upgrade
. aptitude can be swapped out for apt-get if aptitude isn't installed.