software center won't start
My software center won't start and I've tried several of the fixes suggested on other posts. Please offer further advise.
Here's what I get when I try to reinstall:
ubi@ubi-
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following package was automatically installed and is no longer required:
linux-
Use 'apt-get autoremove' to remove them.
0 upgraded, 0 newly installed, 1 reinstalled, 0 to remove and 0 not upgraded.
Need to get 0 B/461 kB of archives.
After this operation, 0 B of additional disk space will be used.
(Reading database ... 183844 files and directories currently installed.)
Preparing to replace software-center 4.0.4 (using .../software-
Unpacking replacement software-center ...
Processing triggers for bamfdaemon ...
Rebuilding /usr/share/
Processing triggers for desktop-file-utils ...
Processing triggers for python-gmenu ...
Rebuilding /usr/share/
Processing triggers for hicolor-icon-theme ...
Processing triggers for man-db ...
Processing triggers for python-support ...
Compiling /usr/lib/
SyntaxError: ('invalid syntax', ('/usr/
Compiling /usr/lib/
SyntaxError: ('invalid syntax', ('/usr/
Setting up software-center (4.0.4) ...
Traceback (most recent call last):
File "/usr/sbin/
from softwarecenter.
File "/usr/share/
from softwarecenter.
File "/usr/share/
from softwarecenter.
File "/usr/share/
from softwarecenter.
File "/usr/share/
import dbus
File "/usr/lib/
from dbus.exceptions import MissingErrorHan
ImportError: cannot import name MissingErrorHan
Processing triggers for python-central ...
ubi@ubi-
Question information
- Language:
- English Edit question
- Status:
- Solved
- Assignee:
- No assignee Edit question
- Solved by:
- Steve Lundback
- Solved:
- Last query:
- Last reply:
Revision history for this message
|
#1 |
This looks like a bug in the Software Center (or perhaps in Python), but let's be sure first. Please do steps 1-4 at https:/
sudo apt-get -y --purge --reinstall install software-center
If that does not fix the problem, then please post all the text from the Terminal here. At that point, I will probably advise you to report a bug by enabling Apport crash reporting and reproducing the crash to trigger an automatic report, followed by filling in details about what happened. (But I will look at the output you provide and see if I have any other ideas first.)
Before reporting bugs in Ubuntu, you should make sure to read https:/
If/when you do eventually report the bug, you can enable Apport with the procedure at https:/
The description of changes from the current software-center version (4.0.4) to the version in natty-proposed (4.0.5) doesn't contain anything that looks like it would be a fix for, or otherwise relevant to, this bug, but if you want to see if the version in -proposed works, you could enable the natty-proposed repository using the instructions in https:/
While you are suffering from this problem, if you want a graphical tool for package management, you might considering using the Synaptic Package Manager ("sudo apt-get install synaptic" in the Terminal to install it).
Revision history for this message
|
#2 |
Thanks Eliah!
I tried those step to no avail. However, I was unable to do step 1, changes the source, because I found my Update Manager won't launch either.
I appreciate your detailed instructions as I'm new to the open source environment. I'll be happy to help by reporting bugs.
The terminal results are below:
ubi@ubi-
[sudo] password for ubi:
ubi@ubi-
DISTRIB_ID=Ubuntu
DISTRIB_
DISTRIB_
DISTRIB_
ubi@ubi-
Linux ubi-Aspire-1410 2.6.38-
ubi@ubi-
ubi@ubi-
ubi@ubi-
ubi@ubi-
ubi@ubi-
ubi@ubi-
ubi@ubi-
ubi@ubi-
ubi@ubi-
Reading package lists... Done
Building dependency tree
Reading state information... Done
ubi@ubi-
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages will be REMOVED:
linux-
0 upgraded, 0 newly installed, 1 to remove and 0 not upgraded.
1 not fully installed or removed.
After this operation, 85.6 MB disk space will be freed.
Do you want to continue [Y/n]? Y
(Reading database ... 183843 files and directories currently installed.)
Removing linux-headers-
Setting up software-center (4.0.4) ...
Traceback (most recent call last):
File "/usr/sbin/
from softwarecenter.
File "/usr/share/
from softwarecenter.
File "/usr/share/
from softwarecenter.
File "/usr/share/
from softwarecenter.
File "/usr/share/
import dbus
File "/usr/lib/
from dbus.exceptions import MissingErrorHan
ImportError: cannot import name MissingErrorHan
Processing triggers for python-central ...
ubi@ubi-
Ign http://
Ign http://
Get:1 http://
Get:2 http://
Get:3 http://
Get:4 http://
Ign http://
Get:5 http://
Get:6 http://
Get:7 http://
Get:8 http://
Ign http://
Get:9 http://
Get:10 http://
Ign http://
Get:11 http://
Get:12 http://
Ign http://
Get:13 http://
Get:14 http://
Ign http://
Get:15 http://
Get:16 http://
Get:17 http://
Ign http://
Ign http://
Ign http://
Ign http://
Ign http://
Ign http://
Ign http://
Ign http://
Ign http://
Ign http://
Get:18 http://
Get:19 http://
Get:20 http://
Get:21 http://
Get:22 http://
Get:23 http://
Get:24 http://
Get:25 http://
Get:26 http://
Get:27 http://
Get:28 http://
Get:29 http://
Ign http://
Ign http://
Ign http://
Ign http://
Get:30 http://
Get:31 http://
Get:32 http://
Get:33 http://
Get:34 http://
Get:35 http://
Get:36 http://
Get:37 http://
Ign http://
Ign http://
Ign http://
Ign http://
Ign http://
Ign http://
Ign http://
Ign http://
Ign http://
Ign http://
Ign http://
Ign http://
Fetched 14.2 MB in 3min 14s (72.9 kB/s)
Reading package lists... Done
ubi@ubi-
ubi@ubi-
ubi@ubi-
Reading package lists... Done
Building dependency tree
Reading state information... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
ubi@ubi-
Reading package lists... Done
Building dependency tree
Reading state information... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
ubi@ubi-
Ign http://
Ign http://
Ign http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Ign http://
Hit http://
Ign http://
Hit http://
Hit http://
Ign http://
Ign http://
Ign http://
Ign http://
Ign http://
Ign http://
Ign http://
Ign http://
Ign http://
Ign http://
Ign http://
Ign http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Ign http://
Ign http://
Ign http://
Ign http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Ign http://
Ign http://
Ign http://
Ign http://
Ign http://
Ign http://
Ign http://
Ign http://
Ign http://
Ign http://
Ign http://
Ign http://
Reading package lists... Done
Reading package lists... Done
Building dependency tree
Reading state information... Done
Calculating upgrade... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Revision history for this message
|
#3 |
Eliah,
Here's the output from the command you suggested:
ubi@ubi-
Reading package lists... Done
Building dependency tree
Reading state information... Done
0 upgraded, 0 newly installed, 1 reinstalled, 0 to remove and 0 not upgraded.
Need to get 461 kB of archives.
After this operation, 0 B of additional disk space will be used.
Get:1 http://
Fetched 461 kB in 7s (60.9 kB/s)
(Reading database ... 170513 files and directories currently installed.)
Preparing to replace software-center 4.0.4 (using .../software-
Unpacking replacement software-center ...
Processing triggers for bamfdaemon ...
Rebuilding /usr/share/
Processing triggers for desktop-file-utils ...
Processing triggers for python-gmenu ...
Rebuilding /usr/share/
Processing triggers for hicolor-icon-theme ...
Processing triggers for man-db ...
Processing triggers for python-support ...
Compiling /usr/lib/
SyntaxError: ('invalid syntax', ('/usr/
Compiling /usr/lib/
SyntaxError: ('invalid syntax', ('/usr/
Setting up software-center (4.0.4) ...
Traceback (most recent call last):
File "/usr/sbin/
from softwarecenter.
File "/usr/share/
from softwarecenter.
File "/usr/share/
from softwarecenter.
File "/usr/share/
from softwarecenter.
File "/usr/share/
import dbus
File "/usr/lib/
from dbus.exceptions import MissingErrorHan
ImportError: cannot import name MissingErrorHan
Processing triggers for python-central ...
ubi@ubi-
Revision history for this message
|
#4 |
Step 1 is, in your particular case, not very important, because you're not having a problem downloading the .deb file for software-
Therefore, since the above commands did not fix or significantly change the nature of the errors, I'd say you should go ahead and, after reading https:/
We can also investigate the problem with the Update Manager. If it turns out to be the same as the problem with the Software Center, then you can edit your bug report to reflect that. (If you prefer, you can wait to file the bug report until you've tried this, but that's not necessary.)
What happens when you run this command in the Terminal?
software-center
And what happens when you run this command in the Terminal? (If the Software Center is running after the previous command, please make sure to close it.)
update-manager
Please also try them with gksu (make sure neither the Software Center nor the Update Manager is running, at the time that you run each command), and report the results here.
gksu software-center
gksu update-manager
I am also curious as to whether or not you are getting the same problem with software-
gksu software-
Finally, you originally posted about this problem in https:/
Revision history for this message
|
#5 |
Here's what I got when running the commands. I got a pop-up window with the last two that listed the sources.
As for the final question, I initially looked for a solution by going to the Ubuntu homepage, clicking the technical answer section, then searched for a similar problem. This is the first time I've sought support for Ubuntu, and have been using the OS for only a few weeks.
ubi@ubi-
Traceback (most recent call last):
File "/usr/bin/
from softwarecenter.
File "/usr/share/
import dbus
File "/usr/lib/
from dbus.exceptions import MissingErrorHan
ImportError: cannot import name MissingErrorHan
ubi@ubi-
Traceback (most recent call last):
File "/usr/bin/
from UpdateManager.
File "/usr/lib/
import dbus
File "/usr/lib/
from dbus.exceptions import MissingErrorHan
ImportError: cannot import name MissingErrorHan
ubi@ubi-
File "/usr/bin/
from softwarecenter.
File "/usr/share/
import dbus
File "/usr/lib/
from dbus.exceptions import MissingErrorHan
ImportError: cannot import name MissingErrorHan
ubi@ubi-
ubi@ubi-
ubi@ubi-
ubi@ubi-
sudo: software: command not found
ubi@ubi-
WARNING: can not get name for '<CellRendererText object at 0x8c65cfc (GtkCellRendere
WARNING: can not get name for '<TextBuffer object at 0x8c6a0cc (GtkTextBuffer at 0x8967950)>'
ubi@ubi-
Revision history for this message
|
#6 |
Just to let you know I'm going to forgo the bug reporting due to privacy concerns.
Thanks for your help,
Steve
Revision history for this message
|
#7 |
Since it looks like this is a new bug (a search for "ImportError: cannot import name MissingErrorHan
Revision history for this message
|
#8 |
I reinstalled Ubuntu and haven't had any problems. Before reinstalling, I updated the BIOS on my Aspire 1410 laptop in the hopes that it would fix start-up issues, and it did. In the previous install, I had to frequently turn the machine off during start-up if it hung. Could be that files were corrupted. If the problem happens again with this fresh install, I'll probably file a bug.
Revision history for this message
|
#9 |
I'm glad things seem to be working now. Since you no longer require assistance, please mark this question as Solved, which you can do at https:/