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.

after the debacle a few hours back I managed to get a working desktop after using an ethernet cable and sudo apt-get install ubuntu-desktop

But now when I try to run ubuntu software center from CLI this is what I get

rick@Abigail:~$ sudo software-center 
Traceback (most recent call last):
  File "/usr/bin/software-center", line 34, in <module>
    import gtk
ImportError: No module named gtk

Any guesses how to fix this. The search box on synaptic is also missing. It has something to do with module named axi. I think the both are related.

share|improve this question

1 Answer 1

sudo apt-get install python-gtk2

should fix this. These are the python bindings for GTK, which is a graphical package used to build the GUI for software-center.

axi is something else entirely, try typing

sudo apt-get install afnix

into a terminal and see if that fixes it.

share|improve this answer
    
I reinstalled a bunch of python packages, now software center is working but afnix did not solve the axi problem. The search bar that is supposed to be present on top is not there –  Rick_2047 Jun 21 '11 at 5:12
    
When you say "It has something to do with module named axi.", what specifically does it tell you? Does running sudo synaptic from the command line throw errors or warnings mentioning axi? Feel free to edit your original question with the detail. –  jozzas Jun 21 '11 at 5:15
1  
Its working now, I reinstalled everything related to axi. –  Rick_2047 Jun 21 '11 at 5:25
    
No worries, consider adding what you did as an answer in case other people come across the same problem as you. –  jozzas Jun 21 '11 at 5:29

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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