Ao actualizar o Ubuntu Tweak, em gestor de Actualizações aparece esta Mensagem de Erro

Bug #694332 reported by João Fernando Machado Mão de Ferro on 2010-12-25
26
This bug affects 5 people
Affects Status Importance Assigned to Milestone
Ubuntu Tweak
Low
Ding Zhou

Bug Description

Distribution: Ubuntu 10.04 lucid
Application: Ubuntu Tweak 0.5.8
Desktop: gnome

Traceback (most recent call last):
  File "/usr/lib/python2.6/dist-packages/ubuntutweak/mainwindow.py", line 425, in setup_notebook
    page = module()
  File "/usr/lib/python2.6/dist-packages/ubuntutweak/modules/updatemanager.py", line 44, in __init__
    self.update_list()
  File "/usr/lib/python2.6/dist-packages/ubuntutweak/modules/updatemanager.py", line 59, in update_list
    PACKAGE_WORKER.update_apt_cache(init=True)
  File "/usr/lib/python2.6/dist-packages/ubuntutweak/common/package.py", line 216, in update_apt_cache
    self.cache = apt.Cache()
  File "/usr/lib/python2.6/dist-packages/apt/cache.py", line 86, in __init__
    self.open(progress)
  File "/usr/lib/python2.6/dist-packages/apt/cache.py", line 123, in open
    self._cache = apt_pkg.Cache(progress)
SystemError: W:Duplicate sources.list entry http://archive.ubuntu.com/ubuntu/ lucid/restricted Packages (/var/lib/apt/lists/archive.ubuntu.com_ubuntu_dists_lucid_restricted_binary-i386_Packages), W:Duplicate sources.list entry http://archive.ubuntu.com/ubuntu/ lucid/multiverse Packages (/var/lib/apt/lists/archive.ubuntu.com_ubuntu_dists_lucid_multiverse_binary-i386_Packages), W:Duplicate sources.list entry http://archive.ubuntu.com/ubuntu/ lucid/restricted Packages (/var/lib/apt/lists/archive.ubuntu.com_ubuntu_dists_lucid_restricted_binary-i386_Packages), W:Duplicate sources.list entry http://archive.ubuntu.com/ubuntu/ lucid/multiverse Packages (/var/lib/apt/lists/archive.ubuntu.com_ubuntu_dists_lucid_multiverse_binary-i386_Packages), W:Duplicate sources.list entry http://archive.ubuntu.com/ubuntu/ lucid-updates/restricted Packages (/var/lib/apt/lists/archive.ubuntu.com_ubuntu_dists_lucid-updates_restricted_binary-i386_Packages), W:Duplicate sources.list entry http://archive.ubuntu.com/ubuntu/ lucid-updates/multiverse Packages (/var/lib/apt/lists/archive.ubuntu.com_ubuntu_dists_lucid-updates_multiverse_binary-i386_Packages), W:Duplicate sources.list entry http://archive.ubuntu.com/ubuntu/ lucid-updates/restricted Packages (/var/lib/apt/lists/archive.ubuntu.com_ubuntu_dists_lucid-updates_restricted_binary-i386_Packages), W:Duplicate sources.list entry http://archive.ubuntu.com/ubuntu/ lucid-updates/multiverse Packages (/var/lib/apt/lists/archive.ubuntu.com_ubuntu_dists_lucid-updates_multiverse_binary-i386_Packages), W:Duplicate sources.list entry http://archive.ubuntu.com/ubuntu/ lucid-security/restricted Packages (/var/lib/apt/lists/archive.ubuntu.com_ubuntu_dists_lucid-security_restricted_binary-i386_Packages), W:Duplicate sources.list entry http://archive.ubuntu.com/ubuntu/ lucid-security/multiverse Packages (/var/lib/apt/lists/archive.ubuntu.com_ubuntu_dists_lucid-security_multiverse_binary-i386_Packages), W:Duplicate sources.list entry http://archive.ubuntu.com/ubuntu/ lucid-security/restricted Packages (/var/lib/apt/lists/archive.ubuntu.com_ubuntu_dists_lucid-security_restricted_binary-i386_Packages), W:Duplicate sources.list entry http://archive.ubuntu.com/ubuntu/ lucid-security/multiverse Packages (/var/lib/apt/lists/archive.ubuntu.com_ubuntu_dists_lucid-security_multiverse_binary-i386_Packages), W:Duplicate sources.list entry http://archive.ubuntu.com/ubuntu/ lucid-backports/universe Packages (/var/lib/apt/lists/archive.ubuntu.com_ubuntu_dists_lucid-backports_universe_binary-i386_Packages), W:Duplicate sources.list entry http://archive.ubuntu.com/ubuntu/ lucid-proposed/restricted Packages (/var/lib/apt/lists/archive.ubuntu.com_ubuntu_dists_lucid-proposed_restricted_binary-i386_Packages), W:Duplicate sources.list entry http://archive.ubuntu.com/ubuntu/ lucid-proposed/multiverse Packages (/var/lib/apt/lists/archive.ubuntu.com_ubuntu_dists_lucid-proposed_multiverse_binary-i386_Packages), E:Não foi possível abrir ficheiro o /var/cache/apt/srcpkgcache.bin - open (13: Permissão negada), E:As listas de pacotes ou o ficheiro de status não pôde ser analisado ou aberto.

Ding Zhou (tualatrix) wrote :

Hello. Please check your /etc/apt/sources.list.

Maybe it has duplicated entries.

Thanks for your help, really saw some repeated entries erased the lines, it
must be resolved

As in the know used the English language translator google

No dia 26 de Dezembro de 2010 12:00, Tualatrix Chou
<email address hidden>escreveu:

> Hello. Please check your /etc/apt/sources.list.
>
> Maybe it has duplicated entries.
>
> --
> You received this bug notification because you are a direct subscriber
> of the bug.
> https://bugs.launchpad.net/bugs/694332
>
> Title:
> Ao actualizar o Ubuntu Tweak, em gestor de Actualizações aparece esta
> Mensagem de Erro
>

--
João Fernando Machado Mão de Ferro

Ding Zhou (tualatrix) on 2010-12-28
Changed in ubuntu-tweak:
status: New → Confirmed
milestone: none → 0.5.9
assignee: nobody → Tualatrix Chou (tualatrix)
importance: Undecided → Low
Ding Zhou (tualatrix) on 2010-12-28
Changed in ubuntu-tweak:
milestone: 0.5.9 → 0.5.10
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Duplicates of this bug

Other bug subscribers