Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

The Software Center will not open from the launcher and I get a segmentation fault when I try to open it from the terminal.

2011-10-18 20:43:45,723 - softwarecenter.ui.gtk3.em - INFO - EM's: 17 15 21
2011-10-18 20:43:46,396 - softwarecenter.backend.reviews - WARNING - Could not get usefulness from server, no username in config file
2011-10-18 20:43:46,453 - softwarecenter.ui.gtk3.utils - INFO - Softwarecenter style provider for ambiance Gtk theme: /usr/share/software-center/ui/gtk3/css/softwarecenter.css
Segmentation fault

However it will open with the command "sudo software-center". Once it is open it runs fine, I can install new programs and everything. apt-get and synaptic also both work fine. Also, no applications show up in the application lens when I search for them.

**Edit This is what what I get when I run software-center --debug http://pastebin.com/FuPFPi5f

**Edit 2 Entering gdb software-center into the terminal gives me:

"/usr/bin/software-center": not in executable format: File format not recognized

and the run command will not work.

share|improve this question

closed as off topic by Marco Ceppi Nov 9 '11 at 17:31

Questions on Ask Ubuntu are expected to relate to Ubuntu within the scope defined by the community. Consider editing the question or leaving comments for improvement if you believe the question can be reworded to fit within the scope. Read more about reopening questions here.If this question can be reworded to fit the rules in the help center, please edit the question.

    
Hm. That's not awfully helpful. Could you try running gdb software-center, running it (run), then capturing a backtrace (bt) when it crashes? –  Hello71 Oct 19 '11 at 2:33
    
What to do with questions that describe known bugs? this has been reported on Launchpad and as such is now closed. –  Marco Ceppi Nov 9 '11 at 17:31

1 Answer 1

In your home directory go to the .cache folder and there delete the "software-center" folder. This should fix the problem.

share|improve this answer

Not the answer you're looking for? Browse other questions tagged or ask your own question.