software center startup

Asked by jeremy herbert

I am running ubuntu 10.10 and when i try to start software center, it says starting software center but it will never run. i try launching it with the following command in terminal:
gksudo software-center
the output is:
2011-04-22 13:55:00,196 - softwarecenter.backend.scagent - WARNING - error in query_info 'Operation not supported'
oftwarecenter/db/database.py', 96, 'open')'
2011-04-22 13:55:00,197 - softwarecenter.fixme - WARNING - logs to the root logger: '('/usr/share/software-center/softwarecenter/db/update.py', 367, '_error_cb')'
2011-04-22 13:55:00,196 - root - WARNING - error: Operation not supported
2011-04-22 13:55:00,377 - softwarecenter.app - INFO - software-center-agent finished with status 1
jeremy@ubuntu:~$
it will launch but how can i get it to launch normally?

Question information

Language:
English Edit question
Status:
Answered
For:
Ubuntu software-center Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
delance (olivier-delance) said :
#1

I think you should raise a bug from this question.

Revision history for this message
actionparsnip (andrew-woodhead666) said :
#2

Can you give the output of:

lsb_release -a

Thanks

Revision history for this message
Sam_ (and-sam) said :
#3

> - root - WARNING - error: Operation not supported

No need for 'sudo', just run in a terminal:
software-center

Please post output and close other GUIs like Synaptic, UpdateManager.

Playing with 'sudo' may result in a broken user environment.
Only when software gets installed it needs to be unlocked.

Revision history for this message
jeremy herbert (jerguy1928) said :
#4

Output of lsb_realease -a:
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 10.10
Release: 10.10
Codename: maverick
jeremy@ubuntu:~$

Revision history for this message
marcobra (Marco Braida) (marcobra) said :
#5

Try to reinstall software-center from terminal type:

sudo apt-get clean
sudo apt-get update
sudo apt-get upgrade
sudo apt-get dist-upgrade
sudo apt-get --purge --reinstall install software-center

Then retry

Revision history for this message
jeremy herbert (jerguy1928) said :
#6

@marcobra
I tried and it didn't work :(

Revision history for this message
jeremy herbert (jerguy1928) said :
#7

@Sam
Output of "software-center"
Traceback (most recent call last):
  File "/usr/bin/software-center", line 90, in <module>
    app = SoftwareCenterApp(datadir, xapian_base_path, options, args)
  File "/usr/share/software-center/softwarecenter/app.py", line 379, in __init__
    self.config = get_config()
  File "/usr/share/software-center/softwarecenter/backend/config.py", line 43, in get_config
    _software_center_config = SoftwareCenterConfig(SOFTWARE_CENTER_CONFIG_FILE)
  File "/usr/share/software-center/softwarecenter/backend/config.py", line 30, in __init__
    self.read(self.configfile)
  File "/usr/lib/python2.6/ConfigParser.py", line 286, in read
    self._read(fp, filename)
  File "/usr/lib/python2.6/ConfigParser.py", line 482, in _read
    raise MissingSectionHeaderError(fpname, lineno, line)
ConfigParser.MissingSectionHeaderError: File contains no section headers.
file: /home/jeremy/.config/software-center/softwarecenter.cfg, line: 1
' dying on your screen. Written by Matthias Toussaint.\n'
jeremy@ubuntu:~$

Revision history for this message
Sam_ (and-sam) said :
#8

jeremy, is the issue still valid or did you upgrade to 11.04?

If still on 10.10 regarding error outputs consider to report a bug.
https://help.ubuntu.com/community/ReportingBugs

Can you help with this problem?

Provide an answer of your own, or ask jeremy herbert for more information if necessary.

To post a message you must log in.