Ubuntu software center does not run.
After updating to ubuntu 9.10, I clicked the ubuntu software center but it only exits itself before it runs after being clicked. So, When I click it, the mouse shows that it is loading but it exits after about 7 seconds. what would be the problem and how can I fix this? Thanks Guys!
Question information
- Language:
- English Edit question
- Status:
- Solved
- Assignee:
- No assignee Edit question
- Solved by:
- Jonathan Marsden
- Solved:
- Last query:
- Last reply:
Revision history for this message
|
#1 |
Its probably a segmentation fault, but in any case, try and run it from the
terminal by typing:
software-center
This will give you lot more detail on why its not running, then you might have
to consider opening a bug
--
Regards,
Vikram Dhillon
On Friday 20 November 2009 10:11:17 pm <email address hidden> wrote:
> New question #91090 on Ubuntu:
> https:/
>
> After updating to ubuntu 9.10, I clicked the ubuntu software center but it
> only exits itself before it runs after being clicked. So, When I click it,
> the mouse shows that it is loading but it exits after about 7 seconds.
> what would be the problem and how can I fix this? Thanks Guys!
>
Revision history for this message
|
#2 |
Hi Vikram. Thanks for the advice but it did not work. This is what I got when i tried to run it in the terminal.
Traceback (most recent call last):
File "/usr/bin/
app = SoftwareCenterA
File "/usr/share/
self.icons, datadir)
File "/usr/share/
SoftwarePan
File "/usr/share/
self.datadir)
File "/usr/share/
self.
File "/usr/lib/
self._locale = "%s.%s" % locale.
File "/usr/lib/
return _parse_
File "/usr/lib/
raise ValueError, 'unknown locale: %s' % localename
ValueError: unknown locale: en_AG
Revision history for this message
|
#3 |
It is still not working guys
Revision history for this message
|
#4 |
run this form a terminal:
sudo /usr/bin/
Revision history for this message
|
#5 |
sorry didn't read the previous comment. try to reinstall the software-center. go to synaptic, search for software-center and the right click and mark for reinstallation.
Revision history for this message
|
#6 |
Hi I got the same thing like before. I tried re-installing but it still doesn't work. I still get this message
jamiell@
Traceback (most recent call last):
File "/usr/bin/
app = SoftwareCenterA
File "/usr/share/
self.icons, datadir)
File "/usr/share/
SoftwarePan
File "/usr/share/
self.datadir)
File "/usr/share/
self.
File "/usr/lib/
self._locale = "%s.%s" % locale.
File "/usr/lib/
return _parse_
File "/usr/lib/
raise ValueError, 'unknown locale: %s' % localename
ValueError: unknown locale: en_AG
Revision history for this message
|
#7 |
It's a bug in python 2.6 https:/
you should update your python 2.6 from this ppa
Revision history for this message
|
#8 |
Revision history for this message
|
#9 |
Mahmed thank you for your patience but I have done what the instructions said about adding the new sources but I do not now how to update the python 2.6 with them.
Revision history for this message
|
#10 |
its is mentionned in the ppa:
How do I use software from a PPA?
To start installing and using software from a Personal Package Archive, you first need to tell Ubuntu where to find the PPA and how to verify the authenticity of its software.
Adding the PPA to Ubuntu
Step 1: Copy the first line from the apt sources.list entries section of the PPA overview page. For example:
deb http://
Step 2: On your Ubuntu computer, open System > Administration > Software Sources.
Step 3: Click the Third Party Software tab.
Step 4: Click the Add button.
Step 5: Paste the line you copied in step 1 and click the Add Source button.
Step 6: Now copy the second line from the apt sources.list entries section of the PPA overview page and paste it in just as you did in steps 4 and 5.
When prompted, reload the software sources information. Don't worry if you see a warning about unverified software sources; we're going to fix that next.
Telling Ubuntu how to authenticate the PPA
Now Ubuntu knows about the PPA. It also needs to know how to check the software hasn't been tampered with since Launchpad built it.
Note: This is not an endorsement of any of the software in PPAs. You must make sure you trust the PPA owner before installing their software.
Step 1: On the PPA's overview page you'll see the PPA's OpenPGP key id. It'll look something like this: 1024/12345678. Copy it, or make a note of, the portion after the slash, e.g: 12345678.
Step 2: Open your terminal and enter:
sudo apt-key adv --keyserver keyserver.
Replace 12345678 with the key id you copied in step 1.
Step 3: Finally, tell Ubuntu to re-load the details of each software archive it knows about:
sudo apt-get update
You're now ready to install software from the PPA!
Read more about Personal Package Archives in our help wiki.
Revision history for this message
|
#11 |
its is mentionned in the ppa:
How do I use software from a PPA?
To start installing and using software from a Personal Package Archive, you first need to tell Ubuntu where to find the PPA and how to verify the authenticity of its software.
Adding the PPA to Ubuntu
Step 1: Copy the first line from the apt sources.list entries section of the PPA overview page. For example:
deb http://
Step 2: On your Ubuntu computer, open System > Administration > Software Sources.
Step 3: Click the Third Party Software tab.
Step 4: Click the Add button.
Step 5: Paste the line you copied in step 1 and click the Add Source button.
Step 6: Now copy the second line from the apt sources.list entries section of the PPA overview page and paste it in just as you did in steps 4 and 5.
When prompted, reload the software sources information. Don't worry if you see a warning about unverified software sources; we're going to fix that next.
Telling Ubuntu how to authenticate the PPA
Now Ubuntu knows about the PPA. It also needs to know how to check the software hasn't been tampered with since Launchpad built it.
Note: This is not an endorsement of any of the software in PPAs. You must make sure you trust the PPA owner before installing their software.
Step 1: On the PPA's overview page you'll see the PPA's OpenPGP key id. It'll look something like this: 1024/12345678. Copy it, or make a note of, the portion after the slash, e.g: 12345678.
Step 2: Open your terminal and enter:
sudo apt-key adv --keyserver keyserver.
Replace 12345678 with the key id you copied in step 1.
Step 3: Finally, tell Ubuntu to re-load the details of each software archive it knows about:
sudo apt-get update
You're now ready to install software from the PPA!
you open then the update manager and check for updates then update.
Revision history for this message
|
#12 |
No There aren't any new updates.
Revision history for this message
|
#13 |
hmm, try reinstalling python2.6. If this doesn't work you can find more help here: https:/
Revision history for this message
|
#14 |
jamielljoseph: Please post the output you see when you run
apt-cache policy | grep -i ppa
in a Terminal window. If there is no output, it means you have not yet successfully added my PPA to your set of software sources.
Jonathan
Revision history for this message
|
#15 |
This is the ouptput I get from apt-cache | grep -i ppa is:
500 http://
release v=9.10,
origin ppa.launchpad.net
On Thu, Nov 26, 2009 at 4:13 AM, Jonathan Marsden <
<email address hidden>> wrote:
> Your question #91090 on software-center in ubuntu changed:
>
> https:/
>
> Jonathan Marsden requested for more information:
> jamielljoseph: Please post the output you see when you run
>
> apt-cache policy | grep -i ppa
>
> in a Terminal window. If there is no output, it means you have not yet
> successfully added my PPA to your set of software sources.
>
> Jonathan
>
> --
> To answer this request for more information, you can either reply to
> this email or enter your reply at the following page:
>
> https:/
>
> You received this question notification because you are a direct
> subscriber of the question.
>
--
Everything has its beauty but not everyone sees it.
Revision history for this message
|
#16 |
so what seems to be the problem?
Revision history for this message
|
#17 |
@jamielljoseph:
500 http://
release v=9.10,
origin ppa.launchpad.net
looks fine to me. So please try
dpkg-query -W python2.6 # Which version of python2.6 is installed
sudo apt-get update # Update apt database
sudo apt-get install python2.6 # Install python2.6
sudo apt-get dist-upgrade # Upgrade everything we can upgrade
dpkg-query -W python2.6 # Now which version of python2.6 is installed
and report your results.
Jonathan
Revision history for this message
|
#18 |
Hi Johnathon, Thanks again for the help so far. These are the results:
python2.6 2.6.4-0ubuntu2
Hit http://
Ign http://
Hit http://
Ign http://
Hit http://
Ign http://
Ign http://
Ign http://
Ign http://
Ign http://
Ign http://
Ign 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://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Reading package lists... Done
Reading package lists... Done
Building dependency tree
Reading state information... Done
python2.6 is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 1 not upgraded.
Reading package lists... Done
Building dependency tree
Reading state information... Done
Calculating upgrade... Done
The following packages will be upgraded:
tzdata
1 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Need to get 688kB of archives.
After this operation, 0B of additional disk space will be used.
Do you want to continue [Y/n]? y
Get:1 http://
2009s-0ubuntu0.9.10 [688kB]
Fetched 688kB in 11s (59.9kB/s)
Preconfiguring packages ...
(Reading database ... 191270 files and directories currently installed.)
Preparing to replace tzdata 2009r-0ubuntu9.10 (using
.../tzdata_
Unpacking replacement tzdata ...
Setting up tzdata (2009s-
Current default time zone: 'America/Antigua'
Local time is now: Sat Nov 28 07:33:51 AST 2009.
Universal Time is now: Sat Nov 28 11:33:51 UTC 2009.
Run 'dpkg-reconfigure tzdata' if you wish to change it.
python2.6 2.6.4-0ubuntu2
On Sat, Nov 28, 2009 at 12:24 AM, Jonathan Marsden <
<email address hidden>> wrote:
> Your question #91090 on software-center in ubuntu changed:
>
> https:/
>
> Status: Open => Answered
>
> Jonathan Marsden proposed the following answer:
> @jamielljoseph:
>
> 500 http://
> release v=9.10,
> origin ppa.launchpad.net
>
> looks fine to me. So please try
>
> dpkg-query -W python2.6 # Which version of python2.6 is installed
> sudo apt-get update # Update apt database
> sudo apt-get install python2.6 # Install python2.6
> sudo apt-get dist-upgrade # Upgrade everything we can upgrade
> dpkg-query -W python2.6 # Now which version of python2.6 is
> installed
>
> and report your results.
>
> Jonathan
>
> --
> If this answers your question, please go to the following page to let us
> know that it is solved:
>
> https:/
>
> If you still need help, you can reply to this email or go to the
> following page to enter your feedback:
>
> https:/
>
> You received this question notification because you are a direct
> subscriber of the question.
>
--
Everything has its beauty but not everyone sees it.
Revision history for this message
|
#19 |
Hi Johnathon. Thanks for everything so far. These are the results:
1. python2.6 2.6.4-0ubuntu2
2. Hit http://
Ign http://
Hit http://
Ign http://
Hit http://
Ign http://
Ign http://
Ign http://
Ign http://
Ign http://
Ign http://
Ign 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://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Reading package lists... Done
3. Reading package lists... Done
Building dependency tree
Reading state information... Done
python2.6 is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 1 not upgraded.
4. Reading package lists... Done
Building dependency tree
Reading state information... Done
Calculating upgrade... Done
The following packages will be upgraded:
tzdata
1 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Need to get 688kB of archives.
After this operation, 0B of additional disk space will be used.
Do you want to continue [Y/n]? y
Get:1 http://
Fetched 688kB in 11s (59.9kB/s)
Preconfiguring packages ...
(Reading database ... 191270 files and directories currently installed.)
Preparing to replace tzdata 2009r-0ubuntu9.10 (using .../tzdata_
Unpacking replacement tzdata ...
Setting up tzdata (2009s-
Current default time zone: 'America/Antigua'
Local time is now: Sat Nov 28 07:33:51 AST 2009.
Universal Time is now: Sat Nov 28 11:33:51 UTC 2009.
Run 'dpkg-reconfigure tzdata' if you wish to change it.
5. python2.6 2.6.4-0ubuntu2
Revision history for this message
|
#20 |
@jamielljoseph
It looks like you already have my package installed? But I'm not sure.
Let's check that: What does
grep -n information /usr/lib/
output? If you see something like
410: # locale name value does not have encoding information
then you already installed my package, including its fix to that file.
If not, try downloading it and installing it by hand (this is for a 32bit i386 machine, replace i386 with amd64 for a 64bit system):
wget -c https:/
wget -c https:/
sudo dpkg -i *python2.
The patch in my package of python2.6 really "should" solve this issue for you. If the above does not help, rather than continuing support here via Answers, could you use IRC so I can try to assist you "live"? I am often on Freenode (irc.freenode.net) in #ubuntu-server in the late evening Pacific time, my irc nick is jmarsden. If you do not have an IRC client program installed, try http://
Jonathan
Revision history for this message
|
#21 |
Hey Johnathon, The last tip you gave me about downloading it manually worked. Your the best man thanks. Have a great day!