Ubuntu 11.10 não atualiza nem pelo gerenciador! [RESOLVIDO]

1. Ubuntu 11.10 não atualiza nem pelo gerenciador! [RESOLVIDO]

Du Oliveira
Blanchu

(usa Ubuntu)

Enviado em 20/01/2012 - 14:58h

Mais uma de novato em linix!

"Problema com o Gerenciador de Atualizações Ubuntu 11.10

Falha ao baixar informações do repositório
. Verificar sua conexão com a Internet:

W:Failed to fetch http://ppa.launchpad.net/chromiun-daily/ppa/ubuntu/dists/oneiric/main/source/Sources">http://ppa.launchpad.net/chromiun-daily/ppa/ubuntu/dists/oneiric/main/source/Sources 404 Not Found
, W:Failed to fetch http://ppa.launchpad.net/chromiun-daily/ppa/ubuntu/dists/oneiric/main/binary-i386/Packages">http://ppa.launchpad.net/chromiun-daily/ppa/ubuntu/dists/oneiric/main/binary-i386/Packages 404 Not Found
, W:Failed to fetch http://ubuntued.info/multimedia-no-ubuntu-11-10-oneiric-ocelot/dists/mp3/flash/source/Sources">http://ubuntued.info/multimedia-no-ubuntu-11-10-oneiric-ocelot/dists/mp3/flash/source/Sources 404 Not Found
, W:Failed to fetch http://ubuntued.info/multimedia-no-ubuntu-11-10-oneiric-ocelot/dists/mp3/java/source/Sources">http://ubuntued.info/multimedia-no-ubuntu-11-10-oneiric-ocelot/dists/mp3/java/source/Sources 404 Not Found
, W:Failed to fetch http://ubuntued.info/multimedia-no-ubuntu-11-10-oneiric-ocelot/dists/mp3/flash/binary-i386/Packages">http://ubuntued.info/multimedia-no-ubuntu-11-10-oneiric-ocelot/dists/mp3/flash/binary-i386/Packages 404 Not Found
, W:Failed to fetch http://ubuntued.info/multimedia-no-ubuntu-11-10-oneiric-ocelot/dists/mp3/java/binary-i386/Packages">http://ubuntued.info/multimedia-no-ubuntu-11-10-oneiric-ocelot/dists/mp3/java/binary-i386/Packages 404 Not Found
, E:Some index files failed to download. They have been ignored, or old ones used instead."

Obs.: Minha internet está 100% funcional!

Daí tentei sudo apt-get update, que resultou em:
.............. (várias linhas, até começar a aparecer esses erros)
Ign http://packages.medibuntu.org oneiric/free TranslationIndex
Err http://ppa.launchpad.net oneiric/main Sources
404 Not Found
Err http://ppa.launchpad.net oneiric/main i386 Packages
404 Not Found
.............. (+ um tantão de linhas)
Err http://ubuntued.info mp3/flash Sources
404 Not Found
Err http://ubuntued.info mp3/java Sources
404 Not Found
Err http://ubuntued.info mp3/flash i386 Packages
404 Not Found
Err http://ubuntued.info mp3/java i386 Packages
404 Not Found
.............. (outro tantão de linhas)
W: Falhou ao buscar http://ppa.launchpad.net/chromiun-daily/ppa/ubuntu/dists/oneiric/main/source/Sources">http://ppa.launchpad.net/chromiun-daily/ppa/ubuntu/dists/oneiric/main/source/Sources 404 Not Found
W: Falhou ao buscar http://ppa.launchpad.net/chromiun-daily/ppa/ubuntu/dists/oneiric/main/binary-i386/Packages">http://ppa.launchpad.net/chromiun-daily/ppa/ubuntu/dists/oneiric/main/binary-i386/Packages 404 Not Found
W: Falhou ao buscar http://ubuntued.info/multimedia-no-ubuntu-11-10-oneiric-ocelot/dists/mp3/flash/source/Sources">http://ubuntued.info/multimedia-no-ubuntu-11-10-oneiric-ocelot/dists/mp3/flash/source/Sources 404 Not Found
W: Falhou ao buscar http://ubuntued.info/multimedia-no-ubuntu-11-10-oneiric-ocelot/dists/mp3/java/source/Sources">http://ubuntued.info/multimedia-no-ubuntu-11-10-oneiric-ocelot/dists/mp3/java/source/Sources 404 Not Found
W: Falhou ao buscar http://ubuntued.info/multimedia-no-ubuntu-11-10-oneiric-ocelot/dists/mp3/flash/binary-i386/Packages">http://ubuntued.info/multimedia-no-ubuntu-11-10-oneiric-ocelot/dists/mp3/flash/binary-i386/Packages 404 Not Found
W: Falhou ao buscar http://ubuntued.info/multimedia-no-ubuntu-11-10-oneiric-ocelot/dists/mp3/java/binary-i386/Packages">http://ubuntued.info/multimedia-no-ubuntu-11-10-oneiric-ocelot/dists/mp3/java/binary-i386/Packages 404 Not Found
E: Alguns arquivos index falharam ao ser baixados. Eles foram ignorados, ou cópias antigas são usadas ao invés.

Então usei sudo apt-get dist-upgrade que resultou em:
0 pacotes atualizados, 0 pacotes novos instalados, 0 a serem removidos e 0 não atualizados.
W: Duplicate sources.list entry http://br.archive.ubuntu.com/ubuntu/ oneiric/multiverse i386 Packages (/var/lib/apt/lists/br.archive.ubuntu.com_ubuntu_dists_oneiric_multiverse_binary-i386_Packages)
W: Duplicate sources.list entry http://br.archive.ubuntu.com/ubuntu/ oneiric/main i386 Packages (/var/lib/apt/lists/br.archive.ubuntu.com_ubuntu_dists_oneiric_main_binary-i386_Packages)
W: Duplicate sources.list entry http://br.archive.ubuntu.com/ubuntu/ oneiric/restricted i386 Packages (/var/lib/apt/lists/br.archive.ubuntu.com_ubuntu_dists_oneiric_restricted_binary-i386_Packages)
.................(um monte de duplicate sources.list entry!!!)
W: Duplicate sources.list entry http://archive.canonical.com/ubuntu/ oneiric/partner i386 Packages (/var/lib/apt/lists/archive.canonical.com_ubuntu_dists_oneiric_partner_binary-i386_Packages)
W: Você terá que executar apt-get update para corrigir estes problemas

Como assim? Já tentei isso antes!

Não sei + o quê fazer! Alguém me ajuda?


  


2. Re: Ubuntu 11.10 não atualiza nem pelo gerenciador! [RESOLVIDO]

Luciano Barbosa Marques
lucianomarques1

(usa Ubuntu)

Enviado em 20/01/2012 - 22:11h

Tente editar o arquivo sources.list e eliminar as linhas que estão dando erro deletando-as ou simplesmente colocando # (comentando) na frente.


3. Re: Ubuntu 11.10 não atualiza nem pelo gerenciador! [RESOLVIDO]

Izaias
izaias

(usa LMDE)

Enviado em 20/01/2012 - 22:32h

Poste o resultado do comando:

$ cat -n /etc/apt/sources.list


4. Re: Ubuntu 11.10 não atualiza nem pelo gerenciador! [RESOLVIDO]

Eustáquio Júnior
juninho (RH.com)

(usa Debian)

Enviado em 20/01/2012 - 22:48h

Amigo,

como voce disse, é novato, portanto não se desespere frente a primeira dificuldade, até mesmo porque esta ai voce vai tirar de letra.

não estou com o propósito de dar a solução apenas, mas de fortalecer a sua vontade de achar a solução, então é simples...

Dá uma procurada básica no assunto:

sources.list para Ubuntu 11

Tenho certeza que assim voce vai encontrar a solução, vai conseguir resolver e ainda vai tomar gosto pela "coisa"

Boa Sorte.


5. Re: Ubuntu 11.10 não atualiza nem pelo gerenciador! [RESOLVIDO]

Perfil removido
removido

(usa Nenhuma)

Enviado em 20/01/2012 - 22:52h

digite isso:

$ sudo rm -rf /var/lib/apt/lists/*
$ sudo mkdir -p /var/lib/apt/lists/partial
$ sudo touch /var/lib/apt/lists/lock
$ sudo apt-get update

fontes:

http://www.vivaolinux.com.br/topico/Debian/Sources.list-Debian-6
http://www.vivaolinux.com.br/topico/Ubuntu-e-Kubuntu/Erro-na-atualizacao-8

* se não resolver retorne com o log do comando passado pelo @izaias.


6. Ainda dando erro

Du Oliveira
Blanchu

(usa Ubuntu)

Enviado em 21/01/2012 - 21:29h

Segui a sugestão do edps →

sudo rm -rf /var/lib/apt/lists/*
sudo mkdir -p /var/lib/apt/lists/partial
sudo touch /var/lib/apt/lists/lock
sudo apt-get update

Após esse último comando, cheguei em:
Ign http://br.archive.ubuntu.com oneiric InRelease
…............…..................
Obter:59 http://packages.medibuntu.org oneiric/non-free Sources [4.384 B]
Err http://ppa.launchpad.net oneiric/main Sources 404 Not Found
Err http://ppa.launchpad.net oneiric/main i386 Packages 404 Not Found
Obter:60 http://br.archive.ubuntu.com oneiric/multiverse Sources [149 kB]
…............…..................
Obter:81 http://security.ubuntu.com oneiric-proposed/main Translation-en [92,3 kB]
Err http://ubuntued.info mp3/flash Sources 404 Not Found
Err http://ubuntued.info mp3/java Sources 404 Not Found
Err http://ubuntued.info mp3/flash i386 Packages 404 Not Found
Err http://ubuntued.info mp3/java i386 Packages 404 Not Found
Obter:82 http://security.ubuntu.com oneiric-proposed/multiverse Translation-en [278 B]
…............…..................
Ign http://packages.medibuntu.org oneiric/non-free Translation-en
Baixados 23,4 MB em 27s (866 kB/s)
W: Falhou ao buscar http://ppa.launchpad.net/chromiun-daily/ppa/ubuntu/dists/oneiric/main/source/Sources 404 Not Found

W: Falhou ao buscar http://ppa.launchpad.net/chromiun-daily/ppa/ubuntu/dists/oneiric/main/binary-i386/Packages 404 Not Found

W: Falhou ao buscar http://ubuntued.info/multimedia-no-ubuntu-11-10-oneiric-ocelot/dists/mp3/flash/source/Sources 404 Not Found

W: Falhou ao buscar http://ubuntued.info/multimedia-no-ubuntu-11-10-oneiric-ocelot/dists/mp3/java/source/Sources 404 Not Found

W: Falhou ao buscar http://ubuntued.info/multimedia-no-ubuntu-11-10-oneiric-ocelot/dists/mp3/flash/binary-i386/Packages 404 Not Found

W: Falhou ao buscar http://ubuntued.info/multimedia-no-ubuntu-11-10-oneiric-ocelot/dists/mp3/java/binary-i386/Packages 404 Not Found

E: Alguns arquivos index falharam ao ser baixados. Eles foram ignorados, ou cópias antigas são usadas ao invés.

Acho que ainda não deu certo, não é?

Se não, então vou tentar o log do comando passado pelo @izaias, como sugerido, e depois posto aqui.


7. Resultado do comando cat -n /etc/apt/sources.list

Du Oliveira
Blanchu

(usa Ubuntu)

Enviado em 21/01/2012 - 21:32h


1 # deb cdrom:[Ubuntu 11.04 _Natty Narwhal_ - Release i386 (20110427.1)]/ natty main restricted
2 # deb cdrom:[Ubuntu 11.04 _Natty Narwhal_ - Release i386 (20110427.1)]/ natty main restricted
3
4 # See http://help.ubuntu.com/community/UpgradeNotes for how to upgrade to
5 # newer versions of the distribution.
6 deb http://br.archive.ubuntu.com/ubuntu/ oneiric main restricted
7 deb-src http://br.archive.ubuntu.com/ubuntu/ oneiric main restricted
8
9 ## Major bug fix updates produced after the final release of the
10 ## distribution.
11 deb http://br.archive.ubuntu.com/ubuntu/ oneiric-updates main restricted
12 deb-src http://br.archive.ubuntu.com/ubuntu/ oneiric-updates main restricted
13
14 ## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
15 ## team. Also, please note that software in universe WILL NOT receive any
16 ## review or updates from the Ubuntu security team.
17 deb http://br.archive.ubuntu.com/ubuntu/ oneiric universe
18 deb-src http://br.archive.ubuntu.com/ubuntu/ oneiric universe
19 deb http://br.archive.ubuntu.com/ubuntu/ oneiric-updates universe
20 deb-src http://br.archive.ubuntu.com/ubuntu/ oneiric-updates universe
21
22 ## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
23 ## team, and may not be under a free licence. Please satisfy yourself as to
24 ## your rights to use the software. Also, please note that software in
25 ## multiverse WILL NOT receive any review or updates from the Ubuntu
26 ## security team.
27 deb http://br.archive.ubuntu.com/ubuntu/ oneiric multiverse
28 deb-src http://br.archive.ubuntu.com/ubuntu/ oneiric multiverse
29 deb http://br.archive.ubuntu.com/ubuntu/ oneiric-updates multiverse
30 deb-src http://br.archive.ubuntu.com/ubuntu/ oneiric-updates multiverse
31
32 ## Uncomment the following two lines to add software from the 'backports'
33 ## repository.
34 ## N.B. software from this repository may not have been tested as
35 ## extensively as that contained in the main release, although it includes
36 ## newer versions of some applications which may provide useful features.
37 ## Also, please note that software in backports WILL NOT receive any review
38 ## or updates from the Ubuntu security team.
39 deb http://br.archive.ubuntu.com/ubuntu/ natty-backports main restricted universe multiverse
40 deb-src http://br.archive.ubuntu.com/ubuntu/ natty-backports main restricted universe multiverse
41
42 deb http://security.ubuntu.com/ubuntu oneiric-security main restricted
43 deb-src http://security.ubuntu.com/ubuntu oneiric-security main restricted
44 deb http://security.ubuntu.com/ubuntu oneiric-security universe
45 deb-src http://security.ubuntu.com/ubuntu oneiric-security universe
46 deb http://security.ubuntu.com/ubuntu oneiric-security multiverse
47 deb-src http://security.ubuntu.com/ubuntu oneiric-security multiverse
48
49 ## Uncomment the following two lines to add software from Canonical's
50 ## 'partner' repository.
51 ## This software is not part of Ubuntu, but is offered by Canonical and the
52 ## respective vendors as a service to Ubuntu users.
53 deb http://archive.canonical.com/ubuntu natty partner
54 deb-src http://archive.canonical.com/ubuntu natty partner
55
56 ## This software is not part of Ubuntu, but is offered by third-party
57 ## developers who want to ship their latest software.
58 deb http://extras.ubuntu.com/ubuntu oneiric main
59 deb-src http://extras.ubuntu.com/ubuntu oneiric main
60
61 # See http://help.ubuntu.com/community/UpgradeNotes for how to upgrade to
62 # newer versions of the distribution.
63
64 ## Major bug fix updates produced after the final release of the
65 ## distribution.
66
67 ## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
68 ## team. Also, please note that software in universe WILL NOT receive any
69 ## review or updates from the Ubuntu security team.
70
71 ## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
72 ## team, and may not be under a free licence. Please satisfy yourself as to
73 ## your rights to use the software. Also, please note that software in
74 ## multiverse WILL NOT receive any review or updates from the Ubuntu
75 ## security team.
76
77 ## Uncomment the following two lines to add software from the 'backports'
78 ## repository.
79 ## N.B. software from this repository may not have been tested as
80 ## extensively as that contained in the main release, although it includes
81 ## newer versions of some applications which may provide useful features.
82 ## Also, please note that software in backports WILL NOT receive any review
83 ## or updates from the Ubuntu security team.
84 deb http://br.archive.ubuntu.com/ubuntu/ natty-backports main restricted universe multiverse
85 deb-src http://br.archive.ubuntu.com/ubuntu/ natty-backports main restricted universe multiverse
86
87
88 ## Uncomment the following two lines to add software from Canonical's
89 ## 'partner' repository.
90 ## This software is not part of Ubuntu, but is offered by Canonical and the
91 ## respective vendors as a service to Ubuntu users.
92 deb http://archive.canonical.com/ubuntu natty partner
93 deb-src http://archive.canonical.com/ubuntu natty partner
94
95 ## This software is not part of Ubuntu, but is offered by third-party
96 ## developers who want to ship their latest software.
97 deb http://br.archive.ubuntu.com/ubuntu/ oneiric-proposed restricted main multiverse universe
98 deb http://br.archive.ubuntu.com/ubuntu/ubuntu oneiric main
99 deb-src http://br.archive.ubuntu.com/ubuntu/ubuntu oneiric main
100 deb http://br.archive.ubuntu.com/ubuntu/ oneiric-updates multiverse main restricted universe
101 deb-src http://br.archive.ubuntu.com/ubuntu/ oneiric-updates multiverse main restricted universe
102 deb http://br.archive.ubuntu.com/ubuntu/ oneiric multiverse main restricted universe
103 deb-src http://br.archive.ubuntu.com/ubuntu/ oneiric multiverse main restricted universe
104 deb http://br.archive.ubuntu.com/ubuntu/ oneiric-backports main restricted universe multiverse
105 deb-src http://br.archive.ubuntu.com/ubuntu/ oneiric-backports main restricted universe multiverse
106 deb http://security.ubuntu.com/ubuntu oneiric-security main restricted universe multiverse
107 deb-src http://security.ubuntu.com/ubuntu oneiric-security main restricted universe multiverse
108 deb http://security.ubuntu.com/ubuntu oneiric-proposed main restricted universe multiverse
109 deb-src http://security.ubuntu.com/ubuntu oneiric-proposed main restricted universe multiverse
110 deb http://archive.canonical.com/ubuntu oneiric partner
111 deb-src http://archive.canonical.com/ubuntu oneiric partner
112 deb http://extras.ubuntu.com/ubuntu oneiric main
113 deb-src http://extras.ubuntu.com/ubuntu oneiric main
114 deb http://ubuntued.info/multimedia-no-ubuntu-11-10-oneiric-ocelot mp3 flash java
115 deb-src http://ubuntued.info/multimedia-no-ubuntu-11-10-oneiric-ocelot mp3 flash java
116 deb http://br.archive.ubuntu.com/ubuntu/ oneiric multiverse main restricted universe
117 deb-src http://br.archive.ubuntu.com/ubuntu/ oneiric multiverse main restricted universe
118 deb http://br.archive.ubuntu.com/ubuntu/ oneiric-updates multiverse main restricted universe
119 deb-src http://br.archive.ubuntu.com/ubuntu/ oneiric-updates multiverse main restricted universe
120 deb http://br.archive.ubuntu.com/ubuntu/ oneiric-backports main restricted universe multiverse
121 deb-src http://br.archive.ubuntu.com/ubuntu/ oneiric-backports main restricted universe multiverse
122 deb http://security.ubuntu.com/ubuntu oneiric-security main restricted universe multiverse
123 deb-src http://security.ubuntu.com/ubuntu oneiric-security main restricted universe multiverse
124 deb http://security.ubuntu.com/ubuntu oneiric-proposed main restricted universe multiverse
125 deb-src http://security.ubuntu.com/ubuntu oneiric-proposed main restricted universe multiverse
126 deb http://archive.canonical.com/ubuntu oneiric partner
127 deb-src http://archive.canonical.com/ubuntu oneiric partner
128 deb http://extras.ubuntu.com/ubuntu oneiric main
129 deb-src http://extras.ubuntu.com/ubuntu oneiric main



8. se quiser...

Perfil removido
removido

(usa Nenhuma)

Enviado em 21/01/2012 - 21:53h

troque toda essa bagunça pelo conteúdo desta minha dica:

http://www.vivaolinux.com.br/dica/sourceslist-para-o-Ubuntu-1110-Oneiric-Ocelot


E se quiser continuar usando o espelho brasileiro, nas linhas onde se vê:

deb http://mirror.rit.edu/ubuntu/ oneiric blah1 blah1.1 blah1.2 blah1.3

troque por:

deb http://br.archive.ubuntu.com/ubuntu/ oneiric blah1 blah1.1 blah1.2 blah1.3


Ou seja, nas linhas você só vai trocar o endereço, ignore as entradas da release e seções

* acima citei:

blah = release (oneiric)
blah1.1 blah1.2 blah1.3 = seções (universe backport multiverse e etc)


Edite com o Gedit:

$ sudo gedit /etc/apt/sources.list

Apague tudo, cole o conteúdo da dica, rode o apt-get update.


#

Na minha dica os comandos para a importação das chaves GPG estão explícitos, logo abaixo dos nomes dos repositórios, caso dê algum erro retorne com o resultado do apt-get update

$ sudo apt-get update


Com certeza ainda não deve resolver pois parece que você tem alguma coisa lá em /etc/apt/sources.list.d/, para sanar a dúvida rode o seguinte comando e traga o resultado:

$ sudo ls /etc/apt/sources.list.d/


SE você não se importar com o que lá se encontra simplesmente remova!:

$ sudo rm -fv /etc/apt/sources.list.d/*

E siga com o apt-get update:

$ sudo apt-get update
$ sudo apt-get dist-upgrade


9. Re: Ubuntu 11.10 não atualiza nem pelo gerenciador! [RESOLVIDO]

Perfil removido
removido

(usa Nenhuma)

Enviado em 21/01/2012 - 21:54h

Um outro sources.list mais próximo ao padrão do Ubuntu:

http://www.vivaolinux.com.br/etc/sourceslist

* mais próximo quer dizer, com mais comentários e com os repositórios estando separados.


10. Re: Ubuntu 11.10 não atualiza nem pelo gerenciador! [RESOLVIDO]

Izaias
izaias

(usa LMDE)

Enviado em 21/01/2012 - 22:08h

Também concordo com a troca dos repositórios.

Abra o sorces.list:
$ sudo gedit /etc/apt/sources.list

Faça uma cópia destes repositórios, é um arquivo.
Depois delete o original, copie e cole estes indicados pelo Edinaldo.

Salve e feche. Aplique:
$ sudo apt-get update

Pode aparecer mensagens de erros, poste aqui.



11. Re: Ubuntu 11.10 não atualiza nem pelo gerenciador! [RESOLVIDO]

Perfil removido
removido

(usa Nenhuma)

Enviado em 22/01/2012 - 16:48h

@Blanchu,

Já passei o que você deve fazer:

$ sudo gedit /etc/apt/sources.list

apagar todo o conteúdo e colar o da minha dica, se você não tem permissão para salvar o arquivo provavelmente você esqueceu a senha, pois automaticamente ao usar o 'sudo' no Ubuntu a senha é solicitada.

aproveitando que você ao invê de postar o log aqui postou lá na minha dica, o que vi anteriormente e com o resultado do ls é que o erro apresenta-se na PPA do Chromium, para resolver:

$ sudo rm -fv /etc/apt/sources.list.d/chromium*
$ sudo apt-get update


12. Re: Ubuntu 11.10 não atualiza nem pelo gerenciador! [RESOLVIDO]

Perfil removido
removido

(usa Nenhuma)

Enviado em 22/01/2012 - 19:48h

você editou o log que postou lá na minha dica! por sorte achei o email na lixeira do Opera.

Naquele log o que constava lá em /etc/apt/sources.list.d era isso:

akirad.list
chromium-daily-ppa-oneiric.list
chromium-daily-ppa-oneiric.list.save
chromiun-daily-ppa-oneiric.list
chromiun-daily-ppa-oneiric.list.save
cinelerra-ppa-ppa-oneiric.list
cinelerra-ppa-ppa-oneiric.list.save
conscioususer-polly-daily-oneiric.list
conscioususer-polly-daily-oneiric.list.save
medibuntu.list
medibuntu.list.save
oneiric-partner.list
oneiric-partner.list.save

Se você não se importa com isso simplesmente remova tudo:

$ sudo rm -fv /etc/apt/sources.list.d/*


Rode o apt-get update:

$ sudo apt-get update


E se algum erro surgir, posta o resultado aqui, junto ao atual estado do seu sources.list:

$ sudo cat /etc/apt/sources.list


No meu sources.list os repositórios partner e medibuntu já estão incluidos sendo dispensáveis os que estão lá em /etc/apt/sources.list.d.


* Se você não conseguir resolver isso ainda hoje, de amanhã em diante estarei em Marte e não poderei responder, mas por sorte algum colega deverá ajudá-lo. Não se desespere isso é simples!



01 02