Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Yesterday my server still OK, but today after try to sudo apt-get update i got this error: update process.

I try: sudo rm /var/lib/apt/lists/* -vf And got This.Then try update again, but it's not solving my problem then show May be still same error.

I checked my internet connection try ping, get result :

PING ( 56(84) bytes of data.
From icmp_seq=1 Redirect Network(New nexthop: (
64 bytes from ( icmp_req=1 ttl=53 time=20.6 ms
64 bytes from ( icmp_req=2 ttl=53 time=18.2 ms
64 bytes from ( icmp_req=3 ttl=53 time=33.0 ms
64 bytes from ( icmp_req=4 ttl=53 time=30.0 ms
64 bytes from ( icmp_req=5 ttl=53 time=28.1 ms

In some sites said that may be it caused by getdeb server is down.

try to install:

jeinqa@SVRQAR:~$ sudo apt-get install pastebinit
Reading package lists... Error!
E: Encountered a section with no Package: header
E: Problem with MergeList /var/lib/apt/lists/security.ubuntu.com_ubuntu_dists_precise-security_restricted_binary-amd64_Packages
E: The package lists or status file could not be parsed or opened.

try :

sudo ufw status verbose

result :

Status: inactive
share|improve this question
up vote 4 down vote accepted

Based on your test of simply attempting to fetch the google homepage, via wget -q -O-, there is a firewall FW-1 on the machine/domain jeinfw which seems to be blocking most, if not all outbound http access. (Ping/ICMP is not the same as http, so just because ping works doesn't mean http also does).

That's why apt-get is failing -- instead of the content it expects, whether text, bzip2, gzip or xz, it always gets this HTML response from the firewall when it requests any file:

FW-1 at jeinfw: Access denied.

To resolve this:

You need to set up the HTTP proxy servers you were given! (I was told via chat!)

Assuming the server is,

  • Open the /etc/profile file with sudo nano (or your favorite editor). This file stores the system-wide variables initialized upon boot into the console.

  • Add the following lines, modifying appropriately. You must duplicate in both upper-case and lower-case because (unfortunately) some programs only look for one or the other:


Then, set up the proxies for apt-get and Update Manager

  • These programs will not obey the environment variables. Create a file called 95proxies in /etc/apt/apt.conf.d/, and include the following:

    Acquire::http::proxy "";
    Acquire::ftp::proxy "";
    Acquire::https::proxy "";

Finally, reboot the server to apply the changes.

share|improve this answer
it doesn't work. This is the apt-config dump output: – klox Jun 22 '12 at 9:45
There's something between apt-get and the internet - notice the 0B(yte) downloads and the failure to even get the package list in the error logs. – izx Jun 23 '12 at 5:51
Please pastebin your /etc/apt/sources.list file, and also wget -O- | pastebinit – izx Jun 25 '12 at 4:55
source.list and – klox Jun 25 '12 at 5:01
OK, there is a proxy server or something in your internet which is blocking HTTP accesses. When you wget the google homepage, the length should be Length: unspecified [text/html], NOT 82 which you get and the output should be . – izx Jun 25 '12 at 5:08

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.