Não consigo mais atualizar ou instalar programas no meu Ubuntu 13.04 [RESOLVIDO]

1. Não consigo mais atualizar ou instalar programas no meu Ubuntu 13.04 [RESOLVIDO]

Jefferson
JeffCorvo

(usa Ubuntu)

Enviado em 26/08/2013 - 09:22h

Desde que usei os comandos "apt-get autoremove" e "apt-get autoclean" não consegui mais atualizar nem instalar qualquer programa no meu Ubuntu 13.04. Segue abaixo a mensagem de erro:

Lendo listas de pacotes... Erro!
W: Duplicate sources.list entry http://br.archive.ubuntu.com/ubuntu/ raring/restricted amd64 Packages (/var/lib/apt/lists/br.archive.ubuntu.com_ubuntu_dists_raring_restricted_binary-amd64_Packages)
W: Duplicate sources.list entry http://br.archive.ubuntu.com/ubuntu/ raring/main amd64 Packages (/var/lib/apt/lists/br.archive.ubuntu.com_ubuntu_dists_raring_main_binary-amd64_Packages)
W: Duplicate sources.list entry http://br.archive.ubuntu.com/ubuntu/ raring/multiverse amd64 Packages (/var/lib/apt/lists/br.archive.ubuntu.com_ubuntu_dists_raring_multiverse_binary-amd64_Packages)
W: Duplicate sources.list entry http://br.archive.ubuntu.com/ubuntu/ raring/universe amd64 Packages (/var/lib/apt/lists/br.archive.ubuntu.com_ubuntu_dists_raring_universe_binary-amd64_Packages)
W: Duplicate sources.list entry http://br.archive.ubuntu.com/ubuntu/ raring/restricted i386 Packages (/var/lib/apt/lists/br.archive.ubuntu.com_ubuntu_dists_raring_restricted_binary-i386_Packages)
W: Duplicate sources.list entry http://br.archive.ubuntu.com/ubuntu/ raring/main i386 Packages (/var/lib/apt/lists/br.archive.ubuntu.com_ubuntu_dists_raring_main_binary-i386_Packages)
W: Duplicate sources.list entry http://br.archive.ubuntu.com/ubuntu/ raring/multiverse i386 Packages (/var/lib/apt/lists/br.archive.ubuntu.com_ubuntu_dists_raring_multiverse_binary-i386_Packages)
W: Duplicate sources.list entry http://br.archive.ubuntu.com/ubuntu/ raring/universe i386 Packages (/var/lib/apt/lists/br.archive.ubuntu.com_ubuntu_dists_raring_universe_binary-i386_Packages)
E: Encountered a section with no Package: header
E: Problem with MergeList /var/lib/apt/lists/br.archive.ubuntu.com_ubuntu_dists_raring-updates_universe_i18n_Translation-en
E: As listas de pacotes ou os arquivos de estado não puderam ser analisados ou abertos.


#O QUE PODE SER FEITO PARA CORRIGIR ESSE PROBLEMA?

DESDE JÁ AGRADEÇO ATENÇÃO!


  


2. MELHOR RESPOSTA

Eduard Eidt
esmiril

(usa Ubuntu)

Enviado em 27/08/2013 - 08:22h

faça um backup dessa source list

$ sudo mv /etc/apt/sources.list /etc/apt/sources.list.bkp

e tente criar uma nova sources.list confome abaixo:

$ sudo nano -c /etc/apt/sources.list

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

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

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



depois teste para ver se está atualizando:

$ sudo apt-get update


espero ter ajudado


3. Re: Não consigo mais atualizar ou instalar programas no meu Ubuntu 13.04 [RESOLVIDO]

Eduard Eidt
esmiril

(usa Ubuntu)

Enviado em 26/08/2013 - 10:48h

Posta o conteudo do arquivo /etc/apt/sources.list para a gente verificar



4. Re: Não consigo mais atualizar ou instalar programas no meu Ubuntu 13.04 [RESOLVIDO]

Jefferson
JeffCorvo

(usa Ubuntu)

Enviado em 26/08/2013 - 11:06h

# deb cdrom:[Ubuntu 12.10 _Quantal Quetzal_ - Release amd64 (20121017.5)]/ raring main restricted
# deb cdrom:[Ubuntu 13.04 _Raring Ringtail_ - Release amd64 (20130424)]/ raring main restricted
# deb cdrom:[Ubuntu 13.04 _Raring Ringtail_ - Release amd64 (20130424)]/ raring main restricted
# deb cdrom:[Ubuntu 13.04 _Raring Ringtail_ - Release amd64 (20130424)]/ raring 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/ raring main restricted
deb-src http://br.archive.ubuntu.com/ubuntu/ raring restricted main multiverse universe #Added by software-properties

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

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

deb http://all.repository.backtrack-linux.org raring main microverse non-free testing
deb http://64.repository.backtrack-linux.org raring main microverse non-free testing
deb http://source.repository.backtrack-linux.org raring main microverse non-free testing
deb http://updates.repository.backtrack-linux.org raring main microverse non-free testing
deb http://br.archive.ubuntu.com/ubuntu/ raring restricted main multiverse universe
deb-src http://br.archive.ubuntu.com/ubuntu/ raring restricted main multiverse universe #Added by software-properties

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

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

## This software is not part of Ubuntu, but is offered by third-party
## developers who want to ship their latest software.
deb http://ppa.launchpad.net/bearoso/ppa/ubuntu raring main
deb-src http://ppa.launchpad.net/bearoso/ppa/ubuntu raring main


5. Re: Não consigo mais atualizar ou instalar programas no meu Ubuntu 13.04 [RESOLVIDO]

Jefferson
JeffCorvo

(usa Ubuntu)

Enviado em 26/08/2013 - 12:52h

Utilizei o seguinte comando e o resultado foi...

root@jeff:/home/jeff# apt-get install -f
Lendo listas de pacotes... Erro!
W: Duplicate sources.list entry http://br.archive.ubuntu.com/ubuntu/ raring/restricted amd64 Packages(/var/lib/apt/lists/br.archive.ubuntu.com_ubuntu_dists_raring_restricted_binary-amd64_Packages)
W: Duplicate sources.list entry http://br.archive.ubuntu.com/ubuntu/ raring/main amd64 Packages(/var/lib/apt/lists/br.archive.ubuntu.com_ubuntu_dists_raring_main_binary-amd64_Packages)
W: Duplicate sources.list entry http://br.archive.ubuntu.com/ubuntu/ raring/multiverse amd64 Packages(/var/lib/apt/lists/br.archive.ubuntu.com_ubuntu_dists_raring_multiverse_binary-amd64_Packages)
W: Duplicate sources.list entry http://br.archive.ubuntu.com/ubuntu/ raring/universe amd64 Packages(/var/lib/apt/lists/br.archive.ubuntu.com_ubuntu_dists_raring_universe_binary-amd64_Packages)
W: Duplicate sources.list entry http://br.archive.ubuntu.com/ubuntu/ raring/restricted i386 Packages(/var/lib/apt/lists/br.archive.ubuntu.com_ubuntu_dists_raring_restricted_binary-i386_Packages)
W: Duplicate sources.list entry http://br.archive.ubuntu.com/ubuntu/ raring/main i386 Packages(/var/lib/apt/lists/br.archive.ubuntu.com_ubuntu_dists_raring_main_binary-i386_Packages)
W: Duplicate sources.list entry http://br.archive.ubuntu.com/ubuntu/ raring/multiverse i386 Packages(/var/lib/apt/lists/br.archive.ubuntu.com_ubuntu_dists_raring_multiverse_binary-i386_Packages)
W: Duplicate sources.list entry http://br.archive.ubuntu.com/ubuntu/ raring/universe i386 Packages(/var/lib/apt/lists/br.archive.ubuntu.com_ubuntu_dists_raring_universe_binary-i386_Packages)
E: Encountered a section with no Package: header
E: Problem with MergeList /var/lib/apt/lists/br.archive.ubuntu.com_ubuntu_dists_raring-updates_universe_i18n_Translation-en
E: As listas de pacotes ou os arquivos de estado não puderam ser analisados ou abertos.


6. Não consigo mais atualizar ou instalar programas no meu Ubuntu 13.04

Edwal F. Paiva Filho
nicolo

(usa Ubuntu)

Enviado em 26/08/2013 - 14:28h

O Ubuntu deve ter instalado o synaptic por default

sudo synaptic

Primeiro vá ao menu configuração e escolha <repositórios>

Você pode selecionar um repositórios e um servidor e mandar atualizar, também no menu do synaptic

Precisa estar ligado na internet

Isso deve arranjar o seu sources list que está com as entradas duplicadas.

Depois disso vá ao menu editar e mande consertar os pacotes quebrados .

Leia no pé da tela o a mensagem para ver se ainda há problemas.


2-Se ainda houver problemas
sudo gedit etc/apt/sources.list

Salve isso com outro nome em algum lugar (faça back up).
Depois deixe o seu sources.list em branco.

3-Volte ao synaptic e no menu configurar>repositório marque os repositórios oficiais que você quer, na parte gráfica e depois escolha um servidor.
Feche

Volte ao menu atualizar

verifique se consegue atualizar ou reinstalar algum pacote pelo synaptic.



7. Re: Não consigo mais atualizar ou instalar programas no meu Ubuntu 13.04 [RESOLVIDO]

Jefferson
JeffCorvo

(usa Ubuntu)

Enviado em 27/08/2013 - 09:42h

Valew Esmiril sua dica funcionou perfeitamente! Forte abraço... Valeu galera!






Patrocínio

Site hospedado pelo provedor RedeHost.
Linux banner

Destaques

Artigos

Dicas

Tópicos

Top 10 do mês

Scripts