How do I correct a kernel image error?

February 5, 2015 709 views

So I'm new to Ubuntu and trying to install vsftpd on my web server. However, whenever I use the command

sudo apt-get install vsftpd

I get an error back that reads:

E: The package linux-image-3.8.0-41-generic needs to be reinstalled, but I can't find an archive for it.

How do I reinstall this image without an existing archive for it? This error comes up trying to install virtually anything right now, and is also preventing me from doing an upgrade. I've been able to find some other forums where people have a similar error, but none with a solution that works for me. Has anybody seen this?

  • Hey! Anymore info you could provide would help us figure this out. What version of Ubuntu are you on, 12.04? Is this a DigitalOcean droplet? What's the output of apt-cache policy linux-image-3.8.0-41-generic ?

  • Oh yeah—running 12.04.3. Output of apt-cache policy linux-image-3.8.0-41-generic is:

        Installed: 3.8.0-41.60~precise1
        Candidate: 3.8.0-41.60~precise1
        Version Table:
     *** 3.8.0-41.60~precise1 0
               100 /var/lib/dpkg/status
  • you could always download the kernel sources and fix the error directly in the kernel with make menuconfig

  • wuzamarine—I'm a bit of a newbie when it comes to Ubuntu. That sounds like it would work. Can you explain more specifically how to do that?

Be the first one to answer this question.