Sign up ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I tried the following command but it's not working:

apt-get source linux-image-$(uname -r)
share|improve this question
Post any error messages you're getting exactly. –  LawrenceC Jul 7 '13 at 11:32
invalid operation source image 3.5.0-23-generic –  james Jul 7 '13 at 11:43
Read man apt-get - the second word in the command needs to be something like install IIRC. –  LawrenceC Jul 7 '13 at 12:37
@ultrasawblade SOurce is an operation to downlload the source –  handuel Jul 7 '13 at 13:07

1 Answer 1

The most likely reason is that you do not have source URIs in your /etc/apt/sources.list. You should add a line like this (adapt it to your specific Ubuntu version):

deb-src raring main restricted

Then run sudo apt-get update and try installing the sources again.

share|improve this answer

Your Answer


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.