Solution to “There seems to be a programming error in aptdaemon”

1 Star2 Stars3 Stars4 Stars5 Stars (No Ratings Yet)
Loading ... Loading ...

If you are trying to apply the updates in Ubuntu (11.04 Natty Narwhal in this case) and you get error message telling you that

“An unhandlable error occured”

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.

If you try upgrading via command line with: sudo apt-get upgrade

you would encounter a different set of error messages, something akin

E: The package index files are corrupted. No Filename: field for package tzdata.

Apparently the source of this error could be several, most likely ones are, that your upgrade process broke off prematurely the last time it was being performed, or the source that you have listed is not getting the latest updates. Anyway running the following commands in succession fixed the issue for me:

sudo apt-get clean
sudo apt-get update
sudo apt-get upgrade

If the above steps don’t fix it for you, then try changing your default repository from synaptic’s repository list and try running above commands again.

If you found this useful, please consider leaving a comment or liking us on Facebook or following us on Twitter or subscribing to the RSS feed to have future articles delivered to your feed reader.

You might also like

Failed to fetch: Error with Ubuntu Update If you are...
Install libstdc++.so.5 on Ubuntu 11.04 Natty Narwhal If you try...
Fixed Grub error: “symbol not found: ‘grub_efi_secure_boot’” If you have...
Ubuntu 11.04 Natty Narwhal (Alpha 1) Preview It is going...

About the Author

has written 1285 posts on this blog.

Meditating towards his "nerdvana", lifehacker is a teacher by the day and a nerdy blogger by the night. He lives to learn and yearns to learn living.

Write a Comment

Gravatars are small images that can show your personality. You can get your gravatar for free today!

*

Copyright © 2014 Hack Your Life!. All rights reserved.
Proudly powered by WordPress. Developed by Deluxe Themes