I've a very strange problem.

Yesterday everything was fine, today I've launched Ubuntu and I've got this message:

package linux-image-4.4.0-65-generic needs to be reinstalled, but I can't find an archive for it

I've searched for some solution online but I haven't found anything.

share|improve this question
    
Have you tried sudo apt install linux-image-4.4.0-65-generic? The "no archive" would DS like it means it's just not in your cache. – Nonny Moose Mar 3 '17 at 13:06
    
An update was offered yesterday for linux-generic for a brief time which included this kernel, but then it seems to have been pulled. One of my xenial systems got this update, the other didn't. You may have gotten caught in the transition. You shpuld probably fall back to -64. I'm not decided what to do on my one system that got this now-orphaned update. – Organic Marble Mar 3 '17 at 13:20
    
@NonnyMoose thanks for the help but it didn't work. Anyway I've found a solution by myself. – Jack Mar 3 '17 at 13:35
1  
@ Organic Marble thanks! With your suggestion I managed to find a solution! – Jack Mar 3 '17 at 13:36
    
Just download and re install the kernel using dpkg -i and you should be fine. ubuntuupdates.org/package/canonical_kernel_team/xenial/main/‌​… – Tomas Mar 14 '17 at 15:01

I've found a solution:

I installed a new kernel.

Following this Ubuntu handbook guide I deleted old kernels versions

After that I discovered that the linux-image-4.4.0-65-generic was in a very bad inconsistent state.

So I removed it using this command: sudo dpkg --remove --force-remove-reinstreq <image-to-remove>.

Now it works :)

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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