ich habe vor kurzem mal ein Paket update auf meinem Server gemacht da wurde einiges neu installiert, aber anscheinend auch einiges kaputt installiert. Seit dem habe ich z.B. Probleme mit einigen iptables modulen (xtables). Also wollte ich diese re-installieren.
Das Problem scheint aber irgend eine Problem mit dem Kernel und den Head zu sein.
Hier mal ein log, was passiert ist.
Code: Alles auswählen
Mon May 25/07:16:root@sabretooth:~# module-assistant --verbose --text-mode auto-install xtables-addons
Updating info about xtables-addons-source
Updated infos about 1 packages
Getting source for kernel version: 3.16.0-0.bpo.4-amd64
apt-get install linux-headers-3.16.0-0.bpo.4-amd64
Reading package lists... Done
Building dependency tree
Reading state information... Done
linux-headers-3.16.0-0.bpo.4-amd64 is already the newest version.
linux-headers-3.16.0-0.bpo.4-amd64 set to manually installed.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Creating symlink...
apt-get install build-essential
Reading package lists... Done
Building dependency tree
Reading state information... Done
build-essential is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Done!
download
apt-get -y --force-yes install xtables-addons-source
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following extra packages will be installed:
pkg-config
The following NEW packages will be installed:
pkg-config xtables-addons-source
0 upgraded, 2 newly installed, 0 to remove and 0 not upgraded.
Need to get 180 kB of archives.
After this operation, 294 kB of additional disk space will be used.
Get:1 http://ftp.plusline.de/debian/ wheezy/main pkg-config amd64 0.26-1 [59.5 kB]
Get:2 http://ftp.plusline.de/debian/ wheezy/main xtables-addons-source all 1.42-2 [120 kB]
Fetched 180 kB in 0s (464 kB/s)
Selecting previously unselected package pkg-config.
(Reading database ... 81873 files and directories currently installed.)
Unpacking pkg-config (from .../pkg-config_0.26-1_amd64.deb) ...
Selecting previously unselected package xtables-addons-source.
Unpacking xtables-addons-source (from .../xtables-addons-source_1.42-2_all.deb) ...
Processing triggers for man-db ...
Setting up pkg-config (0.26-1) ...
Setting up xtables-addons-source (1.42-2) ...
localepurge: Disk space freed in /usr/share/locale: 0 KiB
localepurge: Disk space freed in /usr/share/man: 0 KiB
localepurge: Disk space freed in /usr/share/omf: 0 KiB
Total disk space freed by localepurge: 0 KiB
Updating info about xtables-addons-source
Updated infos about 1 packages
Bad luck, the kernel headers for the target kernel version could not be found and you did not specify other valid kernel headers to use.
However, you can install the header files for your kernel which are provided by the linux-headers-3.16.0-0.bpo.4-amd64 package. For most modules packages, these files are perfectly
sufficient without having the original kernel source.
To install the package, run:
module-assistant prepare
or
apt-get install linux-headers-3.16.0-0.bpo.4-amd64
Hat jemand eine Idee, wie man das fixen kann?!
Danke und Gruß
Nachtrag:
Hier noch der output von /usr/src/
Code: Alles auswählen
Mon May 25/07:44:root@sabretooth:/usr/src# lf
total 136K
lrwxrwxrwx 1 root 34 May 25 07:16 linux -> linux-headers-3.16.0-0.bpo.4-amd64/
drwxr-xr-x 4 root 4.0K May 25 07:20 linux-headers-3.16.0-0.bpo.4-amd64/
drwxr-xr-x 4 root 4.0K May 22 17:24 linux-headers-3.16.0-0.bpo.4-common/
drwxr-xr-x 4 root 4.0K Apr 27 10:23 linux-headers-3.2.0-4-amd64/
drwxr-xr-x 4 root 4.0K Apr 27 10:23 linux-headers-3.2.0-4-common/
lrwxrwxrwx 1 root 24 Sep 27 2014 linux-kbuild-3.16 -> ../lib/linux-kbuild-3.16/
lrwxrwxrwx 1 root 23 Jun 24 2012 linux-kbuild-3.2 -> ../lib/linux-kbuild-3.2/
drwxr-xr-x 5 root 12K May 25 07:20 xtables-addons-1.42/
-rw-r--r-- 1 root 106K May 8 2012 xtables-addons.tar.bz2
Code: Alles auswählen
Mon May 25/07:44:root@sabretooth:/usr/src# apt-cache policy $(uname -r)
linux-headers-3.16.0-0.bpo.4-amd64:
Installed: 3.16.7-ckt9-3~deb8u1~bpo70+1
Candidate: 3.16.7-ckt9-3~deb8u1~bpo70+1
Version table:
*** 3.16.7-ckt9-3~deb8u1~bpo70+1 0
100 http://ftp.de.debian.org/debian/ wheezy-backports/main amd64 Packages
100 /var/lib/dpkg/status
linux-modules-3.16.0-0.bpo.4-amd64:
Installed: (none)
Candidate: (none)
Version table:
linux-latest-modules-3.16.0-0.bpo.4-amd64:
Installed: (none)
Candidate: (none)
Version table:
linux-image-3.16.0-0.bpo.4-amd64-dbg:
Installed: (none)
Candidate: 3.16.7-ckt9-3~deb8u1~bpo70+1
Version table:
3.16.7-ckt9-3~deb8u1~bpo70+1 0
100 http://ftp.de.debian.org/debian/ wheezy-backports/main amd64 Packages
nvidia-kernel-3.16.0-0.bpo.4-amd64:
Installed: (none)
Candidate: 340.65+1~bpo70+1+2~bpo70+1+3.16.7-ckt2-1~bpo70+1
Version table:
340.65+1~bpo70+1+2~bpo70+1+3.16.7-ckt2-1~bpo70+1 0
100 http://ftp.de.debian.org/debian/ wheezy-backports/non-free amd64 Packages
linux-image-3.16.0-0.bpo.4-amd64:
Installed: 3.16.7-ckt9-3~deb8u1~bpo70+1
Candidate: 3.16.7-ckt9-3~deb8u1~bpo70+1
Version table:
*** 3.16.7-ckt9-3~deb8u1~bpo70+1 0
100 http://ftp.de.debian.org/debian/ wheezy-backports/main amd64 Packages
100 /var/lib/dpkg/status
xen-linux-system-3.16.0-0.bpo.4-amd64:
Installed: (none)
Candidate: 3.16.7-ckt9-3~deb8u1~bpo70+1
Version table:
3.16.7-ckt9-3~deb8u1~bpo70+1 0
100 http://ftp.de.debian.org/debian/ wheezy-backports/main amd64 Packages