Fix Broken package – Ubuntu

Sometimes a corrupt installation package can corrupt your package management system leaving your Linux unable to install or on remove any packages (Software). Here is the message error I got from apt-get after trying to install ndas-admin for Ubuntu.

$sudo apt-get install mplayer   (or any package)
Reading package lists… Done
Building dependency tree      
Reading state information… Done
E: The package ndas-admin needs to be reinstalled, but I can’t find an archive for it.   (this is the error)

I tried : $ sudo apt-get install -f  , to try to fix the problem but got the same error. The only option I had was to edit the dpkg status file manually.

  1. $ sudo gedit /var/lib/dpkg/status    (if you prefer you can use vi instead of gedit)
  2. Locate the corrupt package, and remove the whole block of information about it and save the file. Mine looked like this:
  • Package: ndas-admin
    Status: deinstall reinstreq half-configured
    Priority: extra
    Section: alien
    Installed-Size: 100
    Maintainer: root <root@ubuntu510>
    Architecture: i386
    Version: 1.0.2-24
    Depends: libc6 (>= 2.3.4-1)
    Description: Administration toosl for XIMETA,Inc NDAS device driver for Linux operating system
     ndas-admin – This program allows the user to register/enable/disable/unregister the XIMETA NDAS hard disk.
     (Converted from a rpm package by alien version 8.53.)

Fixed. Hope this helps someone else.

Technorati Tags: , , ,

Leave a comment ?


  1. So appreciate this post. Was about to kill someone courtesy of googleearth. Now happy again! You rock!

  2. Thank you so much! I was almost doomed.

  3. You sir, are a hero. I love you.

  4. I just couldn’t thank you enough, i thought of doing a fresh install, but you saved me.

    Thank you very much.

  5. Thanks! This worked perfectly.

  6. I can never thank you enough, I been pulling my hair out trying to fix my problem, finally after hours of searching I found this post. You really saved me a Full install of the whole system

  7. Yeah men, you are our saver !!!

    Thanks !

  8. Man,
    You are Great. I can’t leave this page without appreciating You. You Rocks man. Really Thanks… Keep giving useful tips for newbies like Me……

    Thanz again…..


  10. This is just what I needed. Thanks!

  11. Well I sure help me! I was about to go back to windows, not a pretty option.

  12. It helps me a lot! thanks!!

  13. Thanks it helps a lot

  14. thank you very much … ! …………

    thank………………you save me now…………..

  15. :wink: :razz: :smile: :grin: :eek: :shock: :cool: :lol: :roll: :wink: :mrgreen: :mrgreen: :mrgreen: :mrgreen: :mrgreen: :mrgreen:

  16. Super helpful!! as opposed to the browsing thru countless and tedious ubuntu forum pages that neverhelped!
    finally rid of the fnfx d(a)emon!!

  17. Ubuntu使用心得 | 小北的意识流 - pingback on April 1, 2013 at 3:44 pm
  18. FINALLY!! I’ve been fighting a broken package for a while now and this finally did the trick. Thank you!!

Leave a Comment

NOTE - You can use these HTML tags and attributes:
<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>


Trackbacks and Pingbacks: