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

Re: portas do apt



Olá,

Falando em portas do apt, não estou mais conseguindo acessar via ftp o espelho ftp.br.debian.org.

 Meu /etc/apt/sources.list estava:

deb ftp://ftp.br.debian.org/debian/ testing main non-free contrib
deb-src ftp://ftp.br.debian.org/debian/ testing main non-free contrib

 E tive que mudar o ftp para http para poder dar certo, ficando assim:

deb http://ftp.br.debian.org/debian/ testing main non-free contrib
deb-src http://ftp.br.debian.org/debian/ testing main non-free contrib

 O erro que dá é esse:

# apt-get update
Ign cdrom://[Debian GNU/Linux testing _Etch_ - Official Snapshot i386 NETINST Binary-1 20070117-08:57] etch Release.gpg Ign cdrom://[Debian GNU/Linux testing _Etch_ - Official Snapshot i386 NETINST Binary-1 20070117-08:57] etch Release Ign cdrom://[Debian GNU/Linux testing _Etch_ - Official Snapshot i386 NETINST Binary-1 20070117-08:57] etch/contrib Packages/DiffIndex Ign cdrom://[Debian GNU/Linux testing _Etch_ - Official Snapshot i386 NETINST Binary-1 20070117-08:57] etch/main Packages/DiffIndex
Err ftp://ftp.br.debian.org testing Release.gpg
Não foi possível conectar em ftp.br.debian.org:21 (200.17.202.1). - connect (111 Conexão recusada)
66% [Aguardando por cabeçalhos]

 Fica um bom tempo aí e depois solta:

Obtendo:1 http://security.debian.org testing/updates Release.gpg [189B]
Atingido http://security.debian.org testing/updates Release
Ign http://security.debian.org testing/updates/main Packages/DiffIndex
Ign http://security.debian.org testing/updates/contrib Packages/DiffIndex
Ign http://security.debian.org testing/updates/non-free Packages/DiffIndex
Ign http://security.debian.org testing/updates/main Sources/DiffIndex
Ign http://security.debian.org testing/updates/contrib Sources/DiffIndex
Ign http://security.debian.org testing/updates/non-free Sources/DiffIndex
Atingido http://security.debian.org testing/updates/main Packages
Atingido http://security.debian.org testing/updates/contrib Packages
Atingido http://security.debian.org testing/updates/non-free Packages
Atingido http://security.debian.org testing/updates/main Sources
Atingido http://security.debian.org testing/updates/contrib Sources
Atingido http://security.debian.org testing/updates/non-free Sources
Baixados 1B em 2m4s (0B/s)
Falha ao buscar ftp://ftp.br.debian.org/debian/dists/testing/Release.gpg Não foi possível conectar em ftp.br.debian.org:21 (200.17.202.1). - connect (111 Conexão recusada)
Lendo lista de pacotes... Pronto
E: Alguns arquivos de índice falharam para baixar, eles foram ignorados ou os antigos foram usados no lugar.

Usando http em vez de ftp como especificação de protocolo o erro não ocorre e as atualizações decorrem normalmente.

Alguém está tendo o mesmo problema? Sabe do por quê? Sempre tive a concepção de ftp ter menos over-head que http, então tem lógica/vantagem de transferir arquivos por http?

--
Atenciosamente,

          Junior Polegato

          Um peregrino de problemas; Um pergaminho de soluções!
          Página Profissional: http://www.juniorpolegato.com.br



Reply to: