Visit Jeremy's Blog.
Go Back > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Debian This forum is for the discussion of Debian Linux.


  Search this Thread
Old 01-03-2006, 02:02 AM   #1
LQ Newbie
Registered: Jan 2006
Posts: 2

Rep: Reputation: 0
Problems with apt/sources.list and


We have a couple of strange problems with apt/sources.list.

Debian was installed from a Testing(Sarge) cd in November or December
2004. When sarge came closer to be stable we changed the sources. list
from testing to sarge, so we wouldn't get any problem when sarge went
from testing to stable. It worked well until autumn 2005, when we
started having trouble connecting to And later
after we have tried to fix the problem with,
another problem arose.

The first problem is a connection time out when connection to
Err http :// stable/ updates Release.gpg

Could not connect to (,
connection timed out

We can ping, and when we use nslookup it finds the
three mirrors for

Second problem is this:
Hit ftp :// stable Release.gpg
Hit ftp :// stable Release
Get:1 ftp :// stable/main Packages
Ign ftp :// stable/main Packages
Get:2 ftp :// stable/contrib Packages
Ign ftp :// stable/contrib Packages
Get:3 ftp :// stable/non-free Packages
Ign ftp :// stable/non-free Packages
Get:4 ftp :// stable/main Sources
Ign ftp :// stable/main Sources
Get:5 ftp :// stable/contrib Sources
Ign ftp :// stable/contrib Sources
Get:6 ftp :// stable/non-free Sources
Ign ftp :// stable/non-free Sources
Hit ftp :// stable/main Packages
Hit ftp :// stable/contrib Packages
Hit ftp :// stable/non-free Packages
Hit ftp :// stable/main Sources
Hit ftp :// stable/contrib Sources
Hit ftp :// stable/non-free Sources

It looks like apt is trying twice to hit ftp ://, and
fails?/ ignores the first time, and then succedes the second try. In the
sources. list we have only one entry for ftp ://, so
there shouldn't be any need for two tries.

#deb file:///cdrom/ sarge main

deb ftp :// stable main contrib non-free
deb-src ftp :// stable main contrib non-free

deb http :// stable/updates main contrib non-free

We get the same errors with sarge in sources.list instead of stable.

Have anyone had the same problems, or do anyone have any ideas on how
we can fix these problems?

Geir Roger Moen
Old 01-03-2006, 05:09 AM   #2
Senior Member
Registered: Dec 2003
Location: Trondheim, Norway
Distribution: Debian and Ubuntu
Posts: 1,333

Rep: Reputation: 362Reputation: 362Reputation: 362Reputation: 362

Could be problem with the mirror perhaps? I've seen it before, one day the entire debian directory was gone from the norwegian mirror, the next day it was back

Here's my sources.list

deb sarge main non-free
deb-src sarge main non-free

deb sarge/updates main non-free

Note it uses http not ftp to get the stuff. Works fine.
Old 01-04-2006, 06:56 AM   #3
LQ Newbie
Registered: Jan 2006
Posts: 2

Original Poster
Rep: Reputation: 0

I'm sorry for not responding earlier, but we have had some trouble with our internet line.

Mirrors being up or down is not the problem. If you look at the log from apt-get update you will see that apt-get tries to hit twice and the first time it is ignored, but second try it hits as it should.

Our second problem with security. debian. org is now fixed, but as with org wo now also have the problem that apt tries to hit security. debian. org two times.

apt-get update log:
Get:1 ftp :// sarge Release.gpg [189B]
Get:2 ftp :// sarge Release [22.8kB]
Get:3 http :// sarge/updates Release.gpg [189B]
Get:4 ftp :// sarge/main Packages
Ign ftp :// sarge/main Packages
Get:5 ftp :// sarge/contrib Packages
Ign ftp :// sarge/contrib Packages
Get:6 http :// sarge/updates Release [20.0kB]
Get:7 ftp :// sarge/non-free Packages
Ign ftp :// sarge/non-free Packages
Get:8 ftp :// sarge/main Sources
Ign ftp :// sarge/main Sources
Get:9 ftp :// sarge/contrib Sources
Ign ftp :// sarge/contrib Sources
Get:10 ftp :// sarge/non-free Sources
Ign ftp :// sarge/non-free Sources
Get:11 ftp :// sarge/main Packages [3349kB]
Ign http :// sarge/updates/main Packages
Ign http :// sarge/updates/contrib Packages
Ign http :// sarge/updates/non-free Packages
Get:12 http :// sarge/updates/main Packages [166kB]
Get:13 ftp :// sarge/contrib Packages [56.2kB]    
Get:14 ftp :// sarge/non-free Packages [58.4kB]                
Get:15 http :// sarge/updates/contrib Packages [538B]        
Get:16 ftp :// sarge/main Sources [1322kB]                     
Get:17 http :// sarge/updates/non-free Packages [20B]      
Get:18 ftp :// sarge/contrib Sources [24.8kB]                
Get:19 ftp :// sarge/non-free Sources [23.5kB]
Fetched 5042kB in 3s (1522kB/s)                       
Reading package lists... Done
Does anyone know why the mirrors are hit twice? There are just one entry for each in our sources.list.

#deb file:///cdrom/ sarge main

deb ftp :// sarge main contrib non-free
deb-src ftp :// sarge main contrib non-free

deb http :// sarge/updates main contrib non-free


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Need Recommendation for Debian Etch sources.list ( /etc/apt/sources.list ) forgox Debian 6 05-05-2007 01:57 PM
apt-get update errors since Debian released ( bad /etc/apt/sources.list ?) forgox Debian 10 06-13-2005 12:28 PM
apt query concerning unstable entry f0rmula Linux - Software 2 12-03-2004 02:01 PM
Guide: apt-get sources,list for KDE KDevelop on Debian/Xandros jdruin Linux - Software 0 10-25-2004 08:09 PM
help with /etc/apt/sources.list please Lleb_KCir Linux - Software 0 10-05-2004 01:15 PM > Forums > Linux Forums > Linux - Distributions > Debian

All times are GMT -5. The time now is 04:07 AM.

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