PDA

View Full Version : [SOLVED] 15.04 upgrade, where is the kernel source?



stepheny
April 24th, 2015, 10:28 AM
I have tried to get my nVidia GPU working in 15.04 but when I run
sudo apt-get install --reinstall bbswitch-dkms I get the following warning:


Entpacken von bbswitch-dkms (0.7-2ubuntu1) über (0.7-2ubuntu1) ...
bbswitch-dkms (0.7-2ubuntu1) wird eingerichtet ...
Loading new bbswitch-0.7 DKMS files...
Building only for 3.16.0-34-generic
Module build for the currently running kernel was skipped since the
kernel source for this kernel does not seem to be installed.

I have installed "linux-source" but still get the same warning.

dino99
April 24th, 2015, 11:50 AM
when you upgrade, then you might need to clean the system with 'sudo apt-get autoremove'
this is normal that it fails, and expected, as the kernel 3.16 does not exist into vivid archive; it is running kernel 3.19.x

be sure that /etc/apt/sources.list is only using vivid archives

stepheny
April 24th, 2015, 02:11 PM
Nope, that did't help


~$ sudo apt-get autoremove
[sudo] password for steve:
Paketlisten werden gelesen... Fertig
Abhängigkeitsbaum wird aufgebaut.
Statusinformationen werden eingelesen.... Fertig
0 aktualisiert, 0 neu installiert, 0 zu entfernen und 0 nicht aktualisiert.

And /etc/apt/sources.list is only using vivid archives!

grahammechanical
April 24th, 2015, 02:32 PM
Module build for the currently running kernel was skipped since the kernel source for this kernel does not seem to be installed.

Have you tried System Settings>Software & Updates>Ubuntu Software and making sure that there is a tick mark against Source Code?

Regards

stepheny
April 24th, 2015, 05:50 PM
Have you tried System Settings>Software & Updates>Ubuntu Software and making sure that there is a tick mark against Source Code?

Thanks, that fixed the dkms problem.

Still having problems with nVidia and Eclipse/Arduino IDE though. See here (http://ubuntuforums.org/showthread.php?t=2275082) for details.

arthurnobrega
May 13th, 2015, 05:58 AM
Hey guys,

I am having the same problem and grahammechanical answer didn't solve, look:


sudo apt-get install --reinstall bbswitch-dkms
...
------------------------------
Deleting module version: 0.7
completely from the DKMS tree.
------------------------------
Done.
A descompactar bbswitch-dkms (0.7-2ubuntu1) sobre (0.7-2ubuntu1) ...
Configurando bbswitch-dkms (0.7-2ubuntu1) ...
Loading new bbswitch-0.7 DKMS files...
Building only for 3.16.0-34-generic
Module build for the currently running kernel was skipped since the
kernel source for this kernel does not seem to be installed.


SOME INFORMATION ABOUT MY ENVIRONMENT


uname -a
Linux Arthur-Laptop 3.16.0-34-generic #47-Ubuntu SMP Fri Apr 10 18:02:58 UTC 2015 x86_64 x86_64 x86_64 GNU/Linux


lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 15.04
Release: 15.04
Codename: vivid