sometimes, the commands below works for me:

sudo rm /var/lib/apt/lists/* -vf
sudo apt-get clean
sudo apt-get update




On Thu, Oct 10, 2013 at 2:48 PM, Steven G. Johnson <[email protected]>wrote:

> A few days ago I did an "apt-get update && apt-get dist-upgrade" on our
> amd64 Debian system to update it to wheezy.  Things went mostly okay
> (although it got stuck once on a php update and I had to kill and restart
> apt-get).   However, ever since then apt-get update has failed.
>
> I am not behind a firewall.  The only uncommented line in my
> /etc/apt/sources.list is:
>
>      deb 
> http://ftp.us.debian.org/**debian/<http://ftp.us.debian.org/debian/>stable 
> main contrib non-free
>
> Running "apt-get update" yields the "Connection failed" errors listed
> below.  I've also run "apt-get update -o Debug::Acquire::http=true" to get
> more verbose output, which I've put at http://jdj.mit.edu/~stevenj/**
> apt-get-update.out <http://jdj.mit.edu/~stevenj/apt-get-update.out> in
> case it is helpful. Running e.g "wget http://debian.lcs.mit.edu/**
> debian/dists/stable/main/i18n/**Translation-en.bz2<http://debian.lcs.mit.edu/debian/dists/stable/main/i18n/Translation-en.bz2>"
> works fine, so it is not a network problem.
>
> Any pointers would be much appreciated.
>
> --SGJ
>
> ------------------- "apt-get update" output ------------------
> Err http://ftp.us.debian.org stable Release.gpg
>   Connection failed
> Ign http://ftp.us.debian.org stable Release
> Err http://ftp.us.debian.org stable/main amd64 Packages
>   Connection failed
> Err http://ftp.us.debian.org stable/contrib amd64 Packages
>   Connection failed
> Err http://ftp.us.debian.org stable/non-free amd64 Packages
>   Connection failed
> Err http://ftp.us.debian.org stable/contrib Translation-en
>   Connection failed
> Err http://ftp.us.debian.org stable/main Translation-en
>   Connection failed
> Err http://ftp.us.debian.org stable/non-free Translation-en
>   Connection failed
> W: Failed to fetch http://ftp.us.debian.org/**debian/dists/stable/Release.
> **gpg <http://ftp.us.debian.org/debian/dists/stable/Release.gpg> Connection 
> failed
>
> W: Failed to fetch http://ftp.us.debian.org/**debian/dists/stable/main/**
> binary-amd64/Packages<http://ftp.us.debian.org/debian/dists/stable/main/binary-amd64/Packages>
>  Connection failed
>
> W: Failed to fetch http://ftp.us.debian.org/**debian/dists/stable/contrib/
> **binary-amd64/Packages<http://ftp.us.debian.org/debian/dists/stable/contrib/binary-amd64/Packages>
>  Connection failed
>
> W: Failed to fetch http://ftp.us.debian.org/**
> debian/dists/stable/non-free/**binary-amd64/Packages<http://ftp.us.debian.org/debian/dists/stable/non-free/binary-amd64/Packages>
>  Connection failed
>
> W: Failed to fetch http://ftp.us.debian.org/**debian/dists/stable/contrib/
> **i18n/Translation-en<http://ftp.us.debian.org/debian/dists/stable/contrib/i18n/Translation-en>
>  Connection failed
>
> W: Failed to fetch http://ftp.us.debian.org/**
> debian/dists/stable/main/i18n/**Translation-en<http://ftp.us.debian.org/debian/dists/stable/main/i18n/Translation-en>Connection
>  failed
>
> W: Failed to fetch http://ftp.us.debian.org/**
> debian/dists/stable/non-free/**i18n/Translation-en<http://ftp.us.debian.org/debian/dists/stable/non-free/i18n/Translation-en>Connection
>  failed
>
> E: Some index files failed to download. They have been ignored, or old
> ones used instead.
>
>
> --
> To UNSUBSCRIBE, email to 
> debian-user-REQUEST@lists.**debian.org<[email protected]>with
>  a subject of "unsubscribe". Trouble? Contact
> [email protected]
> Archive: 
> http://lists.debian.org/**[email protected]<http://lists.debian.org/[email protected]>
>
>


-- 
Danilo Sampaio
Skype: danilosampa
Msn: [email protected]

Dyad & Associados
40084711

Reply via email to