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

While dpkg -i works, I can't install software via software centre I get:

Package operation failed
the installation or removal of a software package failed

I have tried the following:

sudo dpkg --configure -a
sudo apt-get autoremove
sudo apt-get install -f

but still nothing happens. I'm running 14.04 beta

share|improve this question
What is the output of sudo dpkg --configure -a? –  i08in Apr 11 '14 at 20:12
The output is : no talloc stackframe at ../source3/param/loadparm.c:4864, leaking memory –  Daniel Apr 11 '14 at 20:15
Did you install packages using dpkg --get-selections? –  i08in Apr 11 '14 at 20:16
no, I didn't use that command –  Daniel Apr 11 '14 at 20:18
I found the solution thank you for your help and your time Sir. –  Daniel Apr 11 '14 at 20:41

2 Answers 2

Executing the following commands solved the problem for me:

sudo apt-get --fix-broken install
sudo dpkg --configure --pending
sudo apt-get update
sudo apt-get upgrade
share|improve this answer

You should make sure you are using one of the core window managers. For example I use openbox for systems that are not responsive enough for gnome and software-center fails in interesting ways. If I switch my session to gnome by running


from from the command line suddenly software center starts working.

share|improve this answer

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.