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.

I received a message saying "There seems to be a programming error in aptdaemon, the software that allows you to install/remove software and to perform other package management related tasks." I then tried these commands

sudo dpkg --configure -a

sudo apt-get install ttf-mscorefonts-installer

But at the end it returned an error saying the package libx264-123 needs to be reinstalled, but I can't find an archive for it.

share|improve this question

closed as off-topic by karel, bodhi.zazen, neon_overload, Braiam, Eric Carvalho Jul 16 at 10:50

This question appears to be off-topic. The users who voted to close gave this specific reason:

If this question can be reworded to fit the rules in the help center, please edit the question.

I'd start with sudo apt-get update, and if that works, sudo apt-get -f install. Finally, if those run without crashing, I'd finish with sudo apt-get upgragrade. –  Marc Jul 16 at 3:06
Quantal has reached end-of-life. You need to upgrade to Trusty (14.04) (by going through Saucy (13.10)). See the guide here. You can also choose to do a fresh install of Trusty instead. –  saiarcot895 Jul 16 at 3:29
Hi, welcome to Ubuntu. I suggest you do a fresh install without formatting your root partition. Your data in /home will be preserved and a fresh install is faster and more reliable then an upgrade. –  bodhi.zazen Jul 16 at 3:31
add comment

1 Answer 1

You need to enable the "universe" repository, that is the repo that contains the libx264-123 package.

You can do this by using the software center.

  1. open Ubuntu Software Center
  2. click on "Edit"
  3. select "Software Sources" from the drop-down menu
  4. make sure "Community-maintained free and open-source software (universe)" has a check or is selected
  5. enter your password to accept the changes
  6. Then,

run the following commands

sudo apt-get update
sudo apt-get purge x264 libx264-123 ttf-mscorefonts-installer

Before accepting the changes, take note of what will be uninstalled. You will need to re-install any packages removed with that command!

sudo apt-get autoremove
sudo apt-get autoclean
sudo apt-get dist-upgrade    
sudo apt-get install x264 lib264-123 ttf-mscorefonts-installer

Any other packages that were uninstalled earlier should be included in the final command to be reinstalled.

As a suggestion, you might want to install the synaptic package manager as it is a powerful and resourceful tool that is capable of configuring your sources as well as fixing and resolving dependency issues or broken packages.

sudo apt-get install synaptic

and use

sudo synaptic


gksudo synaptic

to start it up.

share|improve this answer
add comment

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