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

Every once in a while I can't install packages in Ubuntu 11.04. I'll try to run the software center and it and it will pop up then disappear. If I call it from the command line it says it seg-faults. And then trying to install anything from the command line I get this:

sudo apt-get install pdftk
Reading package lists... Done

And thats all I get for anything I try. Usually restarting fixes the problem but its very annoying.

share|improve this question
Does running aptitudeinstead of apt-getgives you the same results? – Uri Herrera Nov 25 '11 at 17:44
Its not installed and I can't install it for the same reason. – cbron Nov 25 '11 at 17:59
what happens if you do a apt-get update – cosmorogers Nov 25 '11 at 18:25
That did it, never thought about doing it. thanks. – cbron Nov 25 '11 at 18:30
Have you looked at /var/log/apt/*.log and /var/log/dpkg.log? Maybe there's some information there that can be used to troubleshoot the problem. – jcollado Nov 25 '11 at 19:12

Thanks to cosmorogers for the super easy answer of:

 sudo apt-get update
share|improve this answer
if an apt-get update solved your problem, then the actual problem was that some part of your ubuntu install was still an old version that didn't match up with what your version of apt-get needed. – ImaginaryRobots Jan 7 '12 at 1:32

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.