Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

yesterday i downloaded source of my virtual linux kernel and tried to compile it. It compiled indeed but could not boot from the new kernel.

Then today i decided to re-downloading after removing the folder where source files are located but it said "linux source is already the newest version"

I use the command below:

sudo apt-get install linux-source

What should i do to be able to re-download the source.

thanks...

share|improve this question

migrated from stackoverflow.com Oct 21 '10 at 17:19

This question came from our site for professional and enthusiast programmers.

    
Shouldn't this be on user error or server fault? –  siride Oct 21 '10 at 15:55

2 Answers 2

Well, you did something that you should never do. You manually erased an installed package.

Try apt-get install -f linux-source

share|improve this answer

Try

sudo apt-get install --reinstall linux-source
share|improve this answer

Your Answer

 
discard

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