Scheduled Maintenance: We are aware of an issue with Google, AOL, and Yahoo services as email providers which are blocking new registrations. We are trying to fix the issue and we have several internal and external support tickets in process to resolve the issue. Please see: viewtopic.php?t=158230

 

 

 

apt stuck on "99% [Waiting for headers]" - please help

New to Debian (Or Linux in general)? Ask your questions here!
Post Reply
Message
Author
fredcrs
Posts: 15
Joined: 2010-01-12 00:55

apt stuck on "99% [Waiting for headers]" - please help

#1 Post by fredcrs »

I dont know why this is happening...Myabe a configuration problem on apt...well I didnt find a conf either.
I know it is not a network issue because it happens in my home and at work too...The same problem.. it just got stuck , takes a long time and then it seens ok...

Code: Select all

Ign http://dl.google.com stable/non-free Packages/DiffIndex
Ign http://dl.google.com stable/main Packages/DiffIndex
Get:9 http://dl.google.com stable/non-free Packages [1025B]
Get:10 http://dl.google.com stable/main Packages [909B]
Fetched 109kB in 2min4s (877B/s)
Reading package lists... Done
The thing is...the downloads and upgrades are all fine and fast, it happens with apt-get, aptitude...only when trying to update
I also tryed to take out some repos in the sourcs.list but the problem persists, it isnt also a repository offline problem but just to add more info I am posting my sources.list here:

Code: Select all

deb http://volatile.debian.org/debian-volatile lenny/volatile main
deb-src http://volatile.debian.org/debian-volatile lenny/volatile main

#Debian Media
deb http://ftp.br.debian.org/debian-multimedia lenny main
deb-src http://ftp.br.debian.org/debian-multimedia lenny main

#Original
deb http://ftp.br.debian.org/debian/ lenny main contrib non-free
deb http://security.debian.org/ lenny/updates main contrib non-free
deb-src http://ftp.br.debian.org/debian/ lenny main contrib non-free
deb-src http://security.debian.org/ lenny/updates main

#Sid para o Kernel - Deixe comentado o repositorio do sid!!
#deb http://ftp.br.debian.org/debian sid main contrib non-free

#Squeeze - Deixar comentado
#deb http://ftp.br.debian.org/debian/ squeeze main contrib non-free

#Virtualbox
deb http://download.virtualbox.org/virtualbox/debian lenny non-free

#Backports
deb http://www.backports.org/debian lenny-backports main contrib non-free

#Google repo
deb http://dl.google.com/linux/deb/ stable non-free main

#Wine - Lenny
deb http://www.lamaresh.net/apt lenny main
I have a notebook, running Debian Lenny
I searched the forum and googled for some info but didn't find any
I really thank you for any help

fredcrs
Posts: 15
Joined: 2010-01-12 00:55

Re: apt stuck on "99% [Waiting for headers]" - please help

#2 Post by fredcrs »

I'll maybe have to format my computer then...=(

User avatar
bluesdog
Posts: 2077
Joined: 2006-02-01 09:02
Location: Similkameen, British Columbia, Canada
Been thanked: 1 time

Re: apt stuck on "99% [Waiting for headers]" - please help

#3 Post by bluesdog »

Probably nothing wrong with your computer

Try a different mirror


... or go have a nice cuppa and relax for a few minutes

User avatar
llivv
Posts: 5340
Joined: 2007-02-14 18:10
Location: cold storage

.

#4 Post by llivv »

.
Last edited by llivv on 2019-04-17 16:02, edited 1 time in total.
In memory of Ian Ashley Murdock (1973 - 2015) founder of the Debian project.

k-mart
Posts: 3
Joined: 2010-03-19 20:16

Re: apt stuck on "99% [Waiting for headers]" - please help

#5 Post by k-mart »

No no no, don't reformat your computer. This is a known bug in apt. Two links explaining a bit more:

http://code.google.com/p/chromium/issue ... l?id=38608
https://bugs.launchpad.net/ubuntu/+sour ... bug/528925

A workaround until this is resolved is to run

Code: Select all

apt-get -o Acquire::http::Pipeline-Depth=0 update

User avatar
Absent Minded
Posts: 3464
Joined: 2006-07-09 08:50
Location: Washington State U.S.A.
Been thanked: 3 times

Re: apt stuck on "99% [Waiting for headers]" - please help

#6 Post by Absent Minded »

A bit of a correction here... This is not a problem with Debian, apt-get or aptitude. It is a problem with Google's server hence the lines:

Code: Select all

Ign http://dl.google.com stable/non-free Packages/DiffIndex
Ign http://dl.google.com stable/main Packages/DiffIndex
Get:9 http://dl.google.com stable/non-free Packages [1025B]
Get:10 http://dl.google.com stable/main Packages [909B]
Fetched 109kB in 2min4s (877B/s)
Reading package lists... Done
Serving the community the best way I can.
Spreading the tradition of Community Spirit.
Please read some Basic Forum Philosophy
Give a man a fish, he eats for a day. Teach him how to fish, he eats for life.
Updated Nov. 19, 2012

User avatar
dilberts_left_nut
Administrator
Administrator
Posts: 5346
Joined: 2009-10-05 07:54
Location: enzed
Has thanked: 13 times
Been thanked: 66 times

Re: apt stuck on "99% [Waiting for headers]" - please help

#7 Post by dilberts_left_nut »

WTF?
How come apt is trying to download from google servers?

"All your apt is belong to us"...?
AdrianTM wrote:There's no hacker in my grandma...

User avatar
Absent Minded
Posts: 3464
Joined: 2006-07-09 08:50
Location: Washington State U.S.A.
Been thanked: 3 times

Re: apt stuck on "99% [Waiting for headers]" - please help

#8 Post by Absent Minded »

When a user installs Google Chrome it installs an aditional repo for Chrome in:

/etc/apt/sources.list.d/
called: google-chrome.list
Serving the community the best way I can.
Spreading the tradition of Community Spirit.
Please read some Basic Forum Philosophy
Give a man a fish, he eats for a day. Teach him how to fish, he eats for life.
Updated Nov. 19, 2012

User avatar
Absent Minded
Posts: 3464
Joined: 2006-07-09 08:50
Location: Washington State U.S.A.
Been thanked: 3 times

Re: apt stuck on "99% [Waiting for headers]" - please help

#9 Post by Absent Minded »

I guess "technically" the inability to support Google's pipelining could be considered a problem with apt. However, IMO Google "should" have known this limitation and made aproperate changes to their repository server.
Serving the community the best way I can.
Spreading the tradition of Community Spirit.
Please read some Basic Forum Philosophy
Give a man a fish, he eats for a day. Teach him how to fish, he eats for life.
Updated Nov. 19, 2012

User avatar
dilberts_left_nut
Administrator
Administrator
Posts: 5346
Joined: 2009-10-05 07:54
Location: enzed
Has thanked: 13 times
Been thanked: 66 times

Re: apt stuck on "99% [Waiting for headers]" - please help

#10 Post by dilberts_left_nut »

Absent Minded wrote:When a user installs Google Chrome it installs an aditional repo for Chrome in:

/etc/apt/sources.list.d/
called: google-chrome.list
That sounds like an excellent way to get tracking and advertising software onto your box.
I for one will NOT be giving root access to google.
AdrianTM wrote:There's no hacker in my grandma...

User avatar
debil
Posts: 1336
Joined: 2008-05-11 08:55
Location: Mazes of Menace, surrounded by brown puddings

Re: apt stuck on "99% [Waiting for headers]" - please help

#11 Post by debil »

dilberts_left_nut wrote:I for one will NOT be giving root access to google.
This was actually the other reason for not using Chrome. The other reason being no Vimperator.
Q: Why is the Eunux kernel so bloated?
A: It was made in the image of its founder.

User avatar
Korrode
Posts: 107
Joined: 2010-03-03 19:20
Location: Australia

Re: apt stuck on "99% [Waiting for headers]" - please help

#12 Post by Korrode »

http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=520324

I wait, as patiently as possible. :\

@debil
All 3+ extentions for Chrome to implement VIM-style keybindings were not suitable?

User avatar
debil
Posts: 1336
Joined: 2008-05-11 08:55
Location: Mazes of Menace, surrounded by brown puddings

Re: apt stuck on "99% [Waiting for headers]" - please help

#13 Post by debil »

Korrode wrote:@debil
All 3+ extentions for Chrome to implement VIM-style keybindings were not suitable?
At the time (few months ago) I couldn't find any Vim-extensions for Chrome whatsoever. Good to know about these if I ever decide to give it another try...
Q: Why is the Eunux kernel so bloated?
A: It was made in the image of its founder.

User avatar
sjukfan
Posts: 386
Joined: 2010-03-01 19:39

Re: apt stuck on "99% [Waiting for headers]" - please help

#14 Post by sjukfan »

Absent Minded wrote:/etc/apt/sources.list.d/google-chrome.list
<grr...> Took me a while to understand why apt checked the google server even though there was none in sources.list
Bullseye amd64, AMD Ryzen 5 3600
Buster amd64, Intel Xeon E3-1240 v3
Sid ppc, PowerPC 7447a
Sid ppc64, PowerPC 970FX

User avatar
Korrode
Posts: 107
Joined: 2010-03-03 19:20
Location: Australia

Re: apt stuck on "99% [Waiting for headers]" - please help

#15 Post by Korrode »

I wonder how many people are gonna jump on me if I start talking about how well using the Ubuntu PPA for Chromium beta is working for me, and has resolved the OP problem that I too was experiencing. :)

Post Reply