Take the 2-minute tour ×
Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems.. It's 100% free, no registration required.

Essentially I have an Ubuntu laptop and a board running Debian. I have installed the same kernel module and a utility for managing it on each, using aptitude.

Unfortunately, the versions of the kernel modules and utilities, do not match up. The Debian version is 2010 and Ubuntu is 2012. It is important that they do as they are for ad-hoc networking and the two computers can only recognise each other as nodes when the versions are aligned.

I have updated aptitude on the Debian board and tried re-installing but it can't get a newer version.

I'm figuring if I can do one of the following (but don't know how to do them):

  • Find where aptitude downloads the kernel modules and utilities from on ubuntu and tell the debian version to also download from here
  • Download and install the kernel module from source (I have a source
    file for the module and utility but I'm not 100% on how to install
  • Somehow use aptitude to install the older version on ubuntu (this is non-ideal as some features are missing)

Preferably I'd like to be able to install it all using apt-get. Any ideas?

share|improve this question
    
Some information about the kernel models and utilities, like what they are, would be relevant, and possibly useful. –  Faheem Mitha Apr 22 '13 at 18:19

2 Answers 2

For Ubuntu, you can install any kernel you need from here to make it the same a the Debian kernel: http://kernel.ubuntu.com/~kernel-ppa/mainline/

Download the headers and image with the architecture you need and the headers all package. After you download them all you have to do is double click to install.

share|improve this answer

You could try upgrading your Debian system to wheezy using the instructions on the Debian wiki (tl;dr: replace occurrances of stable in /etc/apt/sources.list with wheezy, apt-get update, and apt-get dist-upgrade).

Wheezy is getting released in the next couple of weeks so it should be pretty safe to do this. You'll get kernel version 3.2 (as opposed to the current squeeze kernel of 2.6.32).

Note that going back to stable is no mean feat, so back everything up first!

share|improve this answer
    
The stable backports offer the same kernel version as in wheezy, and does not require upgrading your entire system to testing. –  jordanm Apr 22 '13 at 19:09

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.