Autor Tópico: [RESOLVIDO]UBUNTU 14.04 + UBUNTU 15.00 apt-get LENTO  (Lida 13264 vezes)

Offline willsazon

  • Usuário Ubuntu
  • *
  • Mensagens: 116
  • User linux- 487642
    • Ver perfil
    • Loadti
[RESOLVIDO]UBUNTU 14.04 + UBUNTU 15.00 apt-get LENTO
« Online: 19 de Maio de 2015, 16:34 »
Boa tarde a todos,

possuo na empresa onde trabalho 2 servidores (Proxy/Banco de dados) com o Ubuntu 12.04 instalado.
Estamos fazendo uma reestruturação na rede da empresa, trocando servidores e adicionando novos.

Como o ubuntu 12.04 parece ter pedido o suporte e visando melhorias, segurança na rede optamos por atualizar o sistema dos servidores do Ubuntu 12.04 para o 14.04.

Antes de fazer as instalações no servidor de produção da empresa, baixei o Ubuntu 14.04 e instalei em um servidor que possuo para testes.

Chequei a instalar o Ubuntu 14.04 e rodar o apt-get update, o mesmo ficou 2 dias ligado direto atualizando e não concluiu o update.
Achei que era problema com o Ubuntu 14.04, baixei 15.04 e reformatei o Servidor. Ao roda o apt-get update no 15.04 tive o mesmo resultado, estou ao lado da máquina no momento e ja está realizando o update já a 3 horas e ainda nem sinal de finalização.


aparentemente não sou o único com o problema em questão.
Trabalho com o ubuntu já a 8 anos e nunca vi isso acontecer.

só vejo a seguinte informação
Código: [Selecionar]
Obter: 112 http://br.archive.ubuntu.com vivid/main Sources
Ober: 113 http://security.ubuntu.com vivid-security/main Sources
...
...
..

Eu deixei o 14.04 e ele fez a mesma coisa, chegando a escrever na tela
Código: [Selecionar]
Obter: 1090 http://security.ubuntu.com vivid-security/main Sources

Detalhes:
Link de 10MB Full.
Servidor : HP com 2 HDs Sata 160GB em RAID 1 via software(Conforme https://www.youtube.com/watch?v=xuhMQIpCP1A), 2 GB de RAM, Processador Intel Xeon.
« Última modificação: 21 de Maio de 2015, 08:05 por willsazon »
Ubuntu 14.04.2 LTS

Offline Tota

  • Usuário Ubuntu
  • *
  • Mensagens: 14.982
    • Ver perfil
Re: UBUNTU 14.04 + UBUNTU 15.00 APT-GET LENTO
« Resposta #1 Online: 19 de Maio de 2015, 17:49 »
Olá

O mais importante você não postou:

Qual a taxa de transferência ao dar um Ping para os repositórios?

Como está seu sources.list? ( geralmente um sources de servidor possui 5 entradas, logo "obter 1090 HTTP://......." pode sugerir que seus sources estão duplicados.

Offline willsazon

  • Usuário Ubuntu
  • *
  • Mensagens: 116
  • User linux- 487642
    • Ver perfil
    • Loadti
Re: UBUNTU 14.04 + UBUNTU 15.00 APT-GET LENTO
« Resposta #2 Online: 20 de Maio de 2015, 08:16 »
Olá

O mais importante você não postou:

Qual a taxa de transferência ao dar um Ping para os repositórios?

Como está seu sources.list? ( geralmente um sources de servidor possui 5 entradas, logo "obter 1090 HTTP://......." pode sugerir que seus sources estão duplicados.

Bom dia,

Meu sources.list é o original da instalação. Não há nada instalado na máquina apenas a instalação padrão e limpa do Ubuntu 15.04.

Sources.List

Código: [Selecionar]
#

# deb cdrom:[Ubuntu-Server 15.04 _Vivid Vervet_ - Release amd64 (20150422)]/ vivid main restricted

#deb cdrom:[Ubuntu-Server 15.04 _Vivid Vervet_ - Release amd64 (20150422)]/ vivid main restricted

# See http://help.ubuntu.com/community/UpgradeNotes for how to upgrade to
# newer versions of the distribution.
deb http://br.archive.ubuntu.com/ubuntu/ vivid main restricted
deb-src http://br.archive.ubuntu.com/ubuntu/ vivid main restricted

## Major bug fix updates produced after the final release of the
## distribution.
deb http://br.archive.ubuntu.com/ubuntu/ vivid-updates main restricted
deb-src http://br.archive.ubuntu.com/ubuntu/ vivid-updates main restricted

## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
## team. Also, please note that software in universe WILL NOT receive any
## review or updates from the Ubuntu security team.
deb http://br.archive.ubuntu.com/ubuntu/ vivid universe
deb-src http://br.archive.ubuntu.com/ubuntu/ vivid universe
deb http://br.archive.ubuntu.com/ubuntu/ vivid-updates universe
deb-src http://br.archive.ubuntu.com/ubuntu/ vivid-updates universe

## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
## team, and may not be under a free licence. Please satisfy yourself as to
## your rights to use the software. Also, please note that software in
## multiverse WILL NOT receive any review or updates from the Ubuntu
## security team.
deb http://br.archive.ubuntu.com/ubuntu/ vivid multiverse
deb-src http://br.archive.ubuntu.com/ubuntu/ vivid multiverse
deb http://br.archive.ubuntu.com/ubuntu/ vivid-updates multiverse
deb-src http://br.archive.ubuntu.com/ubuntu/ vivid-updates multiverse
## N.B. software from this repository may not have been tested as
## extensively as that contained in the main release, although it includes
## newer versions of some applications which may provide useful features.
## Also, please note that software in backports WILL NOT receive any review
## or updates from the Ubuntu security team.
deb http://br.archive.ubuntu.com/ubuntu/ vivid-backports main restricted universe multiverse
deb-src http://br.archive.ubuntu.com/ubuntu/ vivid-backports main restricted universe multiverse

deb http://security.ubuntu.com/ubuntu vivid-security main restricted
deb-src http://security.ubuntu.com/ubuntu vivid-security main restricted
deb http://security.ubuntu.com/ubuntu vivid-security universe
deb-src http://security.ubuntu.com/ubuntu vivid-security universe
deb http://security.ubuntu.com/ubuntu vivid-security multiverse
deb-src http://security.ubuntu.com/ubuntu vivid-security multiverse

## Uncomment the following two lines to add software from Canonical's
## 'partner' repository.
## This software is not part of Ubuntu, but is offered by Canonical and the
## respective vendors as a service to Ubuntu users.
# deb http://archive.canonical.com/ubuntu vivid partner
# deb-src http://archive.canonical.com/ubuntu vivid partner


Deixei a maquina ligada de ontem para hoje e a a obter 1089 http://security.ubuntu.com vivid-security/main Sources

Ping
Código: [Selecionar]
ping br.archive.ubuntu.com
PING ubuntu.c3sl.ufpr.br (200.236.31.4) 56(84) bytes of data.
64 bytes from ubuntu.c3sl.ufpr.br (200.236.31.4): icmp_seq=1 ttl=52 time=15.1 ms
64 bytes from ubuntu.c3sl.ufpr.br (200.236.31.4): icmp_seq=2 ttl=52 time=17.6 ms
64 bytes from ubuntu.c3sl.ufpr.br (200.236.31.4): icmp_seq=3 ttl=52 time=16.4 ms
64 bytes from ubuntu.c3sl.ufpr.br (200.236.31.4): icmp_seq=4 ttl=52 time=15.0 ms
64 bytes from ubuntu.c3sl.ufpr.br (200.236.31.4): icmp_seq=5 ttl=52 time=16.1 ms
64 bytes from ubuntu.c3sl.ufpr.br (200.236.31.4): icmp_seq=6 ttl=52 time=16.8 ms
64 bytes from ubuntu.c3sl.ufpr.br (200.236.31.4): icmp_seq=7 ttl=52 time=16.3 ms
64 bytes from ubuntu.c3sl.ufpr.br (200.236.31.4): icmp_seq=8 ttl=52 time=16.6 ms
64 bytes from ubuntu.c3sl.ufpr.br (200.236.31.4): icmp_seq=9 ttl=52 time=16.2 ms
64 bytes from ubuntu.c3sl.ufpr.br (200.236.31.4): icmp_seq=10 ttl=52 time=18.8 m                                                                                        s
64 bytes from ubuntu.c3sl.ufpr.br (200.236.31.4): icmp_seq=11 ttl=52 time=16.9 m                                                                                        s
64 bytes from ubuntu.c3sl.ufpr.br (200.236.31.4): icmp_seq=12 ttl=52 time=17.0 m                                                                                        s
64 bytes from ubuntu.c3sl.ufpr.br (200.236.31.4): icmp_seq=13 ttl=52 time=15.2 m                                                                                        s
64 bytes from ubuntu.c3sl.ufpr.br (200.236.31.4): icmp_seq=14 ttl=52 time=16.3 m                                                                                        s
64 bytes from ubuntu.c3sl.ufpr.br (200.236.31.4): icmp_seq=15 ttl=52 time=17.6 ms
64 bytes from ubuntu.c3sl.ufpr.br (200.236.31.4): icmp_seq=16 ttl=52 time=17.9 ms

Vi que ele vai muito bem até chegar no Obter:9 http://br.archive.ubuntu.com vivid/main Sources, depois disso para.

Código: [Selecionar]
apt-get update
Ign http://br.archive.ubuntu.com vivid InRelease
Ign http://br.archive.ubuntu.com vivid-updates InRelease
Ign http://br.archive.ubuntu.com vivid-backports InRelease
Obter:1 http://br.archive.ubuntu.com vivid Release.gpg [933 B]
Obter:2 http://br.archive.ubuntu.com vivid-updates Release.gpg [933 B]
Obter:3 http://br.archive.ubuntu.com vivid-backports Release.gpg [933 B]
Obter:4 http://br.archive.ubuntu.com vivid Release [217 kB]
Ign http://security.ubuntu.com vivid-security InRelease
Obter:5 http://security.ubuntu.com vivid-security Release.gpg [933 B]
Obter:6 http://br.archive.ubuntu.com vivid-updates Release [63,5 kB]
Obter:7 http://br.archive.ubuntu.com vivid-backports Release [63,5 kB]
Atingido http://security.ubuntu.com vivid-security Release
Obter:8 http://security.ubuntu.com vivid-security/main Sources
Obter:9 http://br.archive.ubuntu.com vivid/main Sources
100% [9 Sources 1.077 kB] [8 Sources 9.869 B]

O Ping para esse repositório.

Código: [Selecionar]
ping br.archive.ubuntu.com
PING ubuntu.c3sl.ufpr.br (200.236.31.4) 56(84) bytes of data.
64 bytes from ubuntu.c3sl.ufpr.br (200.236.31.4): icmp_seq=1 ttl=52 time=16.0 ms
64 bytes from ubuntu.c3sl.ufpr.br (200.236.31.4): icmp_seq=2 ttl=52 time=17.3 ms
64 bytes from ubuntu.c3sl.ufpr.br (200.236.31.4): icmp_seq=3 ttl=52 time=15.8 ms
64 bytes from ubuntu.c3sl.ufpr.br (200.236.31.4): icmp_seq=4 ttl=52 time=15.0 ms
64 bytes from ubuntu.c3sl.ufpr.br (200.236.31.4): icmp_seq=5 ttl=52 time=15.0 ms
64 bytes from ubuntu.c3sl.ufpr.br (200.236.31.4): icmp_seq=6 ttl=52 time=18.4 ms
64 bytes from ubuntu.c3sl.ufpr.br (200.236.31.4): icmp_seq=7 ttl=52 time=19.0 ms
64 bytes from ubuntu.c3sl.ufpr.br (200.236.31.4): icmp_seq=8 ttl=52 time=16.8 ms
64 bytes from ubuntu.c3sl.ufpr.br (200.236.31.4): icmp_seq=9 ttl=52 time=18.6 ms
64 bytes from ubuntu.c3sl.ufpr.br (200.236.31.4): icmp_seq=10 ttl=52 time=15.5 ms
64 bytes from ubuntu.c3sl.ufpr.br (200.236.31.4): icmp_seq=11 ttl=52 time=16.4 ms
64 bytes from ubuntu.c3sl.ufpr.br (200.236.31.4): icmp_seq=12 ttl=52 time=17.4 ms
64 bytes from ubuntu.c3sl.ufpr.br (200.236.31.4): icmp_seq=13 ttl=52 time=17.8 ms
64 bytes from ubuntu.c3sl.ufpr.br (200.236.31.4): icmp_seq=14 ttl=52 time=17.2 ms
64 bytes from ubuntu.c3sl.ufpr.br (200.236.31.4): icmp_seq=15 ttl=52 time=25.0 ms
64 bytes from ubuntu.c3sl.ufpr.br (200.236.31.4): icmp_seq=16 ttl=52 time=15.6 ms
64 bytes from ubuntu.c3sl.ufpr.br (200.236.31.4): icmp_seq=17 ttl=52 time=18.1 ms
64 bytes from ubuntu.c3sl.ufpr.br (200.236.31.4): icmp_seq=18 ttl=52 time=17.8 ms
64 bytes from ubuntu.c3sl.ufpr.br (200.236.31.4): icmp_seq=19 ttl=52 time=15.3 ms
64 bytes from ubuntu.c3sl.ufpr.br (200.236.31.4): icmp_seq=20 ttl=52 time=16.7 ms
64 bytes from ubuntu.c3sl.ufpr.br (200.236.31.4): icmp_seq=21 ttl=52 time=16.0 ms
64 bytes from ubuntu.c3sl.ufpr.br (200.236.31.4): icmp_seq=22 ttl=52 time=15.0 ms
64 bytes from ubuntu.c3sl.ufpr.br (200.236.31.4): icmp_seq=23 ttl=52 time=17.5 ms
64 bytes from ubuntu.c3sl.ufpr.br (200.236.31.4): icmp_seq=24 ttl=52 time=16.9 ms
64 bytes from ubuntu.c3sl.ufpr.br (200.236.31.4): icmp_seq=25 ttl=52 time=16.6 ms
64 bytes from ubuntu.c3sl.ufpr.br (200.236.31.4): icmp_seq=26 ttl=52 time=15.4 ms
64 bytes from ubuntu.c3sl.ufpr.br (200.236.31.4): icmp_seq=27 ttl=52 time=17.3 ms
64 bytes from ubuntu.c3sl.ufpr.br (200.236.31.4): icmp_seq=28 ttl=52 time=17.1 ms
64 bytes from ubuntu.c3sl.ufpr.br (200.236.31.4): icmp_seq=29 ttl=52 time=16.0 ms
64 bytes from ubuntu.c3sl.ufpr.br (200.236.31.4): icmp_seq=30 ttl=52 time=15.6 ms
64 bytes from ubuntu.c3sl.ufpr.br (200.236.31.4): icmp_seq=31 ttl=52 time=16.9 ms
64 bytes from ubuntu.c3sl.ufpr.br (200.236.31.4): icmp_seq=32 ttl=52 time=15.6 ms
« Última modificação: 20 de Maio de 2015, 08:21 por willsazon »
Ubuntu 14.04.2 LTS

Offline Tota

  • Usuário Ubuntu
  • *
  • Mensagens: 14.982
    • Ver perfil
Re: UBUNTU 14.04 + UBUNTU 15.00 APT-GET LENTO
« Resposta #3 Online: 20 de Maio de 2015, 10:52 »
Ola

Bem, Vamos lá.

Eu pedi os ping para ver a comunicação e depois pedi os sources para ver os repositórios.

No ping tudo ok, nos repositorios existem alguns logados no servidor da Unuversidade Federal do paraná e outros (os security) no servidor principal.

Antes de pensar em algum bloqueio ou retardo de firewall, faça uma copia dos sources.list.

Edite o sources list e comente todos os indices de repositorios, deixando apenas um que seja do Brasil.

tente atualizar. Se demorar, podemos pensar nos indices da canonical.

Comente o do Brasil e descomente um da Canonical.

Depois dos testes não esqueça de voltar o sources.list original que copiamos.

Caso todos tenham demora, pense na possibilidade do firewall estar causando este sintoma

Veja também o que tem dentro da pasta sources.list.d ( deixe vazia)

Offline willsazon

  • Usuário Ubuntu
  • *
  • Mensagens: 116
  • User linux- 487642
    • Ver perfil
    • Loadti
Re: UBUNTU 14.04 + UBUNTU 15.00 APT-GET LENTO
« Resposta #4 Online: 20 de Maio de 2015, 11:43 »
Ola

Bem, Vamos lá.

Eu pedi os ping para ver a comunicação e depois pedi os sources para ver os repositórios.

No ping tudo ok, nos repositorios existem alguns logados no servidor da Unuversidade Federal do paraná e outros (os security) no servidor principal.

Antes de pensar em algum bloqueio ou retardo de firewall, faça uma copia dos sources.list.

Edite o sources list e comente todos os indices de repositorios, deixando apenas um que seja do Brasil.

tente atualizar. Se demorar, podemos pensar nos indices da canonical.

Comente o do Brasil e descomente um da Canonical.

Depois dos testes não esqueça de voltar o sources.list original que copiamos.

Caso todos tenham demora, pense na possibilidade do firewall estar causando este sintoma

Veja também o que tem dentro da pasta sources.list.d ( deixe vazia)

Bom o Firewall não acredito que seja, pois já tem 2 servidores em produção com Ubuntu 12.04 e os mesmos funcionam perfeitamente.


Realizei alguns testes e comentei todos os repositórios e depois fui descomentando 1 a 1. Realmente notei que
os comentados estão causando o problema.

Sources.list Comentada:
Código: [Selecionar]
#

# deb cdrom:[Ubuntu-Server 15.04 _Vivid Vervet_ - Release amd64 (20150422)]/ vivid main restricted

#deb cdrom:[Ubuntu-Server 15.04 _Vivid Vervet_ - Release amd64 (20150422)]/ vivid main restricted

# See http://help.ubuntu.com/community/UpgradeNotes for how to upgrade to
# newer versions of the distribution.

[color=red]#deb http://br.archive.ubuntu.com/ubuntu/ vivid main restricted
#deb-src http://br.archive.ubuntu.com/ubuntu/ vivid main restricted[/color]

## Major bug fix updates produced after the final release of the
## distribution.

[color=red]#deb http://br.archive.ubuntu.com/ubuntu/ vivid-updates main restricted
#deb-src http://br.archive.ubuntu.com/ubuntu/ vivid-updates main restricted[/color]

## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
## team. Also, please note that software in universe WILL NOT receive any
## review or updates from the Ubuntu security team.

[color=red]#deb http://br.archive.ubuntu.com/ubuntu/ vivid universe
#deb-src http://br.archive.ubuntu.com/ubuntu/ vivid universe
#deb http://br.archive.ubuntu.com/ubuntu/ vivid-updates universe
#deb-src http://br.archive.ubuntu.com/ubuntu/ vivid-updates universe[/color]

## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
## team, and may not be under a free licence. Please satisfy yourself as to
## your rights to use the software. Also, please note that software in
## multiverse WILL NOT receive any review or updates from the Ubuntu
## security team.

[color=red]#deb http://br.archive.ubuntu.com/ubuntu/ vivid multiverse
#deb-src http://br.archive.ubuntu.com/ubuntu/ vivid multiverse
#deb http://br.archive.ubuntu.com/ubuntu/ vivid-updates multiverse
#deb-src http://br.archive.ubuntu.com/ubuntu/ vivid-updates multiverse[/color]
## N.B. software from this repository may not have been tested as
## extensively as that contained in the main release, although it includes
## newer versions of some applications which may provide useful features.
## Also, please note that software in backports WILL NOT receive any review
## or updates from the Ubuntu security team.

deb http://br.archive.ubuntu.com/ubuntu/ vivid-backports main restricted universe multiverse
deb-src http://br.archive.ubuntu.com/ubuntu/ vivid-backports main restricted universe multiverse

[color=red]#deb http://security.ubuntu.com/ubuntu vivid-security main restricted
#deb-src http://security.ubuntu.com/ubuntu vivid-security main restricted
#deb http://security.ubuntu.com/ubuntu vivid-security universe
#deb-src http://security.ubuntu.com/ubuntu vivid-security universe[/color]
deb http://security.ubuntu.com/ubuntu vivid-security multiverse
deb-src http://security.ubuntu.com/ubuntu vivid-security multiverse

## Uncomment the following two lines to add software from Canonical's
## 'partner' repository.
## This software is not part of Ubuntu, but is offered by Canonical and the
## respective vendors as a service to Ubuntu users.
deb http://archive.canonical.com/ubuntu vivid partner
deb-src http://archive.canonical.com/ubuntu vivid partner

realizando o apt-get update com os repositórios comentados funcionou o update.

A pasta sources.list.d já está vazia.
Ubuntu 14.04.2 LTS

Offline Tota

  • Usuário Ubuntu
  • *
  • Mensagens: 14.982
    • Ver perfil
Re: UBUNTU 14.04 + UBUNTU 15.00 APT-GET LENTO
« Resposta #5 Online: 20 de Maio de 2015, 12:13 »

Bom o Firewall não acredito que seja, pois já tem 2 servidores em produção com Ubuntu 12.04 e os mesmos funcionam perfeitamente.

Realizei alguns testes e comentei todos os repositórios e depois fui descomentando 1 a 1. Realmente notei que
os comentados estão causando o problema.

realizando o apt-get update com os repositórios comentados funcionou o update.

A pasta sources.list.d já está vazia.

OK, isolando os problemas a coisa vai ficando mais clara, certo?

Minhas conclusões:

1) alguns servidores podem estar com problemas ( tente trocar por um servidor diferente os com índices "lentos" )

2) O firewall pode estar bloqueando ou retardando estes servidores "lentos" ( ver as regras de bloqueio )
Neste caso, tente ligar a maquina teste "direto" na rede, sem firewall ativo

Desculpe insistir no firewall, mas é coisa que às vezes acontece e não sabemos de onde vem. ( já passei por isto)

Citar
...pois já tem 2 servidores em produção com Ubuntu 12.04 e os mesmos funcionam perfeitamente.

Só lembrando, que os endereços dos repositórios do 12.04 podem estar sendo roteados para maquinas diferentes (pela Canonical) em relação ao vivd vervet 15.04, logo o fato de funcionar no 12 não impede que não funcione no 15. Mas isto já sai de nosso controle, porisso tentar outros repositorios de outros paises no item 1.

Offline willsazon

  • Usuário Ubuntu
  • *
  • Mensagens: 116
  • User linux- 487642
    • Ver perfil
    • Loadti
Re: UBUNTU 14.04 + UBUNTU 15.00 APT-GET LENTO
« Resposta #6 Online: 20 de Maio de 2015, 13:30 »

Minhas conclusões:

1) alguns servidores podem estar com problemas ( tente trocar por um servidor diferente os com índices "lentos" )


Agora você me apertou. Como faço para trocar de servidores?
Ubuntu 14.04.2 LTS

Offline zekkerj

  • Usuário Ubuntu
  • *
  • Mensagens: 19.735
  • Gratidão gera gratidão, lamúria atrai lamúria...
    • Ver perfil
    • Blog do Zekke
Re: UBUNTU 14.04 + UBUNTU 15.00 APT-GET LENTO
« Resposta #7 Online: 20 de Maio de 2015, 14:00 »
Qual a taxa de transferência ao dar um Ping para os repositórios?

Tota, ping não tem taxa de transferência... concordo contigo que um ping alto, ou perda de pacotes, são indício de problema no repositório, mas... ;)

Agora você me apertou. Como faço para trocar de servidores?

Abra o arquivo "sources.list" em um editor de texto, com privilégio de administrador. Tipo,

gksudo gedit /etc/apt/sources.list

O aplicativo "softwareproperties" pode fazer isso também; mas nele, vc vai trocar todos os repositórios ao mesmo tempo.
Pesquise antes de perguntar, sua dúvida pode já ter sido respondida.
Não respondo dúvidas por MP, coloque sua dúvida no fórum onde ela pode ser pesquisada pelos seus colegas!
Não venha ao fórum apenas para perguntar. Se você sabe a resposta de um problema, porque não ajudar seu colega? ;D

Offline Tota

  • Usuário Ubuntu
  • *
  • Mensagens: 14.982
    • Ver perfil
Re: UBUNTU 14.04 + UBUNTU 15.00 APT-GET LENTO
« Resposta #8 Online: 20 de Maio de 2015, 14:05 »
Ola

Nos que estão dando problemas (ou em todos) tente:

http://stf.if.usp.br. É um servidor do Brasil, da Universidade de São Paulo

Código: [Selecionar]
# See http://help.ubuntu.com/community/UpgradeNotes for how to upgrade to
# newer versions of the distribution.
deb http://sft.if.usp.br/ubuntu/ vivid main restricted
deb-src http://sft.if.usp.br/ubuntu/ vivid main restricted

## Major bug fix updates produced after the final release of the
## distribution.
deb http://sft.if.usp.br/ubuntu/ vivid-updates main restricted
deb-src http://sft.if.usp.br/ubuntu/ vivid-updates main restricted

## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
## team. Also, please note that software in universe WILL NOT receive any
## review or updates from the Ubuntu security team.
deb http://sft.if.usp.br/ubuntu/ vivid universe
deb-src http://sft.if.usp.br/ubuntu/ vivid universe
deb http://sft.if.usp.br/ubuntu/ vivid-updates universe
deb-src http://sft.if.usp.br/ubuntu/ vivid-updates universe

## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
## team, and may not be under a free licence. Please satisfy yourself as to
## your rights to use the software. Also, please note that software in
## multiverse WILL NOT receive any review or updates from the Ubuntu
## security team.
deb http://sft.if.usp.br/ubuntu/ vivid multiverse
deb-src http://sft.if.usp.br/ubuntu/ vivid multiverse
deb http://sft.if.usp.br/ubuntu/ vivid-updates multiverse
deb-src http://sft.if.usp.br/ubuntu/ vivid-updates multiverse

## N.B. software from this repository may not have been tested as
## extensively as that contained in the main release, although it includes
## newer versions of some applications which may provide useful features.
## Also, please note that software in backports WILL NOT receive any review
## or updates from the Ubuntu security team.
deb http://sft.if.usp.br/ubuntu/ vivid-backports main restricted universe multiverse
deb-src http://sft.if.usp.br/ubuntu/ vivid-backports main restricted universe multiverse

deb http://sft.if.usp.br/ubuntu/ vivid-security main restricted
deb-src http://sft.if.usp.br/ubuntu/ vivid-security main restricted
deb http://sft.if.usp.br/ubuntu/ vivid-security universe
deb-src http://sft.if.usp.br/ubuntu/ vivid-security universe
deb http://sft.if.usp.br/ubuntu/ vivid-security multiverse
deb-src http://sft.if.usp.br/ubuntu/ vivid-security multiverse

## Uncomment the following two lines to add software from Canonical's
## 'partner' repository.
## This software is not part of Ubuntu, but is offered by Canonical and the
## respective vendors as a service to Ubuntu users.
# deb http://archive.canonical.com/ubuntu vivid partner
# deb-src http://archive.canonical.com/ubuntu vivid partner

Este é do servidor da rede globo

Código: [Selecionar]
# See http://help.ubuntu.com/community/UpgradeNotes for how to upgrade to
# newer versions of the distribution.
deb http://mirror.globo.com/ubuntu/archive/ vivid main restricted
deb-src http://mirror.globo.com/ubuntu/archive/ vivid main restricted

## Major bug fix updates produced after the final release of the
## distribution.
deb http://mirror.globo.com/ubuntu/archive/ vivid-updates main restricted
deb-src http://mirror.globo.com/ubuntu/archive/ vivid-updates main restricted

## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
## team. Also, please note that software in universe WILL NOT receive any
## review or updates from the Ubuntu security team.
deb http://mirror.globo.com/ubuntu/archive/ vivid universe
deb-src http://mirror.globo.com/ubuntu/archive/ vivid universe
deb http://mirror.globo.com/ubuntu/archive/ vivid-updates universe
deb-src http://mirror.globo.com/ubuntu/archive/ vivid-updates universe

## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
## team, and may not be under a free licence. Please satisfy yourself as to
## your rights to use the software. Also, please note that software in
## multiverse WILL NOT receive any review or updates from the Ubuntu
## security team.
deb http://mirror.globo.com/ubuntu/archive/ vivid multiverse
deb-src http://mirror.globo.com/ubuntu/archive/ vivid multiverse
deb http://mirror.globo.com/ubuntu/archive/ vivid-updates multiverse
deb-src http://mirror.globo.com/ubuntu/archive/ vivid-updates multiverse

## N.B. software from this repository may not have been tested as
## extensively as that contained in the main release, although it includes
## newer versions of some applications which may provide useful features.
## Also, please note that software in backports WILL NOT receive any review
## or updates from the Ubuntu security team.
deb http://mirror.globo.com/ubuntu/archive/ vivid-backports main restricted universe multiverse
deb-src http://mirror.globo.com/ubuntu/archive/ vivid-backports main restricted universe multiverse

deb http://mirror.globo.com/ubuntu/archive/ vivid-security main restricted
deb-src http://mirror.globo.com/ubuntu/archive/ vivid-security main restricted
deb http://mirror.globo.com/ubuntu/archive/ vivid-security universe
deb-src http://mirror.globo.com/ubuntu/archive/ vivid-security universe
deb http://mirror.globo.com/ubuntu/archive/ vivid-security multiverse
deb-src http://mirror.globo.com/ubuntu/archive/ vivid-security multiverse

## Uncomment the following two lines to add software from Canonical's
## 'partner' repository.
## This software is not part of Ubuntu, but is offered by Canonical and the
## respective vendors as a service to Ubuntu users.
deb http://archive.canonical.com/ubuntu vivid partner
deb http://mirror.globo.com/ubuntu/archive/ vivid-proposed multiverse main restricted universe
deb-src http://archive.canonical.com/ubuntu vivid partner

É logico que é possível copiar estes índices e criar um novo sources.list para testar. Preserve o seu original caso não funcione.

Offline Tota

  • Usuário Ubuntu
  • *
  • Mensagens: 14.982
    • Ver perfil
Re: UBUNTU 14.04 + UBUNTU 15.00 APT-GET LENTO
« Resposta #9 Online: 20 de Maio de 2015, 14:07 »

Tota, ping não tem taxa de transferência... concordo contigo que um ping alto, ou perda de pacotes, são indício de problema no repositório, mas... ;)

Ok, usei o termo errado. O que eu queria ver é se dava "destino inalcançável" (host unreacheable) e/ou perda de pacotes

Agora você me apertou. Como faço para trocar de servidores?

Abra o arquivo "sources.list" em um editor de texto, com privilégio de administrador. Tipo,

gksudo gedit /etc/apt/sources.list

O aplicativo "softwareproperties" pode fazer isso também; mas nele, vc vai trocar todos os repositórios ao mesmo tempo.
[/quote]

Tem software-properties-gtk no server? acho que só na unha mesmo...
« Última modificação: 20 de Maio de 2015, 14:09 por Tota »

Offline willsazon

  • Usuário Ubuntu
  • *
  • Mensagens: 116
  • User linux- 487642
    • Ver perfil
    • Loadti
Re: UBUNTU 14.04 + UBUNTU 15.00 APT-GET LENTO
« Resposta #10 Online: 20 de Maio de 2015, 14:16 »
Ola

Nos que estão dando problemas (ou em todos) tente:

http://stf.if.usp.br. É um servidor do Brasil, da Universidade de São Paulo

Código: [Selecionar]
# See http://help.ubuntu.com/community/UpgradeNotes for how to upgrade to
# newer versions of the distribution.
deb http://sft.if.usp.br/ubuntu/ vivid main restricted
deb-src http://sft.if.usp.br/ubuntu/ vivid main restricted

## Major bug fix updates produced after the final release of the
## distribution.
deb http://sft.if.usp.br/ubuntu/ vivid-updates main restricted
deb-src http://sft.if.usp.br/ubuntu/ vivid-updates main restricted

## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
## team. Also, please note that software in universe WILL NOT receive any
## review or updates from the Ubuntu security team.
deb http://sft.if.usp.br/ubuntu/ vivid universe
deb-src http://sft.if.usp.br/ubuntu/ vivid universe
deb http://sft.if.usp.br/ubuntu/ vivid-updates universe
deb-src http://sft.if.usp.br/ubuntu/ vivid-updates universe

## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
## team, and may not be under a free licence. Please satisfy yourself as to
## your rights to use the software. Also, please note that software in
## multiverse WILL NOT receive any review or updates from the Ubuntu
## security team.
deb http://sft.if.usp.br/ubuntu/ vivid multiverse
deb-src http://sft.if.usp.br/ubuntu/ vivid multiverse
deb http://sft.if.usp.br/ubuntu/ vivid-updates multiverse
deb-src http://sft.if.usp.br/ubuntu/ vivid-updates multiverse

## N.B. software from this repository may not have been tested as
## extensively as that contained in the main release, although it includes
## newer versions of some applications which may provide useful features.
## Also, please note that software in backports WILL NOT receive any review
## or updates from the Ubuntu security team.
deb http://sft.if.usp.br/ubuntu/ vivid-backports main restricted universe multiverse
deb-src http://sft.if.usp.br/ubuntu/ vivid-backports main restricted universe multiverse

deb http://sft.if.usp.br/ubuntu/ vivid-security main restricted
deb-src http://sft.if.usp.br/ubuntu/ vivid-security main restricted
deb http://sft.if.usp.br/ubuntu/ vivid-security universe
deb-src http://sft.if.usp.br/ubuntu/ vivid-security universe
deb http://sft.if.usp.br/ubuntu/ vivid-security multiverse
deb-src http://sft.if.usp.br/ubuntu/ vivid-security multiverse

## Uncomment the following two lines to add software from Canonical's
## 'partner' repository.
## This software is not part of Ubuntu, but is offered by Canonical and the
## respective vendors as a service to Ubuntu users.
# deb http://archive.canonical.com/ubuntu vivid partner
# deb-src http://archive.canonical.com/ubuntu vivid partner

Este é do servidor da rede globo

Código: [Selecionar]
# See http://help.ubuntu.com/community/UpgradeNotes for how to upgrade to
# newer versions of the distribution.
deb http://mirror.globo.com/ubuntu/archive/ vivid main restricted
deb-src http://mirror.globo.com/ubuntu/archive/ vivid main restricted

## Major bug fix updates produced after the final release of the
## distribution.
deb http://mirror.globo.com/ubuntu/archive/ vivid-updates main restricted
deb-src http://mirror.globo.com/ubuntu/archive/ vivid-updates main restricted

## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
## team. Also, please note that software in universe WILL NOT receive any
## review or updates from the Ubuntu security team.
deb http://mirror.globo.com/ubuntu/archive/ vivid universe
deb-src http://mirror.globo.com/ubuntu/archive/ vivid universe
deb http://mirror.globo.com/ubuntu/archive/ vivid-updates universe
deb-src http://mirror.globo.com/ubuntu/archive/ vivid-updates universe

## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
## team, and may not be under a free licence. Please satisfy yourself as to
## your rights to use the software. Also, please note that software in
## multiverse WILL NOT receive any review or updates from the Ubuntu
## security team.
deb http://mirror.globo.com/ubuntu/archive/ vivid multiverse
deb-src http://mirror.globo.com/ubuntu/archive/ vivid multiverse
deb http://mirror.globo.com/ubuntu/archive/ vivid-updates multiverse
deb-src http://mirror.globo.com/ubuntu/archive/ vivid-updates multiverse

## N.B. software from this repository may not have been tested as
## extensively as that contained in the main release, although it includes
## newer versions of some applications which may provide useful features.
## Also, please note that software in backports WILL NOT receive any review
## or updates from the Ubuntu security team.
deb http://mirror.globo.com/ubuntu/archive/ vivid-backports main restricted universe multiverse
deb-src http://mirror.globo.com/ubuntu/archive/ vivid-backports main restricted universe multiverse

deb http://mirror.globo.com/ubuntu/archive/ vivid-security main restricted
deb-src http://mirror.globo.com/ubuntu/archive/ vivid-security main restricted
deb http://mirror.globo.com/ubuntu/archive/ vivid-security universe
deb-src http://mirror.globo.com/ubuntu/archive/ vivid-security universe
deb http://mirror.globo.com/ubuntu/archive/ vivid-security multiverse
deb-src http://mirror.globo.com/ubuntu/archive/ vivid-security multiverse

## Uncomment the following two lines to add software from Canonical's
## 'partner' repository.
## This software is not part of Ubuntu, but is offered by Canonical and the
## respective vendors as a service to Ubuntu users.
deb http://archive.canonical.com/ubuntu vivid partner
deb http://mirror.globo.com/ubuntu/archive/ vivid-proposed multiverse main restricted universe
deb-src http://archive.canonical.com/ubuntu vivid partner

É logico que é possível copiar estes índices e criar um novo sources.list para testar. Preserve o seu original caso não funcione.

A ta. no caso e só substituir os q estão com problema pelo link passado. Eu tinha entendido outra coisa.
Ubuntu 14.04.2 LTS

Offline Tota

  • Usuário Ubuntu
  • *
  • Mensagens: 14.982
    • Ver perfil
Re: UBUNTU 14.04 + UBUNTU 15.00 APT-GET LENTO
« Resposta #11 Online: 20 de Maio de 2015, 14:18 »
Não é só voce... eheheheh

Fui atualizar pela globo e...

Código: [Selecionar]
E: Falhou ao buscar http://mirror.globo.com/ubuntu/archive/pool/main/l/linux-firmware/linux-firmware_1.143.1_all.deb  Hash Sum incorreto

E: Falhou ao buscar http://mirror.globo.com/ubuntu/archive/pool/main/t/thunderbird/thunderbird_31.7.0+build1-0ubuntu0.15.04.1_amd64.deb  Hash Sum incorreto

E: Impossível buscar alguns arquivos, talvez executar apt-get update ou tentar com --fix-missing?
tota@tota:~$

Deixe o da globo de fora por enquanto...

Offline willsazon

  • Usuário Ubuntu
  • *
  • Mensagens: 116
  • User linux- 487642
    • Ver perfil
    • Loadti
Re: UBUNTU 14.04 + UBUNTU 15.00 APT-GET LENTO
« Resposta #12 Online: 20 de Maio de 2015, 16:10 »
Não é só voce... eheheheh

Fui atualizar pela globo e...

Código: [Selecionar]
E: Falhou ao buscar http://mirror.globo.com/ubuntu/archive/pool/main/l/linux-firmware/linux-firmware_1.143.1_all.deb  Hash Sum incorreto

E: Falhou ao buscar http://mirror.globo.com/ubuntu/archive/pool/main/t/thunderbird/thunderbird_31.7.0+build1-0ubuntu0.15.04.1_amd64.deb  Hash Sum incorreto

E: Impossível buscar alguns arquivos, talvez executar apt-get update ou tentar com --fix-missing?
tota@tota:~$

Deixe o da globo de fora por enquanto...

Tentei o servidor passado http://stf.if.usp.br/ e ocorreu o seguinte erro:
 
DNS_PROBE_FINISHED_NXDOMAIN

onde é que eu localizo a lista de servidores disponíveis para atualizar meu Sources.list?
Ubuntu 14.04.2 LTS

Offline Tota

  • Usuário Ubuntu
  • *
  • Mensagens: 14.982
    • Ver perfil
Re: UBUNTU 14.04 + UBUNTU 15.00 APT-GET LENTO
« Resposta #13 Online: 20 de Maio de 2015, 16:35 »
Os endereços você encontra aqui https://launchpad.net/ubuntu/+cdmirrors

Tem que colocar o endereço completo, ou seja substituir o do sources list (hhtp://ubuntu etc pelo novo)

Você.usou o da.usp que postei e nomeou ele como sources.list?

Só utilizar http://HTTP://sti.if.usp.br não funciona, mas se usar deb-src http://sft.if.usp.br/ubuntu/ vivid-updates universe aí tem que funcionar.  Não sei se me fiz entender.

Offline willsazon

  • Usuário Ubuntu
  • *
  • Mensagens: 116
  • User linux- 487642
    • Ver perfil
    • Loadti
Re: UBUNTU 14.04 + UBUNTU 15.00 APT-GET LENTO
« Resposta #14 Online: 20 de Maio de 2015, 16:47 »
Os endereços você encontra aqui https://launchpad.net/ubuntu/+cdmirrors

Tem que colocar o endereço completo, ou seja substituir o do sources list (hhtp://ubuntu etc pelo novo)

Você.usou o da.usp que postei e nomeou ele como sources.list?

Só utilizar http://HTTP://sti.if.usp.br não funciona, mas se usar deb-src http://sft.if.usp.br/ubuntu/ vivid-updates universe aí tem que funcionar.  Não sei se me fiz entender.

A sim, funcionou sim. mas onde você consegui esse sources.lis? Como faço para conseguir?
Ubuntu 14.04.2 LTS