[Resolvido] Erro na atualização de pacotes

Iniciado por Lordblack, 26 de Agosto de 2010, 16:14

tópico anterior - próximo tópico

Lordblack

Olá,

Hoje surgiu um notificador no painel superior do Ubuntu 10.04 LTS informando sobre um erro na atualização de pacotes, com a seguinte mensagem:

CitarOcorreu um erro

Os seguintes detalhes estão disponíveis:

E: MMap dinâmico necessita de mais memória. Por favor aumente o tamanho de APT::Cache-Limit. Valor atual: 25165824. (man 5 apt.conf)
E: Um erro ocorreu processando vdr-plugin-pictures (NovaVersão1)
E: Problem with MergeList /var/lib/apt/lists/us.archive.ubuntu.com_ubuntu_dists_hardy_universe_binary-i386_Packages
E: A lista de pacotes ou o arquivo de estado não puderam ser analisados ou abertos.
E: _cache->open() failed, please report.

W: Duplicate sources.list entry http://us.archive.ubuntu.com/ubuntu/ hardy/restricted Packages (/var/lib/apt/lists/us.archive.ubuntu.com_ubuntu_dists_hardy_restricted_binary-i386_Packages)
W: Duplicate sources.list entry http://us.archive.ubuntu.com/ubuntu/ hardy/restricted Translation-pt_BR (/var/lib/apt/lists/us.archive.ubuntu.com_ubuntu_dists_hardy_restricted_i18n_Translation-pt%5fBR)
W: Duplicate sources.list entry http://us.archive.ubuntu.com/ubuntu/ hardy/main Packages (/var/lib/apt/lists/us.archive.ubuntu.com_ubuntu_dists_hardy_main_binary-i386_Packages)
W: Duplicate sources.list entry http://us.archive.ubuntu.com/ubuntu/ hardy/main Translation-pt_BR (/var/lib/apt/lists/us.archive.ubuntu.com_ubuntu_dists_hardy_main_i18n_Translation-pt%5fBR)
W: Unable to munmap


Alguém poderia me ajudar a resolver este problema?

Agradeço antecipadamente à atenção dispensada.


jeflui

No terminal:
sudo apt-get autoclean
Esse comando vai apagar todos os pacotes que foram baixados para instalação, isso não afeta o sistema.
depois:
sudo apt-get update
Veja se resolve.

Lordblack

Olá jeflui...

Não resolveu!

Continua o mesmo erro, e percebi que não é possível atualizar os pacotes, pois, ele retorna com a mesma mensagem de erro.

Tem mais alguma dica?

Obrigado por enquanto.

jeflui

Coloca aqui o conteúdo desse arquivo:
/etc/apt/sources.list

Lordblack

Tem um espaço estranho entre uma linha e outra no final do arquivo, segue:

# deb cdrom:[Ubuntu 10.04 LTS _Lucid Lynx_ - Release i386 (20100429)]/ lucid 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/ lucid main restricted
deb-src http://br.archive.ubuntu.com/ubuntu/ lucid main restricted

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

## Uncomment the following two lines to add software from the 'backports'
## repository.
## 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/ lucid-backports main restricted universe multiverse
# deb-src http://br.archive.ubuntu.com/ubuntu/ lucid-backports main restricted universe 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 lucid partner
# deb-src http://archive.canonical.com/ubuntu lucid partner

deb http://security.ubuntu.com/ubuntu lucid-security main restricted
deb-src http://security.ubuntu.com/ubuntu lucid-security main restricted
deb http://security.ubuntu.com/ubuntu lucid-security universe
deb-src http://security.ubuntu.com/ubuntu lucid-security universe
deb http://security.ubuntu.com/ubuntu lucid-security multiverse
deb http://archive.canonical.com/ lucid partner
deb-src http://security.ubuntu.com/ubuntu lucid-security multiverse
 
 
 
 
 
deb http://security.ubuntu.com/ubuntu hardy-security restricted main multiverse universe
deb-src http://security.ubuntu.com/ubuntu hardy-security restricted main multiverse universe
deb http://us.archive.ubuntu.com/ubuntu hardy main restricted
deb-src http://us.archive.ubuntu.com/ubuntu hardy main restricted
deb http://us.archive.ubuntu.com/ubuntu hardy-updates main restricted
deb-src http://us.archive.ubuntu.com/ubuntu hardy-updates main restricted
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
deb cdrom:[Ubuntu-Server 8.04 _Hardy Heron_ - Alpha i386 (20080225)]/ hardy restricted main
deb http://archive.canonical.com/ubuntu hardy partner
deb-src http://archive.canonical.com/ubuntu hardy partner
deb http://us.archive.ubuntu.com/ubuntu/ hardy restricted main multiverse universe
deb-src http://us.archive.ubuntu.com/ubuntu/ hardy restricted main multiverse universe
deb http://us.archive.ubuntu.com/ubuntu/ hardy-backports main restricted universe multiverse
deb-src http://us.archive.ubuntu.com/ubuntu/ hardy-backports main restricted universe multiverse
deb http://us.archive.ubuntu.com/ubuntu/ hardy-updates restricted main multiverse universe
deb-src http://us.archive.ubuntu.com/ubuntu/ hardy-updates restricted main multiverse universe

irtigor

Você misturou a lista do lucid com um do hardy, tá ai o motivo da "zica". Apague tudo a partir de "deb http://security.ubuntu.com/ubuntu hardy-security restricted main multiverse universe" e rode um apt-get update.

Lordblack

#6
Putz, não sei como eu fiz isso, mas acredito que foi durante a tentativa de instalação algum aplicativo, ou sei lá...

Mas como eu apago mesmo, como alterar a permissão para alterar este arquivo? (desculpa a ignorância deste usuário iniciante rsrs)

---

EDIT:

Consegui, eu não estava logando como root, após logar me como root e abrir o arquivo em questão com gedit e fazer as alterações e salvar, a notificação desapareceu, vou tentar agora fazer as devidas atualizações dos pacotes.

irtigor

Citação de: Lordblack online 26 de Agosto de 2010, 17:16
Mas como eu apago mesmo, como alterar a permissão para alterar este arquivo? (desculpa a ignorância deste usuário iniciante rsrs)
No terminal

gksu gedit /etc/apt/sources.list

Deve ficar assim:

# deb cdrom:[Ubuntu 10.04 LTS _Lucid Lynx_ - Release i386 (20100429)]/ lucid 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/ lucid main restricted
deb-src http://br.archive.ubuntu.com/ubuntu/ lucid main restricted

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

## Uncomment the following two lines to add software from the 'backports'
## repository.
## 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/ lucid-backports main restricted universe multiverse
# deb-src http://br.archive.ubuntu.com/ubuntu/ lucid-backports main restricted universe 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 lucid partner
# deb-src http://archive.canonical.com/ubuntu lucid partner

deb http://security.ubuntu.com/ubuntu lucid-security main restricted
deb-src http://security.ubuntu.com/ubuntu lucid-security main restricted
deb http://security.ubuntu.com/ubuntu lucid-security universe
deb-src http://security.ubuntu.com/ubuntu lucid-security universe
deb http://security.ubuntu.com/ubuntu lucid-security multiverse
deb http://archive.canonical.com/ lucid partner
deb-src http://security.ubuntu.com/ubuntu lucid-security multiverse

Lordblack

Obrigado irtigor , deu certo!

Agradeço sua contribuição também jeflui .

Resolvido!  ;D

Abraço.

irtigor

Adicione um "[resolvido]" no titulo da primeira mensagem. Isso ajuda na organização.

voulgahn

Noussaa Sinhora ... me salvou bonito !!!! VALEU!!

felipefurini

Olá,
Segui as orientações, no entanto, existe algo que não me deixa avançar!
Abaixo coloco o resultado dos procedimentos para ver se alguém pode me auxiliar:


felipefurini@felipefurini-itautec:~$ sudo apt-get autoclean
Lendo listas de pacotes... Erro!
E: MMap dinâmico necessita de mais memória. Por favor aumente o tamanho de APT::Cache-Limit. Valor atual: 25165824. (man 5 apt.conf)
E: Um erro ocorreu processando perl-mapscript (NovaVersão1)
E: Problem with MergeList /var/lib/apt/lists/archive.ubuntu.com_ubuntu_dists_lucid_universe_binary-i386_Packages
W: Unable to munmap
E: As listas de pacotes ou os arquivos de estado não puderam ser analisados ou abertos.
felipefurini@felipefurini-itautec:~$ sudo apt-get update
Atingido http://br.archive.ubuntu.com precise Release.gpg
Atingido http://br.archive.ubuntu.com/ubuntu/ precise/main Translation-pt_BR   
Atingido http://br.archive.ubuntu.com/ubuntu/ precise/restricted Translation-pt_BR
Atingido http://br.archive.ubuntu.com/ubuntu/ precise/universe Translation-pt_BR
Atingido http://br.archive.ubuntu.com/ubuntu/ precise/multiverse Translation-pt_BR
Atingido http://br.archive.ubuntu.com precise-updates Release.gpg             
Ign http://br.archive.ubuntu.com/ubuntu/ precise-updates/main Translation-pt_BR
Ign http://br.archive.ubuntu.com/ubuntu/ precise-updates/restricted Translation-pt_BR
Ign http://br.archive.ubuntu.com/ubuntu/ precise-updates/universe Translation-pt_BR
Ign http://br.archive.ubuntu.com/ubuntu/ precise-updates/multiverse Translation-pt_BR
Atingido http://br.archive.ubuntu.com precise-security Release.gpg             
Ign http://br.archive.ubuntu.com/ubuntu/ precise-security/main Translation-pt_BR
Ign http://br.archive.ubuntu.com/ubuntu/ precise-security/restricted Translation-pt_BR
Ign http://br.archive.ubuntu.com/ubuntu/ precise-security/universe Translation-pt_BR
Ign http://br.archive.ubuntu.com/ubuntu/ precise-security/multiverse Translation-pt_BR
Atingido http://security.ubuntu.com lucid-security Release.gpg                 
Ign http://security.ubuntu.com/ubuntu/ lucid-security/universe Translation-pt_BR
Ign http://security.ubuntu.com/ubuntu/ lucid-security/main Translation-pt_BR   
Ign http://security.ubuntu.com/ubuntu/ lucid-security/multiverse Translation-pt_BR
Ign http://security.ubuntu.com/ubuntu/ lucid-security/restricted Translation-pt_BR
Atingido http://br.archive.ubuntu.com precise Release                         
Atingido http://br.archive.ubuntu.com precise-updates Release                 
Atingido http://br.archive.ubuntu.com precise-security Release                 
Atingido http://archive.ubuntu.com lucid Release.gpg                           
Atingido http://archive.ubuntu.com/ubuntu/ lucid/main Translation-pt_BR       
Atingido http://archive.ubuntu.com/ubuntu/ lucid/universe Translation-pt_BR   
Atingido http://archive.canonical.com precise Release.gpg                     
Ign http://archive.canonical.com/ubuntu/ precise/partner Translation-pt_BR     
Atingido http://br.archive.ubuntu.com precise/main Packages                   
Atingido http://br.archive.ubuntu.com precise/restricted Packages             
Atingido http://br.archive.ubuntu.com precise/main Sources                     
Atingido http://br.archive.ubuntu.com precise/restricted Sources               
Atingido http://security.ubuntu.com lucid-security Release                     
Atingido http://br.archive.ubuntu.com precise/universe Packages               
Atingido http://br.archive.ubuntu.com precise/universe Sources                 
Atingido http://br.archive.ubuntu.com precise/multiverse Packages             
Atingido http://br.archive.ubuntu.com precise/multiverse Sources               
Atingido http://br.archive.ubuntu.com precise-updates/main Packages           
Atingido http://br.archive.ubuntu.com precise-updates/restricted Packages     
Atingido http://br.archive.ubuntu.com precise-updates/main Sources             
Atingido http://br.archive.ubuntu.com precise-updates/restricted Sources       
Atingido http://br.archive.ubuntu.com precise-updates/universe Packages       
Atingido http://br.archive.ubuntu.com precise-updates/universe Sources         
Atingido http://br.archive.ubuntu.com precise-updates/multiverse Packages     
Atingido http://br.archive.ubuntu.com precise-updates/multiverse Sources       
Atingido http://br.archive.ubuntu.com precise-security/main Packages           
Atingido http://br.archive.ubuntu.com precise-security/restricted Packages     
Atingido http://br.archive.ubuntu.com precise-security/main Sources           
Atingido http://br.archive.ubuntu.com precise-security/restricted Sources     
Atingido http://br.archive.ubuntu.com precise-security/universe Packages       
Atingido http://archive.canonical.com precise Release                         
Atingido http://archive.ubuntu.com/ubuntu/ lucid/restricted Translation-pt_BR 
Atingido http://archive.ubuntu.com/ubuntu/ lucid/multiverse Translation-pt_BR 
Atingido http://archive.ubuntu.com lucid-updates Release.gpg                   
Ign http://archive.ubuntu.com/ubuntu/ lucid-updates/universe Translation-pt_BR
Ign http://archive.ubuntu.com/ubuntu/ lucid-updates/main Translation-pt_BR     
Ign http://archive.ubuntu.com/ubuntu/ lucid-updates/multiverse Translation-pt_BR
Ign http://archive.ubuntu.com/ubuntu/ lucid-updates/restricted Translation-pt_BR
Atingido http://br.archive.ubuntu.com precise-security/universe Sources       
Atingido http://br.archive.ubuntu.com precise-security/multiverse Packages     
Atingido http://archive.ubuntu.com lucid-proposed Release.gpg                 
Atingido http://archive.ubuntu.com/ubuntu/ lucid-proposed/universe Translation-pt_BR
Atingido http://archive.ubuntu.com/ubuntu/ lucid-proposed/main Translation-pt_BR
Atingido http://br.archive.ubuntu.com precise-security/multiverse Sources     
Atingido http://security.ubuntu.com lucid-security/universe Packages           
Ign http://download.tuxfamily.org gutsy Release.gpg                           
Atingido http://archive.canonical.com precise/partner Packages                 
Atingido http://archive.ubuntu.com/ubuntu/ lucid-proposed/multiverse Translation-pt_BR
Atingido http://archive.ubuntu.com/ubuntu/ lucid-proposed/restricted Translation-pt_BR
Atingido http://archive.ubuntu.com lucid Release                               
Atingido http://archive.ubuntu.com lucid-updates Release                       
Atingido http://security.ubuntu.com lucid-security/main Packages               
Atingido http://security.ubuntu.com lucid-security/multiverse Packages         
Atingido http://security.ubuntu.com lucid-security/restricted Packages         
Ign http://download.tuxfamily.org/syzygy42/ gutsy/avant-window-navigator Translation-pt_BR
Atingido http://archive.ubuntu.com lucid-proposed Release   
Ign http://download.tuxfamily.org gutsy Release             
Atingido http://archive.ubuntu.com lucid/main Packages       
Atingido http://archive.ubuntu.com lucid/universe Packages   
Atingido http://archive.ubuntu.com lucid/restricted Packages
Atingido http://archive.ubuntu.com lucid/multiverse Packages
Atingido http://archive.ubuntu.com lucid-updates/universe Packages
Atingido http://archive.ubuntu.com lucid-updates/main Packages
Atingido http://archive.ubuntu.com lucid-updates/multiverse Packages
Atingido http://archive.ubuntu.com lucid-updates/restricted Packages
Ign http://download.tuxfamily.org gutsy/avant-window-navigator Packages
Atingido http://archive.ubuntu.com lucid-proposed/universe Packages
Atingido http://archive.ubuntu.com lucid-proposed/main Packages
Atingido http://archive.ubuntu.com lucid-proposed/multiverse Packages
Atingido http://archive.ubuntu.com lucid-proposed/restricted Packages
Ign http://download.tuxfamily.org gutsy/avant-window-navigator Sources
Ign http://download.tuxfamily.org gutsy/avant-window-navigator Packages
Ign http://download.tuxfamily.org gutsy/avant-window-navigator Sources
Err http://download.tuxfamily.org gutsy/avant-window-navigator Packages
  404  Not Found
Err http://download.tuxfamily.org gutsy/avant-window-navigator Sources
  404  Not Found
W: Falhou ao buscar http://download.tuxfamily.org/syzygy42/dists/gutsy/avant-window-navigator/binary-i386/Packages.gz  404  Not Found

W: Falhou ao buscar http://download.tuxfamily.org/syzygy42/dists/gutsy/avant-window-navigator/source/Sources.gz  404  Not Found

E: Alguns arquivos de índice falharam para baixar, eles foram ignorados ou os antigos foram usados no lugar.
felipefurini@felipefurini-itautec:~$