Atualizando o Ubuntu do espelho local

4

Eu preciso atualizar do Ubuntu Server 10.04 LTS para o 12.04 LTS usando o repositório local (aprox); O acesso à Internet é concedido por um proxy da Web.

O problema é:

  • se eu não definir proxy (para que o servidor não consiga acessar a Internet), ele diz:
# do-release-upgrade 
Checking for a new Ubuntu release
Failed Upgrade tool signature
Failed Upgrade tool
Done downloading            
Failed to fetch
Fetching the upgrade failed. There may be a network problem.
  • Se eu definir o proxy, ele não poderá acessar os repositórios locais:
# export https_proxy="http://user:[email protected]:8080"
# export http_proxy="http://user:[email protected]:8080"
...
# do-release-upgrade 
...
Err http://apt.localdomain precise/main Packages
  503  Service Unavailable
Err http://apt.localdomain precise/restricted Packages
  503  Service Unavailable
Err http://apt.localdomain precise/universe Packages
  503  Service Unavailable
Err http://apt.localdomain precise/multiverse Packages
  503  Service Unavailable
Err http://apt.localdomain precise/main Sources
  503  Service Unavailable
Err http://apt.localdomain precise/restricted Sources
  503  Service Unavailable
Err http://apt.localdomain precise/universe Sources
  503  Service Unavailable
Err http://apt.localdomain precise/multiverse Sources
  503  Service Unavailable
Err http://apt.localdomain precise-updates/main Packages
  503  Service Unavailable
...

Alguma idéia?

    
por user87254 03.09.2012 / 14:47

1 resposta

3

Eu respondo:

  • Definir no_proxy resolver o problema:
export no_proxy="192.168.0.0/16,localdomain"

mas o aviso é exibido:

WARNING: Failed to read mirror file

No valid mirror found 

While scanning your repository information no mirror entry for the 
upgrade was found. This can happen if you run a internal mirror or if 
the mirror information is out of date. 

Do you want to rewrite your 'sources.list' file anyway? If you choose 
'Yes' here it will update all 'lucid' to 'precise' entries. 
If you select 'No' the upgrade will cancel. 
    
por user87254 04.09.2012 / 07:58