I have the same bug in Precise (12.04.3) with linux-image-generic-lts-raring_3.8.0.32.32_amd64.deb and openvswitch-switch 1.4.0-1ubuntu1.5
# apt-get install --reinstall openvswitch-switch openvswitch-datapath-dkms openvswitch-common
Reading package lists... Done
Building dependency tree
Reading state information... Done
0 upgraded, 0 newly installed, 3 reinstalled, 0 to remove and 0 not upgraded.
Need to get 0 B/3 827 kB of archives.
After this operation, 0 B of additional disk space will be used.
(Reading database ... 132279 files and directories currently installed.)
Preparing to replace openvswitch-common 1.4.0-1ubuntu1.5 (using .../openvswitch-common_1.4.0-1ubuntu1.5_amd64.deb) ...
Unpacking replacement openvswitch-common ...
Preparing to replace openvswitch-datapath-dkms 1.4.0-1ubuntu1.5 (using .../openvswitch-datapath-dkms_1.4.0-1ubuntu1.5_all.deb) ...
------------------------------
Deleting module version: 1.4.0
completely from the DKMS tree.
------------------------------
Done.
Unpacking replacement openvswitch-datapath-dkms ...
Preparing to replace openvswitch-switch 1.4.0-1ubuntu1.5 (using .../openvswitch-switch_1.4.0-1ubuntu1.5_amd64.deb) ...
Unpacking replacement openvswitch-switch ...
Processing triggers for man-db ...
Processing triggers for ureadahead ...
Setting up openvswitch-common (1.4.0-1ubuntu1.5) ...
Setting up openvswitch-datapath-dkms (1.4.0-1ubuntu1.5) ...
Kernel preparation unnecessary for this kernel. Skipping...
Building module:
cleaning build area....(bad exit status: 2)
./configure --with-linux='/lib/modules/3.8.0-32-generic/build' && make -C datapath/linux.....(bad exit status: 1)
Error! Bad return status for module build on kernel: 3.8.0-32-generic (x86_64)
Consult /var/lib/dkms/openvswitch/1.4.0/build/make.log for more information.
# less /var/lib/dkms/openvswitch/1.4.0/build/make.log
....
checking whether gcc accepts -Wstrict-prototypes... yes
checking whether gcc accepts -Wold-style-definition... yes
checking whether gcc accepts -Wmissing-prototypes... yes
checking whether gcc accepts -Wmissing-field-initializers... yes
checking whether gcc accepts -Wno-override-init... yes
checking whether gcc accepts -Wno-unused... yes
checking whether gcc accepts -Wno-unused-parameter... yes
checking target hint for cgcc... x86_64
checking whether make has GNU make $(if) extension... yes
checking for Linux build directory... /lib/modules/3.8.0-32-generic/build
checking for Linux source directory... /lib/modules/3.8.0-32-generic/build
checking for kernel version... 3.8.13
configure: error: Linux kernel source in /lib/modules/3.8.0-32-generic/build is not configured
I have the same bug in Precise (12.04.3) with linux-image- generic- lts-raring_ 3.8.0.32. 32_amd64. deb and openvswitch-switch 1.4.0-1ubuntu1.5
# apt-get install --reinstall openvswitch-switch openvswitch- datapath- dkms openvswitch-common -common_ 1.4.0-1ubuntu1. 5_amd64. deb) ... datapath- dkms 1.4.0-1ubuntu1.5 (using .../openvswitch -datapath- dkms_1. 4.0-1ubuntu1. 5_all.deb) ...
Reading package lists... Done
Building dependency tree
Reading state information... Done
0 upgraded, 0 newly installed, 3 reinstalled, 0 to remove and 0 not upgraded.
Need to get 0 B/3 827 kB of archives.
After this operation, 0 B of additional disk space will be used.
(Reading database ... 132279 files and directories currently installed.)
Preparing to replace openvswitch-common 1.4.0-1ubuntu1.5 (using .../openvswitch
Unpacking replacement openvswitch-common ...
Preparing to replace openvswitch-
------- ------- ------- ------- -- ------- ------- ------- -- datapath- dkms ... -switch_ 1.4.0-1ubuntu1. 5_amd64. deb) ... datapath- dkms (1.4.0-1ubuntu1.5) ...
Deleting module version: 1.4.0
completely from the DKMS tree.
-------
Done.
Unpacking replacement openvswitch-
Preparing to replace openvswitch-switch 1.4.0-1ubuntu1.5 (using .../openvswitch
Unpacking replacement openvswitch-switch ...
Processing triggers for man-db ...
Processing triggers for ureadahead ...
Setting up openvswitch-common (1.4.0-1ubuntu1.5) ...
Setting up openvswitch-
Creating symlink /var/lib/ dkms/openvswitc h/1.4.0/ source ->
/usr/ src/openvswitch -1.4.0
DKMS: add completed.
Kernel preparation unnecessary for this kernel. Skipping...
Building module: linux=' /lib/modules/ 3.8.0-32- generic/ build' && make -C datapath/ linux.. ...(bad exit status: 1) dkms/openvswitc h/1.4.0/ build/make. log for more information.
cleaning build area....(bad exit status: 2)
./configure --with-
Error! Bad return status for module build on kernel: 3.8.0-32-generic (x86_64)
Consult /var/lib/
# less /var/lib/ dkms/openvswitc h/1.4.0/ build/make. log prototypes. .. yes definition. .. yes prototypes. .. yes field-initializ ers... yes init... yes parameter. .. yes 3.8.0-32- generic/ build 3.8.0-32- generic/ build 3.8.0-32- generic/ build is not configured
....
checking whether gcc accepts -Wstrict-
checking whether gcc accepts -Wold-style-
checking whether gcc accepts -Wmissing-
checking whether gcc accepts -Wmissing-
checking whether gcc accepts -Wno-override-
checking whether gcc accepts -Wno-unused... yes
checking whether gcc accepts -Wno-unused-
checking target hint for cgcc... x86_64
checking whether make has GNU make $(if) extension... yes
checking for Linux build directory... /lib/modules/
checking for Linux source directory... /lib/modules/
checking for kernel version... 3.8.13
configure: error: Linux kernel source in /lib/modules/