Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I am using Ubuntu 12.04 LTS. The software center isnot working, I can't open it. I made the following commands in the terminal

sudo apt-get install -f
sudo dpkg --configure -a
sudo apt-get update && sudo apt-get upgrade

and found the following results ( at the bottom of the results)

Errors were encountered while processing:
E: sub-process /usr/bin/dpkg returned an error code (1)

and still it isnot working. Please help me to get out of this problem.

Thank you

share|improve this question

open your terminal and remove those pkg's.

I mean in the terminal paste these two lines one by one

sudo rm -rf /var/cache/apt/archives/ubuntu-sso-client-gtk_3.0.2-0ubuntu3_all-deb
sudo rm -rf /var/cache/apt/archives/python-ubuntu-sso-client_3.0.2-0ubuntu3_all.deb

Then try again .

share|improve this answer
Thank you for your prompt answer. I removed the dpkg's one by one but Still I got the same results when I made the above commands. – ggs Nov 29 '12 at 16:11
could you provide me the complete log ? – Raja Nov 29 '12 at 16:20
How can I put the whole log. I tried and it is too long and not possible to post – ggs Nov 29 '12 at 16:35
ok do the same command by adding at this at the end with quotes . ">> out.txt" paste the content in – Raja Nov 29 '12 at 17:27

Your Answer


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.