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.

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 at 20:12
The output is : no talloc stackframe at ../source3/param/loadparm.c:4864, leaking memory –  user244986 Apr 11 at 20:15
Did you install packages using dpkg --get-selections? –  i08in Apr 11 at 20:16
no, I didn't use that command –  user244986 Apr 11 at 20:18
I found the solution thank you for your help and your time Sir. –  user244986 Apr 11 at 20:41
add comment

1 Answer 1

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
add comment

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.