I just installed Ubuntu 16.04 on my laptop and tried to install Terminator. I am getting broken packages error when I run:

sudo apt-get -f install

The error message comes from the gstreamer1.0 and libgstreamer packages.

I've tried to run:

sudo apt-get install -f && sudo apt-get update

but all in vain.

Can someone help me fix this?

  • 1
    Please edit your question and add the exact output from the commands you try. – Organic Marble Aug 12 '16 at 13:39
  • 'Throw errors' is too vague. Show exactly what happens. The -f should not be needed, don't get in the force habit. I suggest you "apt-get install --reinstall gstreamer1.0", and the other one too to make sure they are whole and good. Then tell us where you are getting Terminator, because In Ubuntu 16.04, I just ran "apt-get install Terminator" and found nothing. This makes me suspect you have a package built on different repo, and you don't fix that kind of problem with force. – pauljohn32 Aug 21 '16 at 5:16

Reboot your system and stop while booting into OS and choose your in this way: depackaging option depckg and this leads to update your broken packages.

just restart your system and start pressing Alt+F4(may be vary from os to os).

  • 1
    Can ypu rewrite your answer to give step by step directions? It may be confusing to a new user, – Organic Marble Aug 12 '16 at 11:23

Your error message is resulting from GStreamer. After a fresh installation of Ubuntu 16.04 you need to install three main packages before building GStreamer. Follow this link to solve the problem resulting from GStreamer.

If you probably get an error on running the first command, try to fix broken packages first using:

sudo apt-get update –fix-missing && sudo dpkg –configure -a && sudo apt-get install -f && sudo fuser -vki /var/lib/dpkg/lock && sudo dpkg –configure -a

Retry the solution in the above pinned link.


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.