I‘m running the apt-get update command to fetch updates but getting the following errors:

Get:1 squeeze/updates Release.gpg [836 B]
Ign squeeze/updates/contrib Translation-en
Ign squeeze/updates/contrib Translation-en_IN
Ign squeeze/updates/main Translation-en
Ign squeeze/updates/main Translation-en_IN
Ign squeeze/updates/non-free Translation-en
Ign squeeze/updates/non-free Translation-en_IN
Get:2 squeeze/updates Release [86.9 kB]
Get:3 squeeze/updates/main Sources [89.5 kB]
Get:4 squeeze/updates/contrib Sources [765 B]
Get:5 squeeze/updates/non-free Sources [20 B]
Get:6 squeeze/updates/main amd64 Packages [273 kB]
Get:7 squeeze/updates/contrib amd64 Packages [620 B]
Get:8 squeeze/updates/non-free amd64 Packages [20 B]
Hit squeeze Release.gpg
Ign squeeze/contrib Translation-en
Ign squeeze/contrib Translation-en_IN
Ign squeeze/main Translation-en
Ign squeeze/main Translation-en_IN
Ign squeeze/non-free Translation-en
Ign squeeze/non-free Translation-en_IN
Hit squeeze Release
Hit squeeze/main Sources
Hit squeeze/non-free Sources
Hit squeeze/contrib Sources
Hit squeeze/main amd64 Packages
Hit squeeze/non-free amd64 Packages
Hit squeeze/contrib amd64 Packages
Fetched 451 kB in 12s (36.5 kB/s)
Reading package lists… Error!
E: Encountered a section with no Package: header
E: Problem with MergeList /var/lib/apt/lists/security.debian.org_dists_squeeze_updates_contrib_i18n_Translation-en
E: The package lists or status file could not be parsed or opened.

How do I fix this problem under Debian or Ubuntu Linux operating systems?


I‘m trying to install the latest version of Lighttpd v1.4.29 web server under RHEL 6.1 AMD64 and getting the following error:

network.c: In function ‘network_init’:
network.c:483: error: ‘EC_KEY’ undeclared (first use in this function)
network.c:483: error: (Each undeclared identifier is reported only once
network.c:483: error: for each function it appears in.)
network.c:483: error: ‘ecdh’ undeclared (first use in this function)
network.c:484: warning: unused variable ‘nid’
make[3]: *** [network.o] Error 1
make[3]: Leaving directory `/opt/new/lighttpd-1.4.29/src’
make[2]: *** [all] Error 2
make[2]: Leaving directory `/opt/new/lighttpd-1.4.29/src’
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/opt/new/lighttpd-1.4.29′
make: *** [all] Error 2

How do I fix this problem under CentOS 5.x, or RHEL, or Red Hat Enterprise Linux 6.x, or Fedora Linux?

{ 1 comment }