LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices


Reply
  Search this Thread
Old 05-25-2006, 02:51 PM   #1
slackhack
Senior Member
 
Registered: Jun 2004
Distribution: Arch, Debian, Slack
Posts: 1,016

Rep: Reputation: 47
apt update stalls on security


lately when i do apt-get update, it stalls at 99% on security.debian.org. does anyone know what's wrong with the repository, or is there another one to use instead?

UPDATE:

when i tried other mirrors, it still hangs.
original mirror:
deb http://security.debian.org/ stable/updates main

second mirror:
deb http://security.debian.org etch/updates main contrib non-free

third mirror:
deb http://secure-testing.debian.net/debian-secure-testing testing/security-updates main contrib non-free

in the time it took to type that, i'm getting this returned from trying the third mirror:

Code:
W: Couldn't stat source package list http://secure-testing.debian.net testing/security-updates/non-free Packages (/var/lib/apt/lists/secure-testing.debian.net_debian-secure-testing_dists_testing_security-updates_non-free_binary-i386_Packages) - stat (2 No such file or directory)
W: You may want to run apt-get update to correct these problems
E: Some index files failed to download, they have been ignored, or old ones used instead.
"you may want to run apt-get update?" that's what i am running.

Last edited by slackhack; 05-26-2006 at 02:41 PM.
 
Old 05-26-2006, 02:45 PM   #2
rickh
Senior Member
 
Registered: May 2004
Location: Albuquerque, NM USA
Distribution: Debian-Lenny/Sid 32/64 Desktop: Generic AMD64-EVGA 680i Laptop: Generic Intel SIS-AC97
Posts: 4,250

Rep: Reputation: 62
Here's an old thread discussing Etch security, among other things ... Doesn't address your exact problem, but maybe something in there will trigger an epiphany.

Failing that ... maybe post your entire sources.list file.
 
Old 05-26-2006, 02:57 PM   #3
slackhack
Senior Member
 
Registered: Jun 2004
Distribution: Arch, Debian, Slack
Posts: 1,016

Original Poster
Rep: Reputation: 47
thanks, but nothing there seems to work. now i'm getting paranoid that i've been compromised, and the hacker altered something to prevent whatever exploit s/he used to get in from getting updated. every security URL i try times out -- it seems to be related to this Release.gpg file:

Code:
root@moe:/etc/apt # apt-get update
Get: 1 http://http.us.debian.org testing Release.gpg [189B]
Hit http://http.us.debian.org testing Release
Hit http://http.us.debian.org testing/main Packages               
Hit http://http.us.debian.org testing/contrib Packages
Hit http://http.us.debian.org testing/non-free Packages            
Errhttp://secure-testing.debian.net testing/security-updates Release.gpg                                                                   
  Could not connect to secure-testing.debian.net:80 (82.195.75.34), connection timed out
Fetched 1B in 2m0s (0B/s)                                   
Failed to fetch http://secure-testing.debian.net/debian-secure-testing/dists/testing/security-updates/Release.gpg  Could not connect to secure-testing.debian.net:80 (82.195.75.34), connection timed out
Reading package lists... Done
E: Some index files failed to download, they have been ignored, or old ones used instead.
[code]

i stripped down my sources.list until i can fix the problem:

Code:
###############
### testing ###
###############

#deb http://mirrors.kernel.org/debian/ testing main
deb http://http.us.debian.org/debian/ testing main contrib non-free


########################
### security updates ###
########################

#deb http://security.debian.org/ stable/updates main
#deb http://security.debian.org etch/updates main contrib non-free
deb http://secure-testing.debian.net/debian-secure-testing testing/security-updates main contrib non-free
 
Old 05-26-2006, 03:01 PM   #4
craigevil
Senior Member
 
Registered: Apr 2005
Location: OZ
Distribution: Debian Sid/RPIOS
Posts: 4,886
Blog Entries: 28

Rep: Reputation: 533Reputation: 533Reputation: 533Reputation: 533Reputation: 533Reputation: 533
Change http://secure-testing.debian.net testing/ to
http://security.debian.org etch/updates main contrib non-free

The Etch security repo changed a while back.
A good Etch sources.list:
# Testing Etch
#deb http://http.us.debian.org/debian/ testing main contrib non-free
# Testing Sources
#deb-src http://http.us.debian.org/debian/ testing main contrib non-free
# Testing Security Updates
# For more info visit: http://secure-testing.debian.net/
#deb http://security.debian.org etch/updates main contrib non-free
#deb-src http://security.debian.org etch/updates main contrib non-free
 
Old 05-26-2006, 03:10 PM   #5
slackhack
Senior Member
 
Registered: Jun 2004
Distribution: Arch, Debian, Slack
Posts: 1,016

Original Poster
Rep: Reputation: 47
Quote:
Originally Posted by craigevil
Change http://secure-testing.debian.net testing/ to
http://security.debian.org etch/updates main contrib non-free
yeah, that's the second one i tried after reading through your sticky thread on the sources.list. it's hanging along with the other ones. i don't think it's the sources, i think something's going on that shouldn't be going on. i've started going through some of my logs now, but i'm not seeing anything weird yet. this is a headless server with ftp, http, bittorrent, mysql apps running. maybe someone got in...

Last edited by slackhack; 05-26-2006 at 03:11 PM.
 
Old 05-26-2006, 03:31 PM   #6
rickh
Senior Member
 
Registered: May 2004
Location: Albuquerque, NM USA
Distribution: Debian-Lenny/Sid 32/64 Desktop: Generic AMD64-EVGA 680i Laptop: Generic Intel SIS-AC97
Posts: 4,250

Rep: Reputation: 62
Quote:
The Etch security repo changed a while back.
I read about that, and put the line in my sources.list, but it doesn't work yet for my AMD64 release. Either one works for the i386 install, tho.
 
Old 05-26-2006, 05:08 PM   #7
Michael_aust
Member
 
Registered: Aug 2005
Location: Lancashire (United Kingdom)
Distribution: Debian Etch, on 686 machine.
Posts: 509

Rep: Reputation: 31
does the testing security repository have to point to:

deb http://security.debian.org etch/updates main contrib non-free

or will it still work if I have it in my sources list as;

deb http://security.debian.org testing/updates main contrib non-free

is the etch required or will i still be able to recieve the same security updates if I have it as the second version shown above?
 
Old 06-12-2006, 05:08 PM   #8
new2penguin
LQ Newbie
 
Registered: Aug 2005
Distribution: Mandriva 2006
Posts: 5

Rep: Reputation: 0
It doesn't matter. The variable Etch is interchangable with testing just as Sarge is interchangable with stable and Sid is interchangable with unstable.

Hopefully this clears up the confusion.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
yum update stalls lsu420luv Fedora 10 03-24-2006 12:00 PM
Can't update security (apt-get) eeried Linux - Newbie 0 07-14-2004 03:50 PM
update security with apt-get waffe Debian 2 05-21-2004 08:37 PM
apt-get doesnt get security update gongli Debian 4 04-14-2004 08:56 PM
LILO stalls after online update cbd1 Linux - Newbie 1 02-19-2004 05:38 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian

All times are GMT -5. The time now is 11:45 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration