FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Debian > Debian User

 
 
LinkBack Thread Tools
 
Old 01-03-2009, 02:39 AM
oxy
 
Default apt-get cannot conect to server

Hi all,
similar posts around refer to wrong proxy configuration, wrong
/etc/apt/sources.list files etc. None seems to be my case. Look:

# apt-get update
Err http://security.debian.org etch/updates Release.gpg
Could not connect to security.debian.org:80 (1.0.0.0), connection timed out
Err http://download.virtualbox.org etch Release.gpg
Could not connect to download.virtualbox.org:80 (1.0.0.0),
connection timed out
Err http://ftp.de.debian.org etch Release.gpg
Could not connect to ftp.de.debian.org:80 (1.0.0.0), connection timed out
Failed to fetch http://ftp.de.debian.org/debian/dists/etch/Release.gpg
Could not connect to ftp.de.debian.org:80 (1.0.0.0), connection timed
out
Failed to fetch
http://security.debian.org/dists/etch/updates/Release.gpg Could not
connect to security.debian.org:80 (1.0.0.0), connection timed out
Failed to fetch
http://download.virtualbox.org/virtualbox/debian/dists/etch/Release.gpg
Could not connect to download.virtualbox.org:80 (1.0.0.0), connection
timed out
Reading package lists... Done
E: Some index files failed to download, they have been ignored, or old
ones used instead.

Its a debian etch connected to internet and resolving names, having
the following /etc/apt/sources.list file:

deb http://ftp.de.debian.org/debian/ etch main contrib non-free
deb-src http://ftp.de.debian.org/debian/ etch main contrib non-free

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

My apt-get:

# apt-get --version
apt 0.6.46.4-0.1 for linux i386 compiled on Feb 26 2007 16:19:57
Supported modules:
*Ver: Standard .deb
*Pkg: Debian dpkg interface (Priority 30)
S.L: 'deb' Standard Debian binary tree
S.L: 'deb-src' Standard Debian source tree
Idx: Debian Source Index
Idx: Debian Package Index
Idx: Debian dpkg status file

The only major change i've done lately is to conect to different networks
using different host/domain names. (seems no real reason for problems)

I have no /etc/apt/apt.conf or /etc/apt/preferences file in my system.

Any help? Thanx in advance ...


--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
 
Old 01-03-2009, 02:54 AM
Jeff D
 
Default apt-get cannot conect to server

On Sat, 3 Jan 2009, oxy wrote:

> Hi all,
> similar posts around refer to wrong proxy configuration, wrong
> /etc/apt/sources.list files etc. None seems to be my case. Look:
>
> # apt-get update
> Err http://security.debian.org etch/updates Release.gpg
> Could not connect to security.debian.org:80 (1.0.0.0), connection timed out
> Err http://download.virtualbox.org etch Release.gpg
> Could not connect to download.virtualbox.org:80 (1.0.0.0),
> connection timed out

<snip>

>
> The only major change i've done lately is to conect to different networks
> using different host/domain names. (seems no real reason for problems)
>
> I have no /etc/apt/apt.conf or /etc/apt/preferences file in my system.
>
> Any help? Thanx in advance ...
>
>
>

Kinda looks like dns issues, I would double check to see if your system is
resolving dns properly.

what do you get for:
host security.debian.org
host download.virtualbox.org
host ftp.de.debian.org
??

Jeff
--
8 out of 10 Owners who Expressed a Preference said Their Cats Preferred Techno.


--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
 
Old 01-03-2009, 03:12 AM
oxy
 
Default apt-get cannot conect to server

no, looks fine for all nslookups. Like bellow:

# host security.debian.org
security.debian.org has address 130.89.149.225
security.debian.org has address 195.20.242.89
security.debian.org has address 212.211.132.32
security.debian.org has address 212.211.132.250
security.debian.org has address 128.31.0.36
;; Warning: Message parser reports malformed message packet.
;; connection timed out; no servers could be reached


On 1/3/09, Jeff D <fixedored@gmail.com> wrote:
> On Sat, 3 Jan 2009, oxy wrote:
>
>> Hi all,
>> similar posts around refer to wrong proxy configuration, wrong
>> /etc/apt/sources.list files etc. None seems to be my case. Look:
>>
>> # apt-get update
>> Err http://security.debian.org etch/updates Release.gpg
>> Could not connect to security.debian.org:80 (1.0.0.0), connection timed
>> out
>> Err http://download.virtualbox.org etch Release.gpg
>> Could not connect to download.virtualbox.org:80 (1.0.0.0),
>> connection timed out
>
> <snip>
>
>>
>> The only major change i've done lately is to conect to different networks
>> using different host/domain names. (seems no real reason for problems)
>>
>> I have no /etc/apt/apt.conf or /etc/apt/preferences file in my system.
>>
>> Any help? Thanx in advance ...
>>
>>
>>
>
> Kinda looks like dns issues, I would double check to see if your system is
> resolving dns properly.
>
> what do you get for:
> host security.debian.org
> host download.virtualbox.org
> host ftp.de.debian.org
> ??
>
> Jeff
> --
> 8 out of 10 Owners who Expressed a Preference said Their Cats Preferred
> Techno.
>
>
> --
> To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
> with a subject of "unsubscribe". Trouble? Contact
> listmaster@lists.debian.org
>
>


--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
 
Old 01-03-2009, 03:19 AM
chris
 
Default apt-get cannot conect to server

On Sat, 03 Jan 2009 01:39:13 -0200, oxy wrote:

> Could not connect to security.debian.org:80 (1.0.0.0)

Is that an ip address in brackets?

> The only major change i've done lately is to conect to different
networks
> using different host/domain names. (seems no real reason for problems)

Have fun!


--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
 
Old 01-03-2009, 03:35 AM
chris
 
Default apt-get cannot conect to server

On Sat, 03 Jan 2009 02:12:09 -0200, oxy wrote:

> no, looks fine for all nslookups.

First part looks good, but what is this?

> [snip] ;; Warning: Message parser reports malformed
> message packet. ;; connection timed out; no servers could be reached

Could it be that apt is configured to use those servers?

Point is that apt is resolving all hosts to 1.0.0.0. Why is that? When
you can successfully do an nslookup for the same hosts?


Have fun!


--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
 
Old 01-03-2009, 11:48 AM
Tzafrir Cohen
 
Default apt-get cannot conect to server

On Sat, Jan 03, 2009 at 04:19:29AM +0000, chris wrote:
> On Sat, 03 Jan 2009 01:39:13 -0200, oxy wrote:
>
> > Could not connect to security.debian.org:80 (1.0.0.0)
>
> Is that an ip address in brackets?

Yes .

Do you get the same result after an explicit 'host security.debian.org'?

Alternatively: can you replace your router's DNS server with the one in
your ISP (in /etc/resolv.conf) ?

I've seen this as a result of a buggy caching DNS server used by various
routers.

--
Tzafrir Cohen | tzafrir@jabber.org | VIM is
http://tzafrir.org.il | | a Mutt's
tzafrir@cohens.org.il | | best
ICQ# 16849754 | | friend


--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
 
Old 01-03-2009, 03:58 PM
Chris Davies
 
Default apt-get cannot conect to server

oxy <oxyopes@googlemail.com> wrote:
> similar posts around refer to wrong proxy configuration, wrong
> /etc/apt/sources.list files etc. None seems to be my case. Look:

> # apt-get update
> Err http://security.debian.org etch/updates Release.gpg
> Could not connect to security.debian.org:80 (1.0.0.0), connection timed out

> I have no /etc/apt/apt.conf or /etc/apt/preferences file in my system.

Some (more) questions, for you:

* Do you have anything in the directory /etc/apt/apt.conf.d?
* Is there any reference to security.debian.org in /etc/hosts?
* What is the value of the environment variable $http_proxy?
* Do you have any iptables rerouting rules ("iptables -t nat -nvL")?

Cheers,
Chris


--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
 
Old 01-03-2009, 04:29 PM
oxy
 
Default apt-get cannot conect to server

* Do you have anything in the directory /etc/apt/apt.conf.d?

more /etc/apt/apt.conf.d/*
::::::::::::::
/etc/apt/apt.conf.d/00trustcdrom
::::::::::::::
APT::Authentication::TrustCDROM "true";
::::::::::::::
/etc/apt/apt.conf.d/10periodic
::::::::::::::
APT::Periodic::Update-Package-Lists "1";
APT::Periodic:ownload-Upgradeable-Packages "0";
::::::::::::::
/etc/apt/apt.conf.d/70debconf
::::::::::::::
// Pre-configure all packages with debconf before they are installed.
// If you don't like it, comment it out.
DPkg::Pre-Install-Pkgs {"/usr/sbin/dpkg-preconfigure --apt || true";};



* Is there any reference to security.debian.org in /etc/hosts? no

* What is the value of the environment variable $http_proxy? nothing

* Do you have any iptables rerouting rules ("iptables -t nat -nvL")?

# iptables -t nat -nvL
Chain PREROUTING (policy ACCEPT 0 packets, 0 bytes)
pkts bytes target prot opt in out source
destination

Chain POSTROUTING (policy ACCEPT 0 packets, 0 bytes)
pkts bytes target prot opt in out source
destination

Chain OUTPUT (policy ACCEPT 0 packets, 0 bytes)
pkts bytes target prot opt in out source
destination


On 1/3/09, Chris Davies <chris-usenet@roaima.co.uk> wrote:
> oxy <oxyopes@googlemail.com> wrote:
>> similar posts around refer to wrong proxy configuration, wrong
>> /etc/apt/sources.list files etc. None seems to be my case. Look:
>
>> # apt-get update
>> Err http://security.debian.org etch/updates Release.gpg
>> Could not connect to security.debian.org:80 (1.0.0.0), connection timed
>> out
>
>> I have no /etc/apt/apt.conf or /etc/apt/preferences file in my system.
>
> Some (more) questions, for you:
>
> * Do you have anything in the directory /etc/apt/apt.conf.d?
> * Is there any reference to security.debian.org in /etc/hosts?
> * What is the value of the environment variable $http_proxy?
> * Do you have any iptables rerouting rules ("iptables -t nat -nvL")?
>
> Cheers,
> Chris
>
>
> --
> To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
> with a subject of "unsubscribe". Trouble? Contact
> listmaster@lists.debian.org
>
>


--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
 
Old 01-03-2009, 04:33 PM
oxy
 
Default apt-get cannot conect to server

I changed /etc/apt/sources.list and got the followihg:

# apt-get update
Get:1 http://http.us.debian.org etch Release.gpg [386B]
Hit http://http.us.debian.org etch Release
Ign http://http.us.debian.org etch/main Packages/DiffIndex
Hit ftp://ftp.us.debian.org testing Release.gpg
Ign http://http.us.debian.org etch/contrib Packages/DiffIndex
Ign http://http.us.debian.org etch/non-free Packages/DiffIndex
Hit http://http.us.debian.org etch/main Packages
Hit ftp://ftp.us.debian.org testing Release
Hit http://http.us.debian.org etch/contrib Packages
Hit http://http.us.debian.org etch/non-free Packages
Hit ftp://ftp.us.debian.org testing/main Packages/DiffIndex
Hit ftp://ftp.us.debian.org testing/contrib Packages/DiffIndex
Hit ftp://ftp.us.debian.org testing/non-free Packages/DiffIndex
Fetched 1B in 4s (0B/s)
Reading package lists... Error!
E: Dynamic MMap ran out of room
E: Error occurred while processing tkusr (NewVersion1)
E: Problem with MergeList
/var/lib/apt/lists/http.us.debian.org_debian_dists_etch_main_binary-i386_Packages
E: The package lists or status file could not be parsed or opened.


I tried
rm /var/lib/apt/lists/lock /var/lib/apt/lists/partial/*

(dont know what they do). Then
# apt-get update
Err http://http.us.debian.org etch Release.gpg
Could not connect to http.us.debian.org:80 (1.0.0.0),
connection timed out
Err ftp://ftp.us.debian.org testing Release.gpg
Could not connect to ftp.us.debian.org:21 (1.0.0.0),
connection timed out
Failed to fetch
ftp://ftp.us.debian.org/debian/dists/testing/Release.gpg Could not
connect to ftp.us.debian.org:21 (1.0.0.0), connection timed out
Failed to fetch
http://http.us.debian.org/debian/dists/etch/Release.gpg Could not
connect to http.us.debian.org:80 (1.0.0.0), connection timed out
Reading package lists... Error!
E: Dynamic MMap ran out of room
E: Error occurred while processing tkusr (NewVersion1)
E: Problem with MergeList
/var/lib/apt/lists/http.us.debian.org_debian_dists_etch_main_binary-i386_Packages
E: The package lists or status file could not be parsed or opened.


It s a mess. bUt i believe there is a specific problem
to be addressed.
just dont know which! Maybe this email is more confusing
then helping.
If u aggree, just ignore it :-)



On 1/3/09, oxy <oxyopes@googlemail.com> wrote:
> * Do you have anything in the directory /etc/apt/apt.conf.d?
>
> more /etc/apt/apt.conf.d/*
> ::::::::::::::
> /etc/apt/apt.conf.d/00trustcdrom
> ::::::::::::::
> APT::Authentication::TrustCDROM "true";
> ::::::::::::::
> /etc/apt/apt.conf.d/10periodic
> ::::::::::::::
> APT::Periodic::Update-Package-Lists "1";
> APT::Periodic:ownload-Upgradeable-Packages "0";
> ::::::::::::::
> /etc/apt/apt.conf.d/70debconf
> ::::::::::::::
> // Pre-configure all packages with debconf before they are installed.
> // If you don't like it, comment it out.
> DPkg::Pre-Install-Pkgs {"/usr/sbin/dpkg-preconfigure --apt || true";};
>
>
>
> * Is there any reference to security.debian.org in /etc/hosts? no
>
> * What is the value of the environment variable $http_proxy? nothing
>
> * Do you have any iptables rerouting rules ("iptables -t nat -nvL")?
>
> # iptables -t nat -nvL
> Chain PREROUTING (policy ACCEPT 0 packets, 0 bytes)
> pkts bytes target prot opt in out source
> destination
>
> Chain POSTROUTING (policy ACCEPT 0 packets, 0 bytes)
> pkts bytes target prot opt in out source
> destination
>
> Chain OUTPUT (policy ACCEPT 0 packets, 0 bytes)
> pkts bytes target prot opt in out source
> destination
>
>
> On 1/3/09, Chris Davies <chris-usenet@roaima.co.uk> wrote:
>> oxy <oxyopes@googlemail.com> wrote:
>>> similar posts around refer to wrong proxy configuration, wrong
>>> /etc/apt/sources.list files etc. None seems to be my case. Look:
>>
>>> # apt-get update
>>> Err http://security.debian.org etch/updates Release.gpg
>>> Could not connect to security.debian.org:80 (1.0.0.0), connection timed
>>> out
>>
>>> I have no /etc/apt/apt.conf or /etc/apt/preferences file in my system.
>>
>> Some (more) questions, for you:
>>
>> * Do you have anything in the directory /etc/apt/apt.conf.d?
>> * Is there any reference to security.debian.org in /etc/hosts?
>> * What is the value of the environment variable $http_proxy?
>> * Do you have any iptables rerouting rules ("iptables -t nat -nvL")?
>>
>> Cheers,
>> Chris
>>
>>
>> --
>> To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
>> with a subject of "unsubscribe". Trouble? Contact
>> listmaster@lists.debian.org
>>
>>
>


--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
 
Old 01-04-2009, 06:40 AM
chris
 
Default apt-get cannot conect to server

On Sat, 03 Jan 2009 15:33:36 -0200, oxy wrote:

> I changed /etc/apt/sources.list and got the followihg:
>
> # apt-get update
> Get:1 http://http.us.debian.org etch Release.gpg [386B] Hit
> http://http.us.debian.org etch Release Ign http://http.us.debian.org
> etch/main Packages/DiffIndex Hit ftp://ftp.us.debian.org testing
> Release.gpg Ign http://http.us.debian.org etch/contrib
> Packages/DiffIndex Ign http://http.us.debian.org etch/non-free
> Packages/DiffIndex Hit http://http.us.debian.org etch/main Packages Hit
> ftp://ftp.us.debian.org testing Release Hit http://http.us.debian.org
> etch/contrib Packages Hit http://http.us.debian.org etch/non-free
> Packages Hit ftp://ftp.us.debian.org testing/main Packages/DiffIndex Hit
> ftp://ftp.us.debian.org testing/contrib Packages/DiffIndex Hit
> ftp://ftp.us.debian.org testing/non-free Packages/DiffIndex Fetched 1B
> in 4s (0B/s)
> Reading package lists... Error!
> E: Dynamic MMap ran out of room


You may need to look at /etc/apt.conf Apt::Cache-Limit
But if you clear up your sources.list you probably are fine:
http://http.us.debian.org etch/
ftp://ftp.us.debian.org testing/
use just one of these.

> E: Error occurred while processing tkusr (NewVersion1) E: Problem with
> MergeList
> /var/lib/apt/lists/http.us.debian.org_debian_dists_etch_main_binary-
i386_Packages
> E: The package lists or status file could not be parsed or opened.
>
>
> I tried
> rm /var/lib/apt/lists/lock /var/lib/apt/lists/partial/*
>
> (dont know what they do).


Now that is what I call an adventures attitude.


> # apt-get update
> Err http://http.us.debian.org etch Release.gpg
> Could not connect to http.us.debian.org:80 (1.0.0.0),
> connection timed out
>
>
> bUt i believe there is a specific problem
> to be addressed.

I think so too. Please give some info on your dns. What is in /etc/
resolv.conf? Have your tried the suggestion of using another dns server?
Do you have dnsmasque installed? DHCP/dns from a (cheap) router?


Have fun!


--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
 

Thread Tools




All times are GMT. The time now is 01:27 PM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org