0

When I try to open Software Center, the icon blinks, but nothing happens. When I type sudo software-center in my terminal I get:

2012-05-07 12:57:18,385 - softwarecenter.ui.gtk3.em - INFO - EM's: 17 15 21
Traceback (most recent call last):
  File "/usr/bin/software-center", line 151, in <module>
    app = SoftwareCenterAppGtk3(datadir, xapian_base_path, options, args)
  File "/usr/share/software-center/softwarecenter/ui/gtk3/app.py", line 213, in __init__
    self.cache.open()
  File "/usr/share/software-center/softwarecenter/db/pkginfo_impl/aptcache.py", line 209, in open
    self._cache = apt.Cache(GtkMainIterationProgress())
  File "/usr/lib/python2.7/dist-packages/apt/cache.py", line 93, in __init__
    self.open(progress)
  File "/usr/lib/python2.7/dist-packages/apt/cache.py", line 140, in open
    self._list.read_main_list()
SystemError: E:Malformed line 54 in source list /etc/apt/sources.list (dist parse)

I have Ubuntu 11.10. I am new to Linux. Appreciate your help!!!

Jorge Castro
  • 73,717
Elaine
  • 1
  • 1

1 Answers1

1

This is your problem:

SystemError: E:Malformed line 54 in source list /etc/apt/sources.list (dist parse)

Do a

gksu gedit  /etc/apt/sources.list 

from command line and locate line 54 and see if you can fix it. If unsure what is wrong add it to your question and we'll have a look at it.

Rinzwind
  • 309,379