problem trying to update libreoffice 343 to 344 via PPA

Asked by Maurizio on 2011-11-24

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 'ain' is not known on line 3 in source list /etc/apt/sources.list.d/libreoffice-ppa-natty.list

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu Tweak Edit question
Assignee:
No assignee Edit question
Solved by:
J. Austin Rodriguez
Solved:
2012-01-25
Last query:
2012-01-25
Last reply:
2012-01-23

[Converting this bug report to a question.]

Please edit the third line (line 3) in /etc/apt/sources.list.d/libreoffice-ppa-natty.list. The 'ain' should be 'main'. If not, put a # on the first line to comment it then re-run Ubuntu Tweak.

Thank you!

------------

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 'ain' is not known on line 3 in source list /etc/apt/sources.list.d/libreoffice-ppa-natty.list

Please edit the third line (line 3) in /etc/apt/sources.list.d/libreoffice-ppa-natty.list. The 'ain' should be 'main'. If not, put a # on the first line to comment it then re-run Ubuntu Tweak.

Thank you!

Thanks JeanAustinR, that solved my question.