[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: 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::Download-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
>
>


Reply to: