Falha ao buscar repositórios; um caso particular

0

Esta é a pergunta com muitas respostas, mas não sei como aplicá-las. Por favor, para a solução específica: o que adicionar ou remover alterando para comentar nos arquivos a seguir e o que marcar ou desmarcar nas janelas de diálogo a seguir.
 Agora, o Ubuntu 12.04 Update Manager diz: "Atualizações de software podem estar disponíveis para o seu computador. As informações do pacote foram atualizadas pela última vez há 61 dias. Pressione o botão "Verificar" abaixo para verificar se há novas atualizações de software. "Clicar no botão 'Verificar' resulta em um aviso" Falha ao baixar as informações do repositório. Verifique sua conexão com a internet. "Com detalhes

W:Failed to fetch http://ddebs.ubuntu.com/dists/$(lsb_release/-cs)-proposed/source/Sources  404  Not Found
, W:Failed to fetch http://ddebs.ubuntu.com/dists/$(lsb_release/restricted/source/Sources  404  Not Found
, W:Failed to fetch http://ddebs.ubuntu.com/dists/$(lsb_release/-cs)-security/source/Sources  404  Not Found
, W:Failed to fetch http://ddebs.ubuntu.com/dists/$(lsb_release/-cs)-updates/source/Sources  404  Not Found
, W:Failed to fetch http://ddebs.ubuntu.com/dists/$(lsb_release/-cs)/source/Sources  404  Not Found
, W:Failed to fetch http://ddebs.ubuntu.com/dists/$(lsb_release/universe/source/Sources  404  Not Found
, W:Failed to fetch http://ddebs.ubuntu.com/dists/$(lsb_release/main/source/Sources  404  Not Found
, W:Failed to fetch http://ddebs.ubuntu.com/dists/$(lsb_release/multiverse/source/Sources  404  Not Found
, W:Failed to fetch http://ddebs.ubuntu.com/dists/$(lsb_release/-cs)-proposed/binary-i386/Packages  404  Not Found
, W:Failed to fetch http://ddebs.ubuntu.com/dists/$(lsb_release/restricted/binary-i386/Packages  404  Not Found
, W:Failed to fetch http://ddebs.ubuntu.com/dists/$(lsb_release/-cs)-security/binary-i386/Packages  404  Not Found
, W:Failed to fetch http://ddebs.ubuntu.com/dists/$(lsb_release/-cs)-updates/binary-i386/Packages  404  Not Found
, W:Failed to fetch http://ddebs.ubuntu.com/dists/$(lsb_release/-cs)/binary-i386/Packages  404  Not Found
, W:Failed to fetch http://ddebs.ubuntu.com/dists/$(lsb_release/universe/binary-i386/Packages  404  Not Found
, W:Failed to fetch http://ddebs.ubuntu.com/dists/$(lsb_release/main/binary-i386/Packages  404  Not Found
, W:Failed to fetch http://ddebs.ubuntu.com/dists/$(lsb_release/multiverse/binary-i386/Packages  404  Not Found
, E:Some index files failed to download. They have been ignored, or old ones used instead.
A conexão com a Internet está OK. Meu /etc/apt/sources.list contém
# deb cdrom:[Ubuntu 12.04.2 LTS Precise Pangolin - Release i386 (20130213)]/ precise main restricted

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

## Major bug fix updates produced after the final release of the ## distribution. deb http://cz.archive.ubuntu.com/ubuntu/ precise-updates main restricted deb-src http://cz.archive.ubuntu.com/ubuntu/ precise-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://cz.archive.ubuntu.com/ubuntu/ precise universe deb-src http://cz.archive.ubuntu.com/ubuntu/ precise universe deb http://cz.archive.ubuntu.com/ubuntu/ precise-updates universe deb-src http://cz.archive.ubuntu.com/ubuntu/ precise-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://cz.archive.ubuntu.com/ubuntu/ precise multiverse deb-src http://cz.archive.ubuntu.com/ubuntu/ precise multiverse deb http://cz.archive.ubuntu.com/ubuntu/ precise-updates multiverse deb-src http://cz.archive.ubuntu.com/ubuntu/ precise-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://cz.archive.ubuntu.com/ubuntu/ precise-backports main restricted universe multiverse deb-src http://cz.archive.ubuntu.com/ubuntu/ precise-backports main restricted universe multiverse

deb http://security.ubuntu.com/ubuntu precise-security main restricted deb-src http://security.ubuntu.com/ubuntu precise-security main restricted deb http://security.ubuntu.com/ubuntu precise-security universe deb-src http://security.ubuntu.com/ubuntu precise-security universe deb http://security.ubuntu.com/ubuntu precise-security multiverse deb-src http://security.ubuntu.com/ubuntu precise-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 precise partner # deb-src http://archive.canonical.com/ubuntu precise partner

## This software is not part of Ubuntu, but is offered by third-party ## developers who want to ship their latest software. deb http://extras.ubuntu.com/ubuntu precise main deb-src http://extras.ubuntu.com/ubuntu precise main deb http://ddebs.ubuntu.com $(lsb_release -cs)-proposed restricted -cs)-security -cs)-updates -cs) universe main multiverse deb-src http://ddebs.ubuntu.com $(lsb_release -cs)-proposed restricted -cs)-security -cs)-updates -cs) universe main multiverse

Meu /etc/apt/sources.list.d/precise-partner.list contém
deb http://archive.canonical.com/ubuntu precise partner #Added by software-center
. Meu /etc/apt/sources.list.d/webupd8team-y-ppa-manager-precise.list contém
deb http://ppa.launchpad.net/webupd8team/y-ppa-manager/ubuntu precise main
deb-src http://ppa.launchpad.net/webupd8team/y-ppa-manager/ubuntu precise main
e arquivos adicionais no diretório não parecem conter nada relevante para a falha. O Ubuntu Software Center ... Edit .... 'Fontes de Software' mostra uma janela mostrada nas seguintes imagens: " link " " link " " link " " link ". Eu tenho um outro PC, quase idêntico, com o mesmo software Ubuntu. O problema com essas falhas de atualização no segundo PC foi resolvido com o simples clique em algum controle no Update Manager. Provavelmente perdi a oportunidade com o PC descrito acima e não sei como consertá-lo. Obrigado!

Estou editando após a resposta da marca kirby e meu comentário para poder mostrar claramente as etapas. O arquivo /etc/apt/sources.list do segundo PC contém mais duas linhas

deb ddebs.ubuntu.com $(lsb_release -cs)-proposed restricted -cs)-security -cs)-updates -cs) universe main multiverse 
deb-src ddebs.ubuntu.com $(lsb_release -cs)-proposed restricted -cs)-security -cs)-updates -cs) universe main multiverse
. Depois de usá-lo, o Update Manager diz "O software neste computador está atualizado". O arquivo /etc/apt/sources.list resultante das etapas da resposta é diferente; contém
# deb cdrom:[Ubuntu 12.04.2 LTS Precise Pangolin - Release i386 (20130213)]/ precise main restricted
deb-src http://archive.ubuntu.com/ubuntu precise main restricted #Added by software-properties

# See http://help.ubuntu.com/community/UpgradeNotes for how to upgrade to # newer versions of the distribution. deb http://cz.archive.ubuntu.com/ubuntu/ precise main restricted universe deb-src http://cz.archive.ubuntu.com/ubuntu/ precise restricted main multiverse universe #Added by software-properties

## Major bug fix updates produced after the final release of the ## distribution. deb http://cz.archive.ubuntu.com/ubuntu/ precise-updates main restricted universe deb-src http://cz.archive.ubuntu.com/ubuntu/ precise-updates restricted main multiverse universe #Added by software-properties

## 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.

## 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://cz.archive.ubuntu.com/ubuntu/ precise multiverse deb http://cz.archive.ubuntu.com/ubuntu/ precise-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://cz.archive.ubuntu.com/ubuntu/ precise-backports main restricted multiverse universe deb-src http://cz.archive.ubuntu.com/ubuntu/ precise-backports main restricted multiverse universe #Added by software-properties

deb http://security.ubuntu.com/ubuntu precise-security main restricted universe deb-src http://security.ubuntu.com/ubuntu precise-security restricted main multiverse universe #Added by software-properties deb http://security.ubuntu.com/ubuntu precise-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 precise partner # deb-src http://archive.canonical.com/ubuntu precise partner

## This software is not part of Ubuntu, but is offered by third-party ## developers who want to ship their latest software. deb http://extras.ubuntu.com/ubuntu precise main deb-src http://extras.ubuntu.com/ubuntu precise main deb http://ddebs.ubuntu.com $(lsb_release -cs)-proposed restricted -cs)-security -cs)-updates -cs) universe main multiverse deb-src http://ddebs.ubuntu.com $(lsb_release -cs)-proposed restricted -cs)-security -cs)-updates -cs) universe main multiverse

. No Gerenciador de Atualizações, clicar no botão 'Verificar' resulta em um aviso "Falha ao baixar as informações do repositório. Verifique sua conexão com a internet. "Com detalhes
W:Failed to fetch http://ddebs.ubuntu.com/dists/$(lsb_release/-cs)-proposed/source/Sources  404  Not Found
, W:Failed to fetch http://ddebs.ubuntu.com/dists/$(lsb_release/restricted/source/Sources  404  Not Found
, W:Failed to fetch http://ddebs.ubuntu.com/dists/$(lsb_release/-cs)-security/source/Sources  404  Not Found
, W:Failed to fetch http://ddebs.ubuntu.com/dists/$(lsb_release/-cs)-updates/source/Sources  404  Not Found
, W:Failed to fetch http://ddebs.ubuntu.com/dists/$(lsb_release/-cs)/source/Sources  404  Not Found
, W:Failed to fetch http://ddebs.ubuntu.com/dists/$(lsb_release/universe/source/Sources  404  Not Found
, W:Failed to fetch http://ddebs.ubuntu.com/dists/$(lsb_release/main/source/Sources  404  Not Found
, W:Failed to fetch http://ddebs.ubuntu.com/dists/$(lsb_release/multiverse/source/Sources  404  Not Found
, W:Failed to fetch http://ddebs.ubuntu.com/dists/$(lsb_release/-cs)-proposed/binary-i386/Packages  404  Not Found
, W:Failed to fetch http://ddebs.ubuntu.com/dists/$(lsb_release/restricted/binary-i386/Packages  404  Not Found
, W:Failed to fetch http://ddebs.ubuntu.com/dists/$(lsb_release/-cs)-security/binary-i386/Packages  404  Not Found
, W:Failed to fetch http://ddebs.ubuntu.com/dists/$(lsb_release/-cs)-updates/binary-i386/Packages  404  Not Found
, W:Failed to fetch http://ddebs.ubuntu.com/dists/$(lsb_release/-cs)/binary-i386/Packages  404  Not Found
, W:Failed to fetch http://ddebs.ubuntu.com/dists/$(lsb_release/universe/binary-i386/Packages  404  Not Found
, W:Failed to fetch http://ddebs.ubuntu.com/dists/$(lsb_release/main/binary-i386/Packages  404  Not Found
, W:Failed to fetch http://ddebs.ubuntu.com/dists/$(lsb_release/multiverse/binary-i386/Packages  404  Not Found
, E:Some index files failed to download. They have been ignored, or old ones used instead.

Eu cometi um erro ou devo usar o arquivo /etc/apt/sources.list do segundo PC? Obrigado!     
por Tomáš Pečený 24.08.2014 / 14:40

1 resposta

0

Suas fontes estão confusas, mas podemos criar uma nova lista

Abra um terminal e digite

sudo rm /etc/apt/sources.list

Em seguida, abra este

 sudo software-properties-gtk

Você verá 5 caixas de seleção marcando-as todas e alterando o servidor para o mais próximo de você, aplicando as opções e fechando a janela.

Depois vá para o seu terminal e

sudo apt-get update && upgrade

atualizará seu sistema

    
por Mark Kirby 24.08.2014 / 14:48