I got raspbian (debian jessie) installed on my raspberry pi that currently has no internet. I also have a windows machine with full internet access.

The package that I'm installing says that

Module build for kernel 4.4.34+ was skipped since the kernel
headers for this kernel does not seem to be installed

Furthermore, uname -r states:


How would i go about upgrading those kernel headers Edit: I don't have another unix system and I don't want to use a VM

  • Answered here.
    – dirkt
    Feb 16, 2017 at 11:06
  • 1
    Possible duplicate of Download Debian packages and dependancies on windows?
    – dirkt
    Feb 16, 2017 at 11:07
  • @dirkt nope, none of those answer the question, you're just promoting your own answer that doesnt help me in any shape way or form
    – Deimantux
    Feb 16, 2017 at 11:37
  • How does it not help you? You need the linux-headers-* Debian package for your kernel (I thought that was the obvious part). As you don't have Internet on your Pi (that's the difficult part), download using apt-offline or Sushi Huh?, as described in the answer. And I used the question with my own answer because that was quickest to find, not to "promote" my answer - I think there's at least another duplicate at superuser, and possibly more here.
    – dirkt
    Feb 16, 2017 at 12:17
  • @dirkt, no stop promoting your answers at the expense of other people's time.
    – Deimantux
    Feb 16, 2017 at 19:31

1 Answer 1


You can use apt-get --print-uris to install your package. A detailed tuto can be found on Ubuntu-help


Instead of fetching the files to install, their URIs are printed. Each 
URI will have the path, the destination file name, the size and the 
expected  md5 hash. Note that the file name to write to will not always 
match the file  name on the remote site! This also works with the source 
and update commands.  When used with the update command, the MD5 and size 
are not included, and it  is up to the user to decompress any compressed 

In your case , the needed package is :linux-headers

 sudo apt-get --print-uris --yes install linux-headers-$(uname -r) | grep ^\' | cut -d\' -f2 > packageuri.htm
  • Seems to be working at the first glance, then gives the error unable to locate package linux-headers-4.4.34
    – Deimantux
    Feb 16, 2017 at 20:04

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .