Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

I installed Ubuntu a while ago. Recently, I ran the following command -

sudo apt-get update

and got the error

Err http://security.ubuntu.com precise-security Release.gpg                    
  Got a single header line over 360 chars

I read through multiple discussion forum posts and nothing has been helpful in solving this issue. I am connected to the internet through WiFi. I am able to ping the Ubuntu servers. I am also able to the file servers from Firefox browser. My internet connection works fine.

I'm a rookie user of Ubuntu. So, please be as specific in your instructions as possible.

Given below is the complete error message -

$ sudo apt-get update Ign http: //security.ubuntu.com precise-security InRelease
Err http: //security.ubuntu.com precise-security Release.gpg
Got a single header line over 360 chars Ign http: //us.archive.ubuntu.com precise InRelease
Ign http: //us.archive.ubuntu.com precise-security InRelease
Ign http: //security.ubuntu.com precise-security Release
Ign http: //us.archive.ubuntu.com precise-updates InRelease
22% [Connecting to server (] [Connecting to server (

"Got a single header line over 360 chars" error message apparently has something to do with Ubuntu 12.04 (according to various discussion forums). Any help in resolving the issue will be greatly appreciated. Being a rookie user, I am not able to figure out all the system details myself to resolve the issues.

share|improve this question
Did you solve this problem? –  Peddler Jan 14 at 13:15
No, I have not been able to solve this problem –  pcuser Jan 20 at 19:22

Your Answer


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

Browse other questions tagged or ask your own question.