SystemError: E:Type 'main' op regel 2 in bronlijst /etc/apt/sources.list.d/mozillateam-firefox-stable-natty.list is onbekend

Bug #801149 reported by rolfman

This bug report was converted into a question: question #162668: SystemError: E:Type 'main' op regel 2 in bronlijst /etc/apt/sources.list.d/mozillateam-firefox-stable-natty.list is onbekend.

6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Ubuntu Tweak
Invalid
Undecided
Unassigned

Bug Description

Distribution: Ubuntu 11.04 natty
Application: Ubuntu Tweak 0.5.14
Desktop: gnome

Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/ubuntutweak/mainwindow.py", line 502, in setup_notebook
    page = module()
  File "/usr/lib/python2.7/dist-packages/ubuntutweak/modules/updatemanager.py", line 44, in __init__
    self.update_list()
  File "/usr/lib/python2.7/dist-packages/ubuntutweak/modules/updatemanager.py", line 59, in update_list
    PACKAGE_WORKER.update_apt_cache(init=True)
  File "/usr/lib/python2.7/dist-packages/ubuntutweak/common/package.py", line 226, in update_apt_cache
    self.cache = apt.Cache()
  File "/usr/lib/python2.7/dist-packages/apt/cache.py", line 89, in __init__
    self.open(progress)
  File "/usr/lib/python2.7/dist-packages/apt/cache.py", line 131, in open
    self._list.read_main_list()
SystemError: E:Type 'main' op regel 2 in bronlijst /etc/apt/sources.list.d/mozillateam-firefox-stable-natty.list is onbekend

Revision history for this message
Ding Zhou (tualatrix) wrote :

Hello, Please edit your sources.list to make it correctly.

If you don't know how to edit, please do by following step:

 1. Open your terminal
 2. run this command:

     sudo gedit /etc/apt/sources.list

 3. Check the line 2 and correct it

Revision history for this message
rolfman (rolfman) wrote : Re: [Bug 801149] Re: Distribution: Ubuntu 11.04 natty Application: Ubuntu Tweak 0.5.14 Desktop: gnome Traceback (most recent call last): File "/usr/lib/python2.7/dist-packages/ubuntutweak/mainwindow.py", line 502, in setup_notebook page = module() Fi

tnx :)

2011/6/24 Tualatrix Chou <email address hidden>

> Hello, Please edit your sources.list to make it correctly.
>
> If you don't know how to edit, please do by following step:
>
> 1. Open your terminal
> 2. run this command:
>
> sudo gedit /etc/apt/sources.list
>
> 3. Check the line 2 and correct it
>
> --
> You received this bug notification because you are subscribed to the bug
> report.
> https://bugs.launchpad.net/bugs/801149
>
> Title:
> Distribution: Ubuntu 11.04 natty Application: Ubuntu Tweak 0.5.14
> Desktop: gnome Traceback (most recent call last): File
> "/usr/lib/python2.7/dist-packages/ubuntutweak/mainwindow.py", line
> 502, in setup_notebook page = module() File "/usr/lib/python2.7
> /dist-packages/ubuntutweak/modules/updatemanager.py", line 44, in
> __init__ self.update_list() File "/usr/lib/python2.7/dist-
> packages/ubuntutweak/modules/updatemanager.py", line 59, in
> update_list PACKAGE_WORKER.update_apt_cache(init=True) File
> "/usr/lib/python2.7/dist-packages/ubuntutweak/common/package.py", line
> 226, in update_apt_cache self.cache = apt.Cache() File
> "/usr/lib/python2.7/dist-packages/apt/cache.py", line 89, in __init__
> self.open(progress) File "/usr/lib/python2.7/dist-
> packages/apt/cache.py", line 131, in open
> self._list.read_main_list() SystemError: E:Type 'main' op regel 2 in
> bronlijst /etc/apt/sources.list.d/mozillateam-firefox-stable-
> natty.list is onbekend
>
> Status in Ubuntu Tweak:
> New
>
> Bug description:
>
> Distribution: Ubuntu 11.04 natty
> Application: Ubuntu Tweak 0.5.14
> Desktop: gnome
>
> Traceback (most recent call last):
> File "/usr/lib/python2.7/dist-packages/ubuntutweak/mainwindow.py", line
> 502, in setup_notebook
> page = module()
> File
> "/usr/lib/python2.7/dist-packages/ubuntutweak/modules/updatemanager.py",
> line 44, in __init__
> self.update_list()
> File
> "/usr/lib/python2.7/dist-packages/ubuntutweak/modules/updatemanager.py",
> line 59, in update_list
> PACKAGE_WORKER.update_apt_cache(init=True)
> File "/usr/lib/python2.7/dist-packages/ubuntutweak/common/package.py",
> line 226, in update_apt_cache
> self.cache = apt.Cache()
> File "/usr/lib/python2.7/dist-packages/apt/cache.py", line 89, in
> __init__
> self.open(progress)
> File "/usr/lib/python2.7/dist-packages/apt/cache.py", line 131, in open
> self._list.read_main_list()
> SystemError: E:Type 'main' op regel 2 in bronlijst
> /etc/apt/sources.list.d/mozillateam-firefox-stable-natty.list is onbekend
>
> To manage notifications about this bug go to:
> https://bugs.launchpad.net/ubuntu-tweak/+bug/801149/+subscriptions
>

Revision history for this message
J. Austin Rodriguez (jeanaustinr) wrote :

Hi! I'm converting this bug report to a question. Kindly tag it as SOLVED once the issue is OK. Thank you!

summary: - Distribution: Ubuntu 11.04 natty Application: Ubuntu Tweak 0.5.14
- Desktop: gnome Traceback (most recent call last): File
- "/usr/lib/python2.7/dist-packages/ubuntutweak/mainwindow.py", line 502,
- in setup_notebook page = module() File "/usr/lib/python2.7/dist-
- packages/ubuntutweak/modules/updatemanager.py", line 44, in __init__
- self.update_list() File "/usr/lib/python2.7/dist-
- packages/ubuntutweak/modules/updatemanager.py", line 59, in update_list
- PACKAGE_WORKER.update_apt_cache(init=True) File
- "/usr/lib/python2.7/dist-packages/ubuntutweak/common/package.py", line
- 226, in update_apt_cache self.cache = apt.Cache() File
- "/usr/lib/python2.7/dist-packages/apt/cache.py", line 89, in __init__
- self.open(progress) File "/usr/lib/python2.7/dist-
- packages/apt/cache.py", line 131, in open
- self._list.read_main_list() SystemError: E:Type 'main' op regel 2 in
- bronlijst /etc/apt/sources.list.d/mozillateam-firefox-stable-natty.list
- is onbekend
+ SystemError: E:Type 'main' op regel 2 in bronlijst
+ /etc/apt/sources.list.d/mozillateam-firefox-stable-natty.list is
+ onbekend
Changed in ubuntu-tweak:
status: New → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.