Falha ao atualizar o Ubuntu Server 14.04.2 LTS (Trusty Tahr)

1

O seguinte erro está sendo encontrado:

Atteint http://mg.archive.ubuntu.com trusty-backports/restricted Translation-en
Atteint http://mg.archive.ubuntu.com trusty-backports/universe Translation-en  
2 964 ko réceptionnés en 24s (121 ko/s)                                        
W: Impossible de récupérer http://mg.archive.ubuntu.com/ubuntu/dists/trusty/Release  Impossible de trouver l'entrée « multiverse/binary-amd64/Packages » attendue dans le fichier « Release » :  ligne non valable dans sources.list ou fichier corrompu

E: Le téléchargement de quelques fichiers d'index a échoué, ils ont été ignorés, ou les anciens ont été utilisés à la place.

comando usado:

apt-get update

source.list:

root@NOC-MONITORING:~# 
root@NOC-MONITORING:~# ls /etc/apt/sources.list.d/
root@NOC-MONITORING:~# cat /etc/apt/sources.list
deb http://mg.archive.ubuntu.com/ubuntu/ trusty main multiverse restricted universe
deb http://mg.archive.ubuntu.com/ubuntu/ trusty-security main restricted universe multiverse
deb http://mg.archive.ubuntu.com/ubuntu/ trusty-updates main restricted universe multiverse
deb http://mg.archive.ubuntu.com/ubuntu/ trusty-backports main restricted universe multiverse
deb http://archive.canonical.com/ubuntu trusty partner
deb http://extras.ubuntu.com/ubuntu trusty main
root@NOC-MONITORING:~# 

rm /var/lib/apt/lists/* -vf then apt-get update

não resolveu

    
por Lita 04.05.2015 / 20:32

1 resposta

0

Seu repositório está desatualizado.

Por meio da GUI

  1. Abra o centro de software
  2. Editar > Fontes de software ...
  3. Encontre Download de e selecione Servidor principal na lista suspensa
  4. Fechar do centro de software
  5. Fazer um sudo apt-get update

Via o CLI

Edite seu /etc/apt/sources.list para refletir isso:

deb http://archive.ubuntu.com/ubuntu/ trusty main multiverse restricted universe
deb http://archive.ubuntu.com/ubuntu/ trusty-security main restricted universe multiverse
deb http://archive.ubuntu.com/ubuntu/ trusty-updates main restricted universe multiverse
deb http://archive.ubuntu.com/ubuntu/ trusty-backports main restricted universe multiverse
deb http://archive.canonical.com/ubuntu trusty partner
deb http://extras.ubuntu.com/ubuntu trusty main

Alguns dos espelhos quebram. Eu moro no Paquistão, e o espelho aqui não funciona há anos. Eu uso o servidor principal sozinho.

    
por Amin Shah Gilani 05.05.2015 / 00:45