Package: dkms; Maintainer for dkms is Dynamic Kernel Module System Team <dkms@packages.debian.org>; Source for dkms is src:dkms (PTS, buildd, popcon).
Reported by: Tom Epperly <tepperly@gmail.com>
Date: Thu, 13 Dec 2012 04:45:01 UTC
Severity: normal
Found in version dkms/2.2.0.3-1.2
Done: Aron Xu <aron@debian.org>
Bug is archived. No further changes may be made.
View this report as an mbox folder, status mbox, maintainer mbox
Report forwarded
to debian-bugs-dist@lists.debian.org, Dynamic Kernel Modules Support Team <pkg-dkms-maint@lists.alioth.debian.org>:
Bug#695824; Package dkms.
(Thu, 13 Dec 2012 04:45:04 GMT) (full text, mbox, link).
Acknowledgement sent
to Tom Epperly <tepperly@gmail.com>:
New Bug report received and forwarded. Copy sent to Dynamic Kernel Modules Support Team <pkg-dkms-maint@lists.alioth.debian.org>.
(Thu, 13 Dec 2012 04:45:04 GMT) (full text, mbox, link).
Message #5 received at submit@bugs.debian.org (full text, mbox, reply):
Package: dkms
Version: 2.2.0.3-1.2
Severity: normal
Dear Maintainer,
I was doing an apt-get dist-upgrade, and this is what I saw:
Setting up libxapian22 (1.2.12-2) ...
Setting up libxenstore3.0 (4.1.3-7) ...
Setting up linux-headers-3.2.0-4-common (3.2.35-1) ...
Setting up linux-headers-3.2.0-4-amd64 (3.2.35-1) ...
Examining /etc/kernel/header_postinst.d.
run-parts: executing /etc/kernel/header_postinst.d/dkms 3.2.0-4-amd64
Error! Could not locate dkms.conf file.
File: does not exist.
Setting up linux-libc-dev:amd64 (3.2.35-1) ...
Setting up m17n-db (1.6.4-1) ...
Setting up m17n-contrib (1.1.14-1) ...
Setting up mkvtoolnix (5.9.0-1) ...
Setting up openexr (1.6.1-7) ...
Later in the terminal window, I did the following which reproduces the error.
# /usr/lib/dkms/dkms_autoinstaller
Usage: /usr/lib/dkms/dkms_autoinstaller {start}
# /usr/lib/dkms/dkms_autoinstaller start
[....] dkms: running auto installation service for kernel
3.2.0-4-amd64:Error! Could not locate dkms.conf file.
File: does not exist.
. ok
I don't know where dkms.conf is supposed to be or where it's supposed
to come from.
-- System Information:
Debian Release: 7.0
APT prefers unstable
APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Kernel: Linux 3.2.0-4-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash
Versions of packages dkms depends on:
ii build-essential 11.5
ii coreutils 8.20-3
ii dpkg-dev 1.16.9
ii gcc 4:4.7.2-1
ii make 3.81-8.2
ii module-init-tools 9-2
ii patch 2.6.1-3
Versions of packages dkms recommends:
ii fakeroot 1.18.4-2
ii linux-headers-3.0.0-1-amd64 [linux-headers] 3.0.0-4
ii linux-headers-3.0.0-2-amd64 [linux-headers] 3.0.0-6
ii linux-headers-3.1.0-1-amd64 [linux-headers] 3.1.8-2
ii linux-headers-3.2.0-1-amd64 [linux-headers] 3.2.7-1
ii linux-headers-3.2.0-2-amd64 [linux-headers] 3.2.20-1
ii linux-headers-3.2.0-3-amd64 [linux-headers] 3.2.23-1
ii linux-headers-3.2.0-4-amd64 [linux-headers] 3.2.35-1
ii linux-headers-amd64 [linux-headers] 3.2+46
ii linux-image-3.0.0-1-amd64 [linux-image] 3.0.0-4
ii linux-image-3.0.0-2-amd64 [linux-image] 3.0.0-6
ii linux-image-3.1.0-1-amd64 [linux-image] 3.1.8-2
ii linux-image-3.2.0-1-amd64 [linux-image] 3.2.7-1
ii linux-image-3.2.0-2-amd64 [linux-image] 3.2.20-1
ii linux-image-3.2.0-3-amd64 [linux-image] 3.2.23-1
ii linux-image-3.2.0-4-amd64 [linux-image] 3.2.35-1
ii menu 2.1.46
ii sudo 1.8.5p2-1
dkms suggests no packages.
-- no debconf information
Information forwarded
to debian-bugs-dist@lists.debian.org, Dynamic Kernel Modules Support Team <pkg-dkms-maint@lists.alioth.debian.org>:
Bug#695824; Package dkms.
(Thu, 13 Dec 2012 10:27:03 GMT) (full text, mbox, link).
Acknowledgement sent
to Andreas Beckmann <debian@abeckmann.de>:
Extra info received and forwarded to list. Copy sent to Dynamic Kernel Modules Support Team <pkg-dkms-maint@lists.alioth.debian.org>.
(Thu, 13 Dec 2012 10:27:03 GMT) (full text, mbox, link).
Message #10 received at 695824@bugs.debian.org (full text, mbox, reply):
On 2012-12-13 05:43, Tom Epperly wrote: > Examining /etc/kernel/header_postinst.d. > run-parts: executing /etc/kernel/header_postinst.d/dkms 3.2.0-4-amd64 > Error! Could not locate dkms.conf file. > File: does not exist. Perhaps you don't have any *-dkms package installed (and dkms does not gracefully handle this ...) > I don't know where dkms.conf is supposed to be or where it's supposed > to come from. from kernel module source, usually a package called foo-dkms and installing to /usr/src/foo-VERSION Andreas
Information forwarded
to debian-bugs-dist@lists.debian.org, Dynamic Kernel Modules Support Team <pkg-dkms-maint@lists.alioth.debian.org>:
Bug#695824; Package dkms.
(Thu, 13 Dec 2012 15:33:09 GMT) (full text, mbox, link).
Acknowledgement sent
to Tom Epperly <tepperly@gmail.com>:
Extra info received and forwarded to list. Copy sent to Dynamic Kernel Modules Support Team <pkg-dkms-maint@lists.alioth.debian.org>.
(Thu, 13 Dec 2012 15:33:09 GMT) (full text, mbox, link).
Message #15 received at 695824@bugs.debian.org (full text, mbox, reply):
Thanks for the suggestion. I do seem to have one '*-dkms' package installed.
> dpkg --list '*-dkms'
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ Name Version Architecture Description
+++-==============-============-============-=================================
ii nvidia-kernel- 304.64-2 amd64 NVIDIA binary kernel module DKMS
> dpkg --listfiles nvidia-kernel-dkms | grep dkms.conf
/usr/src/nvidia-304.64/dkms.conf
> cat /usr/src/nvidia-304.64/dkms.conf
# DKMS configuration for the NVIDIA kernel module. -*- sh -*-
# The version is replaced at build time by dh_dkms invoked in debian/rules.
PACKAGE_NAME="nvidia"
PACKAGE_VERSION="304.64"
BUILT_MODULE_NAME[0]="$PACKAGE_NAME"
DEST_MODULE_LOCATION[0]="/updates/dkms"
AUTOINSTALL=yes
MAKE[0]="env CCACHE_DISABLE=1 \
make -C . LINUXDIR=${kernel_source_dir} KVERREL=${kernelver}"
CLEAN="make -C . LINUXDIR=${kernel_source_dir} KVERREL=${kernelver} clean"
Thanks,
Tom
On Thu, Dec 13, 2012 at 2:22 AM, Andreas Beckmann <debian@abeckmann.de> wrote:
> On 2012-12-13 05:43, Tom Epperly wrote:
>> Examining /etc/kernel/header_postinst.d.
>> run-parts: executing /etc/kernel/header_postinst.d/dkms 3.2.0-4-amd64
>> Error! Could not locate dkms.conf file.
>> File: does not exist.
>
> Perhaps you don't have any *-dkms package installed (and dkms does not
> gracefully handle this ...)
>
>> I don't know where dkms.conf is supposed to be or where it's supposed
>> to come from.
>
> from kernel module source, usually a package called foo-dkms and
> installing to /usr/src/foo-VERSION
>
> Andreas
Information forwarded
to debian-bugs-dist@lists.debian.org, Dynamic Kernel Modules Support Team <pkg-dkms-maint@lists.alioth.debian.org>:
Bug#695824; Package dkms.
(Thu, 13 Dec 2012 23:36:03 GMT) (full text, mbox, link).
Acknowledgement sent
to Andreas Beckmann <debian@abeckmann.de>:
Extra info received and forwarded to list. Copy sent to Dynamic Kernel Modules Support Team <pkg-dkms-maint@lists.alioth.debian.org>.
(Thu, 13 Dec 2012 23:36:03 GMT) (full text, mbox, link).
Message #20 received at 695824@bugs.debian.org (full text, mbox, reply):
On 2012-12-13 16:31, Tom Epperly wrote: > Thanks for the suggestion. I do seem to have one '*-dkms' package installed. >> dpkg --list '*-dkms' > ii nvidia-kernel- 304.64-2 amd64 NVIDIA binary kernel module DKMS does dkms status list anything else? Andreas
Information forwarded
to debian-bugs-dist@lists.debian.org, Dynamic Kernel Modules Support Team <pkg-dkms-maint@lists.alioth.debian.org>:
Bug#695824; Package dkms.
(Tue, 18 Dec 2012 06:33:03 GMT) (full text, mbox, link).
Acknowledgement sent
to Tom Epperly <tepperly@gmail.com>:
Extra info received and forwarded to list. Copy sent to Dynamic Kernel Modules Support Team <pkg-dkms-maint@lists.alioth.debian.org>.
(Tue, 18 Dec 2012 06:33:03 GMT) (full text, mbox, link).
Message #25 received at 695824@bugs.debian.org (full text, mbox, reply):
# dkms status Error! Could not locate dkms.conf file. File: does not exist. On 12/13/2012 03:33 PM, Andreas Beckmann wrote: > On 2012-12-13 16:31, Tom Epperly wrote: >> Thanks for the suggestion. I do seem to have one '*-dkms' package installed. >>> dpkg --list '*-dkms' >> ii nvidia-kernel- 304.64-2 amd64 NVIDIA binary kernel module DKMS > does > dkms status > list anything else? > > Andreas
Information forwarded
to debian-bugs-dist@lists.debian.org, Dynamic Kernel Modules Support Team <pkg-dkms-maint@lists.alioth.debian.org>:
Bug#695824; Package dkms.
(Tue, 18 Dec 2012 15:06:03 GMT) (full text, mbox, link).
Acknowledgement sent
to Andreas Beckmann <debian@abeckmann.de>:
Extra info received and forwarded to list. Copy sent to Dynamic Kernel Modules Support Team <pkg-dkms-maint@lists.alioth.debian.org>.
(Tue, 18 Dec 2012 15:06:03 GMT) (full text, mbox, link).
Message #30 received at 695824@bugs.debian.org (full text, mbox, reply):
On 2012-12-18 07:31, Tom Epperly wrote: > # dkms status > Error! Could not locate dkms.conf file. > File: does not exist. Hmm, weird. Please post the output of find /etc/dkms /var/lib/dkms -ls bash -x dkms status Andreas
Information forwarded
to debian-bugs-dist@lists.debian.org, Dynamic Kernel Modules Support Team <pkg-dkms-maint@lists.alioth.debian.org>:
Bug#695824; Package dkms.
(Tue, 30 Jul 2013 10:00:04 GMT) (full text, mbox, link).
Acknowledgement sent
to Tshepang Lekhonkhobe <tshepang@gmail.com>:
Extra info received and forwarded to list. Copy sent to Dynamic Kernel Modules Support Team <pkg-dkms-maint@lists.alioth.debian.org>.
(Tue, 30 Jul 2013 10:00:04 GMT) (full text, mbox, link).
Message #35 received at 695824@bugs.debian.org (full text, mbox, reply):
The only -dkms package I have is virtualbox-dkms, version
4.2.16-dfsg-1, on Testing.
$ dkms status
Error! Could not locate dkms.conf file.
File: does not exist.
$ find /etc/dkms /var/lib/dkms -ls
2625991 4 drwxr-xr-x 3 root root 4096 Jul 30 11:44 /etc/dkms
2625992 4 -rw-r--r-- 1 root root 518 Jul 8 2008
/etc/dkms/framework.conf
2625993 4 drwxr-xr-x 3 root root 4096 Jul 30 11:44
/etc/dkms/template-dkms-mkdeb
2626017 4 drwxr-xr-x 2 root root 4096 Jul 30 11:44
/etc/dkms/template-dkms-mkdeb/debian
2626026 4 -rwxr-xr-x 1 root root 360 Jul 8 2008
/etc/dkms/template-dkms-mkdeb/debian/prerm
2626023 4 -rw-r--r-- 1 root root 189 May 13 2009
/etc/dkms/template-dkms-mkdeb/debian/changelog
2626024 4 -rw-r--r-- 1 root root 353 Jan 26 2010
/etc/dkms/template-dkms-mkdeb/debian/control
2626027 4 -rwxr-xr-x 1 root root 1233 Jul 14 2011
/etc/dkms/template-dkms-mkdeb/debian/postinst
2626022 4 -rw-r--r-- 1 root root 2 May 13 2009
/etc/dkms/template-dkms-mkdeb/debian/compat
2626021 4 -rw-r--r-- 1 root root 150 Jul 8 2008
/etc/dkms/template-dkms-mkdeb/debian/README.Debian
2626019 4 -rwxr-xr-x 1 root root 881 May 13 2009
/etc/dkms/template-dkms-mkdeb/debian/rules
2626025 4 -rw-r--r-- 1 root root 8 Jul 8 2008
/etc/dkms/template-dkms-mkdeb/debian/dirs
2626020 4 -rw-r--r-- 1 root root 70 Jul 8 2008
/etc/dkms/template-dkms-mkdeb/debian/copyright
2625994 4 -rw-r--r-- 1 root root 699 Jun 17 2011
/etc/dkms/template-dkms-mkdeb/Makefile
2623690 0 lrwxrwxrwx 1 root root 19 Oct 6 2012
/etc/dkms/template-dkms-mkdsc -> template-dkms-mkdeb
1446250 4 drwxr-xr-x 3 root root 4096 Jul 30 11:43
/var/lib/dkms
1442169 4 -rw-r--r-- 1 root root 6 Jul 8 2008
/var/lib/dkms/dkms_dbversion
1455798 4 drwxr-xr-x 4 root root 4096 Jul 30 11:42
/var/lib/dkms/virtualbox
1442569 4 drwxr-xr-x 5 root root 4096 Jul 30 11:41
/var/lib/dkms/virtualbox/4.2.16
1443326 4 drwxr-xr-x 3 root root 4096 Jul 30 11:41
/var/lib/dkms/virtualbox/4.2.16/3.9-1-amd64
1443942 4 drwxr-xr-x 4 root root 4096 Jul 30 11:41
/var/lib/dkms/virtualbox/4.2.16/3.9-1-amd64/x86_64
1444043 4 drwxr-xr-x 2 root root 4096 Jul 30 11:41
/var/lib/dkms/virtualbox/4.2.16/3.9-1-amd64/x86_64/module
1469127 392 -rw-r--r-- 1 root root 399976 Jul 30 11:41
/var/lib/dkms/virtualbox/4.2.16/3.9-1-amd64/x86_64/module/vboxdrv.ko
1469131 16 -rw-r--r-- 1 root root 12632 Jul 30 11:41
/var/lib/dkms/virtualbox/4.2.16/3.9-1-amd64/x86_64/module/vboxnetadp.ko
1469135 32 -rw-r--r-- 1 root root 30856 Jul 30 11:41
/var/lib/dkms/virtualbox/4.2.16/3.9-1-amd64/x86_64/module/vboxnetflt.ko
1443936 32 -rw-r--r-- 1 root root 30544 Jul 30 11:41
/var/lib/dkms/virtualbox/4.2.16/3.9-1-amd64/x86_64/module/vboxpci.ko
1444026 4 drwxr-xr-x 2 root root 4096 Jul 30 11:41
/var/lib/dkms/virtualbox/4.2.16/3.9-1-amd64/x86_64/log
1458401 12 -rw-r--r-- 1 root root 9141 Jul 30 11:41
/var/lib/dkms/virtualbox/4.2.16/3.9-1-amd64/x86_64/log/make.log
1445684 0 lrwxrwxrwx 1 root root 26 Jul 30 11:40
/var/lib/dkms/virtualbox/4.2.16/source -> /usr/src/virtualbox-4.2.16
1442452 4 drwxr-xr-x 13 root root 4096 Jul 30 11:41
/var/lib/dkms/virtualbox/4.2.16/build
1443903 4 drwxr-xr-x 3 root root 4096 Jul 30 11:41
/var/lib/dkms/virtualbox/4.2.16/build/vboxpci
1468311 4 -rw-r--r-- 1 root root 194 Jul 30 11:41
/var/lib/dkms/virtualbox/4.2.16/build/vboxpci/.built-in.o.cmd
1468846 16 -rw-r--r-- 1 root root 14568 Jul 30 11:41
/var/lib/dkms/virtualbox/4.2.16/build/vboxpci/SUPR0IdcClient.o
1469315 56 -rw-r--r-- 1 root root 55040 Jul 30 11:41
/var/lib/dkms/virtualbox/4.2.16/build/vboxpci/vboxpci.mod.o
1444205 4 drwxr-xr-x 2 root root 4096 Jul 30 11:41
/var/lib/dkms/virtualbox/4.2.16/build/vboxpci/linux
1468313 276 -rw-r--r-- 1 root root 278944 Jul 30 11:41
/var/lib/dkms/virtualbox/4.2.16/build/vboxpci/linux/VBoxPci-linux.o
1445774 4 -rw-r--r-- 1 root root 1975 Jul 30 11:41
/var/lib/dkms/virtualbox/4.2.16/build/vboxpci/linux/SUPR0IdcClient-linux.c
[snip lots of output]
$ bash -x dkms status
+ shopt -s extglob
+ readonly 'dkms_conf_variables=CLEAN REMAKE_INITRD remake_initrd PACKAGE_NAME
PACKAGE_VERSION POST_ADD POST_INSTALL POST_REMOVE PRE_BUILD
PRE_INSTALL BUILD_EXCLUSIVE_KERNEL BUILD_EXCLUSIVE_ARCH
build_exclude OBSOLETE_BY MAKE MAKE_MATCH MODULES_CONF
modules_conf_array PATCH PATCH_MATCH patch_array BUILT_MODULE_NAME
built_module_name BUILT_MODULE_LOCATION built_module_location
DEST_MODULE_NAME dest_module_name MODULES_CONF_OBSOLETES
DEST_MODULE_LOCATION dest_module_location
modules_conf_obsoletes MODULES_CONF_ALIAS_TYPE
modules_conf_alias_type STRIP strip MODULES_CONF_OBSOLETE_ONLY
modules_conf_obsolete_only AUTOINSTALL'
+ dkms_conf_variables='CLEAN REMAKE_INITRD remake_initrd PACKAGE_NAME
PACKAGE_VERSION POST_ADD POST_INSTALL POST_REMOVE PRE_BUILD
PRE_INSTALL BUILD_EXCLUSIVE_KERNEL BUILD_EXCLUSIVE_ARCH
build_exclude OBSOLETE_BY MAKE MAKE_MATCH MODULES_CONF
modules_conf_array PATCH PATCH_MATCH patch_array BUILT_MODULE_NAME
built_module_name BUILT_MODULE_LOCATION built_module_location
DEST_MODULE_NAME dest_module_name MODULES_CONF_OBSOLETES
DEST_MODULE_LOCATION dest_module_location
modules_conf_obsoletes MODULES_CONF_ALIAS_TYPE
modules_conf_alias_type STRIP strip MODULES_CONF_OBSOLETE_ONLY
modules_conf_obsolete_only AUTOINSTALL'
+ readonly 'y_re=^(Y|y)'
+ y_re='^(Y|y)'
+ readonly 'mv_re=^([^/]*)/(.*)$'
+ mv_re='^([^/]*)/(.*)$'
+ readonly 'rh_kernels=(debug|summit|smp|enterprise|bigmem|hugemem|BOOT|vmnix)'
+ rh_kernels='(debug|summit|smp|enterprise|bigmem|hugemem|BOOT|vmnix)'
+ PATH=/bin:/sbin:/usr/bin:/usr/sbin:/usr/lib/dkms
+ umask 022
+ unset CC CXX CFLAGS CXXFLAGS LDFLAGS
++ uname -r
+ current_kernel=3.9-1-amd64
++ uname -s
+ current_os=Linux
+ dkms_tree=/var/lib/dkms
+ source_tree=/usr/src
+ install_tree=/lib/modules
+ tmp_location=/tmp
+ verbose=
+ dkms_frameworkconf=/etc/dkms/framework.conf
+ [[ ! -n '' ]]
+ [[ -e /etc/sysconfig/module-init-tools ]]
+ addon_modules_dir=
+ [[ ! -n '' ]]
++ distro_version
++ local LSB_DESCRIPTION DISTRIB_ID DISTRIB_RELEASE ver
++ '[' -r /etc/lsb-release ']'
++ type lsb_release
+++ lsb_release -i -s
++ DISTRIB_ID=Debian
+++ lsb_release -r -s
++ DISTRIB_RELEASE=testing
++ case ${DISTRIB_ID} in
++ [[ -n Debian ]]
++ [[ -n testing ]]
++ echo Debiantesting
+ running_distribution=Debiantesting
+ weak_modules=
+ '[' -e /etc/dkms/framework.conf ']'
+ . /etc/dkms/framework.conf
+ module=
+ module_version=
+ template_kernel=
+ distro=
+ media=
+ release=
+ conf=
+ kernel_config=
+ archive_location=
+ kernel_source_dir=
+ ksourcedir_fromcli=
+ action=
+ force=
+ no_prepare_kernel=
+ no_clean_kernel=
+ binaries_only=
+ source_only=
+ all=
+ module_suffix=
+ rpm_safe_upgrade=
+ size=1440
+ specfile=
+ legacy_postinst=1
+ directive_array=()
+ kernelver=()
+ arch=()
+ declare -a directive_array kernelver arch
+ weak_modules=
+ last_mvka=
+ last_mvka_conf=
+ try_source_tree=
+ die_is_fatal=yes
+ '[' -x /sbin/weak-modules ']'
+ '[' -x /usr/lib/module-init-tools/weak-modules ']'
+ action_re='^(remove|(auto|un)?install|match|mk(driverdisk|tarball|rpm|deb|dsc|kmp)|build|add|status|ldtarball)$'
+ (( 1 > 0 ))
+ case $1 in
+ [[ status =~ ^(remove|(auto|un)?install|match|mk(driverdisk|tarball|rpm|deb|dsc|kmp)|build|add|status|ldtarball)$
]]
+ action=' status'
+ shift
+ (( 0 > 0 ))
+ [[ -n '' ]]
+ (( 0 != 0 && 0 > 1 ))
+ [[ -n '' ]]
+ [[ -n '' ]]
+ for action_to_run in '$action'
+ setup_kernels_arches status
+ [[ -n '' ]]
+ [[ status != status ]]
+ (( 0 == 1 && 0 > 1 ))
+ multi_arch=
+ local i=0
+ (( i=0 ))
+ (( 0 < 0 ))
+ case "$action_to_run" in
+ show_status
+ local j state_array
+ (( 0 == 0 ))
+ do_status '' '' '' ''
+ local status mvka m v k a
+ read status mvka
++ module_status '' '' '' ''
++ local 'oifs=
' IFS= mv m v directory ret=1
++ for directory in '"$dkms_tree/"${1:-*}/${2:-*}'
++ IFS='
'
++ mv=virtualbox/4.1.12
++ m=virtualbox
++ v=4.1.12
++ is_module_added virtualbox 4.1.12
++ [[ -n virtualbox ]]
++ [[ -n 4.1.12 ]]
++ [[ -d /var/lib/dkms/virtualbox/4.1.12 ]]
++ [[ -L /var/lib/dkms/virtualbox/4.1.12/source ]]
++ ret=0
++ module_status_built virtualbox 4.1.12 '' ''
++ local ret=1 directory ka k a state 'oifs=
' IFS=
++ for directory in '"$dkms_tree/$1/$2/"${3:-+([0-9]).*}/${4:-*}'
++ IFS='
'
++ ka=3.2.0-2-amd64/x86_64
++ k=3.2.0-2-amd64
++ a=x86_64
++ is_module_built virtualbox 4.1.12 3.2.0-2-amd64 x86_64
++ [[ -n virtualbox ]]
++ [[ -n 4.1.12 ]]
++ [[ -n 3.2.0-2-amd64 ]]
++ [[ -n x86_64 ]]
++ local d=/var/lib/dkms/virtualbox/4.1.12/3.2.0-2-amd64/x86_64 m=
++ [[ -d /var/lib/dkms/virtualbox/4.1.12/3.2.0-2-amd64/x86_64/module ]]
++ read_conf_or_die 3.2.0-2-amd64 x86_64
/var/lib/dkms/virtualbox/4.1.12/source/dkms.conf
++ read_conf 3.2.0-2-amd64 x86_64
/var/lib/dkms/virtualbox/4.1.12/source/dkms.conf
++ local return_value=0
++ local read_conf_file=/var/lib/dkms///source/dkms.conf
++ local kernelver=3.2.0-2-amd64
++ local arch=x86_64
++ set_kernel_source_dir 3.2.0-2-amd64
+++ _get_kernel_dir 3.2.0-2-amd64
+++ KVER=3.2.0-2-amd64
+++ case ${current_os} in
+++ DIR=/lib/modules/3.2.0-2-amd64/build
+++ echo /lib/modules/3.2.0-2-amd64/build
++ kernel_source_dir=/lib/modules/3.2.0-2-amd64/build
++ [[ -n '' ]]
++ [[ -n /var/lib/dkms/virtualbox/4.1.12/source/dkms.conf ]]
++ read_conf_file=/var/lib/dkms/virtualbox/4.1.12/source/dkms.conf
++ [[ -r /var/lib/dkms/virtualbox/4.1.12/source/dkms.conf ]]
++ die 4 'Could not locate dkms.conf file.' 'File: does not exist.'
++ ret=4
++ shift
++ error 'Could not locate dkms.conf file.' 'File: does not exist.'
++ exec
++ echo -n 'Error! '
Error! ++ for s in '"$@"'
++ echo 'Could not locate dkms.conf file.'
Could not locate dkms.conf file.
++ for s in '"$@"'
++ echo 'File: does not exist.'
File: does not exist.
++ [[ yes = yes ]]
++ exit 4
+ do_status_weak '' '' '' ''
+ local mvka m v k a kern status
+ read status mvka
++ module_status_weak '' '' '' ''
++ [[ -n '' ]]
++ return 1
Information forwarded
to debian-bugs-dist@lists.debian.org, Dynamic Kernel Modules Support Team <pkg-dkms-maint@lists.alioth.debian.org>:
Bug#695824; Package dkms.
(Sat, 08 Mar 2014 20:54:04 GMT) (full text, mbox, link).
Acknowledgement sent
to cep <cepcasa@gmail.com>:
Extra info received and forwarded to list. Copy sent to Dynamic Kernel Modules Support Team <pkg-dkms-maint@lists.alioth.debian.org>.
(Sat, 08 Mar 2014 20:54:05 GMT) (full text, mbox, link).
Message #40 received at 695824@bugs.debian.org (full text, mbox, reply):
Dear Maintainer, Same problem with dkms 2.2.0.3-1.2 dkms and virtualbox-guest-dkms 4.3.6-dfsg-2 Update linux-image-3.13-1686-pae and linux-headers Error : /etc/kernel/postinst.d/dkms Error! Could not locate dkms.conf file File: does not exist Same error for headers. dkms status not good. Also similar to bug # 695824 ? Aptitude purge dkms and virtualbox-guest-dkms then reinstall but still the same error. Now aptitude purge packages and also rm-rf /var/lib/dkms then reinstall dkms and virtualbox-guest-dkms and everything is back in order. Now dkms status is good and dkms.conf is locate Regards, cep
Information forwarded
to debian-bugs-dist@lists.debian.org, Dynamic Kernel Modules Support Team <pkg-dkms-maint@lists.alioth.debian.org>:
Bug#695824; Package dkms.
(Mon, 29 Sep 2014 09:57:05 GMT) (full text, mbox, link).
Acknowledgement sent
to Mathias Behrle <mathiasb@m9s.biz>:
Extra info received and forwarded to list. Copy sent to Dynamic Kernel Modules Support Team <pkg-dkms-maint@lists.alioth.debian.org>.
(Mon, 29 Sep 2014 09:57:05 GMT) (full text, mbox, link).
Message #45 received at 695824@bugs.debian.org (full text, mbox, reply):
Package: dkms
Version: 2.2.0.3-1.2
Followup-For: Bug #695824
Dear Maintainer,
upgrading to linux-image-3.16-2 showed
...
Entpacken von linux-image-3.16-2-amd64 (3.16.3-2) über (3.16.3-2) ...
linux-image-3.16-2-amd64 (3.16.3-2) wird eingerichtet ...
/etc/kernel/postinst.d/dkms:
Error! Could not locate dkms.conf file.
File: does not exist.
/etc/kernel/postinst.d/initramfs-tools:
update-initramfs: Generating /boot/initrd.img-3.16-2-amd64
/etc/kernel/postinst.d/zz-update-grub:
grub.cfg wird erstellt …
Linux-Abbild gefunden: /boot/vmlinuz-3.16-2-amd64
initrd-Abbild gefunden: /boot/initrd.img-3.16-2-amd64
Linux-Abbild gefunden: /boot/vmlinuz-3.14-2-amd64
initrd-Abbild gefunden: /boot/initrd.img-3.14-2-amd64
Linux-Abbild gefunden: /boot/vmlinuz-3.14-1-amd64
initrd-Abbild gefunden: /boot/initrd.img-3.14-1-amd64
erledigt
...
While nvidia and virtualbox modules weher built fine for 14.1 and 14.2,
this failed for 16.2.
Reinstalling dkms and the nvidia*dms and virtualbox*dkms packages solved
the problem.
Find attached below the output of bash -x dkms status, that shows, that
the dkms database referred to some old nvidia version (304.108 instead
of 340.32 being installed).
Cheers,
Mathias
-- System Information:
Debian Release: jessie/sid
APT prefers testing
APT policy: (990, 'testing'), (500, 'stable'), (400, 'unstable'), (300, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386
Kernel: Linux 3.14-1-amd64 (SMP w/2 CPU cores)
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8) (ignored: LC_ALL set to de_DE.UTF-8)
Shell: /bin/sh linked to /bin/bash
Versions of packages dkms depends on:
ii build-essential 11.7
ii coreutils 8.23-2
ii dpkg-dev 1.17.13
ii gcc 4:4.9.1-1
ii make 4.0-8
ii module-init-tools 18-2
ii patch 2.7.1-6
Versions of packages dkms recommends:
ii fakeroot 1.20.1-1.1
ii linux-headers-amd64 3.16+61
pn linux-image <none>
ii menu 2.1.47
ii sudo 1.8.10p3-1
dkms suggests no packages.
-- Configuration Files:
/etc/modprobe.d/dkms.conf changed:
o- no debconf information
*** /home/mathiasb/dkms
t@obelix:/home/mathiasb# bash -x dkms status
+ shopt -s extglob
+ readonly 'dkms_conf_variables=CLEAN REMAKE_INITRD remake_initrd PACKAGE_NAME
PACKAGE_VERSION POST_ADD POST_INSTALL POST_REMOVE PRE_BUILD
PRE_INSTALL BUILD_EXCLUSIVE_KERNEL BUILD_EXCLUSIVE_ARCH
build_exclude OBSOLETE_BY MAKE MAKE_MATCH MODULES_CONF
modules_conf_array PATCH PATCH_MATCH patch_array BUILT_MODULE_NAME
built_module_name BUILT_MODULE_LOCATION built_module_location
DEST_MODULE_NAME dest_module_name MODULES_CONF_OBSOLETES
DEST_MODULE_LOCATION dest_module_location
modules_conf_obsoletes MODULES_CONF_ALIAS_TYPE
modules_conf_alias_type STRIP strip MODULES_CONF_OBSOLETE_ONLY
modules_conf_obsolete_only AUTOINSTALL'
+ dkms_conf_variables='CLEAN REMAKE_INITRD remake_initrd PACKAGE_NAME
PACKAGE_VERSION POST_ADD POST_INSTALL POST_REMOVE PRE_BUILD
PRE_INSTALL BUILD_EXCLUSIVE_KERNEL BUILD_EXCLUSIVE_ARCH
build_exclude OBSOLETE_BY MAKE MAKE_MATCH MODULES_CONF
modules_conf_array PATCH PATCH_MATCH patch_array BUILT_MODULE_NAME
built_module_name BUILT_MODULE_LOCATION built_module_location
DEST_MODULE_NAME dest_module_name MODULES_CONF_OBSOLETES
DEST_MODULE_LOCATION dest_module_location
modules_conf_obsoletes MODULES_CONF_ALIAS_TYPE
modules_conf_alias_type STRIP strip MODULES_CONF_OBSOLETE_ONLY
modules_conf_obsolete_only AUTOINSTALL'
+ readonly 'y_re=^(Y|y)'
+ y_re='^(Y|y)'
+ readonly 'mv_re=^([^/]*)/(.*)$'
+ mv_re='^([^/]*)/(.*)$'
+ readonly 'rh_kernels=(debug|summit|smp|enterprise|bigmem|hugemem|BOOT|vmnix)'
+ rh_kernels='(debug|summit|smp|enterprise|bigmem|hugemem|BOOT|vmnix)'
+ PATH=/bin:/sbin:/usr/bin:/usr/sbin:/usr/lib/dkms
+ umask 022
+ unset CC CXX CFLAGS CXXFLAGS LDFLAGS
++ uname -r
+ current_kernel=3.14-1-amd64
++ uname -s
+ current_os=Linux
+ dkms_tree=/var/lib/dkms
+ source_tree=/usr/src
+ install_tree=/lib/modules
+ tmp_location=/tmp
+ verbose=
+ dkms_frameworkconf=/etc/dkms/framework.conf
+ [[ ! -n '' ]]
+ [[ -e /etc/sysconfig/module-init-tools ]]
+ addon_modules_dir=
+ [[ ! -n '' ]]
++ distro_version
++ local LSB_DESCRIPTION DISTRIB_ID DISTRIB_RELEASE ver
++ '[' -r /etc/lsb-release ']'
++ type lsb_release
+++ lsb_release -i -s
++ DISTRIB_ID=Debian
+++ lsb_release -r -s
++ DISTRIB_RELEASE=testing
++ case ${DISTRIB_ID} in
++ [[ -n Debian ]]
++ [[ -n testing ]]
++ echo Debiantesting
+ running_distribution=Debiantesting
+ weak_modules=
+ '[' -e /etc/dkms/framework.conf ']'
+ . /etc/dkms/framework.conf
+ module=
+ module_version=
+ template_kernel=
+ distro=
+ media=
+ release=
+ conf=
+ kernel_config=
+ archive_location=
+ kernel_source_dir=
+ ksourcedir_fromcli=
+ action=
+ force=
+ no_prepare_kernel=
+ no_clean_kernel=
+ binaries_only=
+ source_only=
+ all=
+ module_suffix=
+ rpm_safe_upgrade=
+ size=1440
+ specfile=
+ legacy_postinst=1
+ directive_array=()
+ kernelver=()
+ arch=()
+ declare -a directive_array kernelver arch
+ weak_modules=
+ last_mvka=
+ last_mvka_conf=
+ try_source_tree=
+ die_is_fatal=yes
+ '[' -x /sbin/weak-modules ']'
+ '[' -x /usr/lib/module-init-tools/weak-modules ']'
+ action_re='^(remove|(auto|un)?install|match|mk(driverdisk|tarball|rpm|deb|dsc|kmp)|build|add|status|ldtarball)$'
+ (( 1 > 0 ))
+ case $1 in
+ [[ status =~ ^(remove|(auto|un)?install|match|mk(driverdisk|tarball|rpm|deb|dsc|kmp)|build|add|status|ldtarball)$ ]]
+ action=' status'
+ shift
+ (( 0 > 0 ))
+ [[ -n '' ]]
+ (( 0 != 0 && 0 > 1 ))
+ [[ -n '' ]]
+ [[ -n '' ]]
+ for action_to_run in '$action'
+ setup_kernels_arches status
+ [[ -n '' ]]
+ [[ status != status ]]
+ (( 0 == 1 && 0 > 1 ))
+ multi_arch=
+ local i=0
+ (( i=0 ))
+ (( 0 < 0 ))
+ case "$action_to_run" in
+ show_status
+ local j state_array
+ (( 0 == 0 ))
+ do_status '' '' '' ''
+ local status mvka m v k a
+ read status mvka
++ module_status '' '' '' ''
++ local 'oifs=
' IFS= mv m v directory ret=1
++ for directory in '"$dkms_tree/"${1:-*}/${2:-*}'
++ IFS='
'
++ mv=nvidia/current-304.108
++ m=nvidia
++ v=current-304.108
++ is_module_added nvidia current-304.108
++ [[ -n nvidia ]]
++ [[ -n current-304.108 ]]
++ [[ -d /var/lib/dkms/nvidia/current-304.108 ]]
++ [[ -L /var/lib/dkms/nvidia/current-304.108/source ]]
++ ret=0
++ module_status_built nvidia current-304.108 '' ''
++ local ret=1 directory ka k a state 'oifs=
' IFS=
++ for directory in '"$dkms_tree/$1/$2/"${3:-+([0-9]).*}/${4:-*}'
++ IFS='
'
++ ka=3.9-1-amd64/x86_64
++ k=3.9-1-amd64
++ a=x86_64
++ is_module_built nvidia current-304.108 3.9-1-amd64 x86_64
++ [[ -n nvidia ]]
++ [[ -n current-304.108 ]]
++ [[ -n 3.9-1-amd64 ]]
++ [[ -n x86_64 ]]+ ksourcedir_fromcli=
+ action=
+ force=
+ no_prepare_kernel=
+ no_clean_kernel=
+ binaries_only=
+ source_only=
+ all=
+ module_suffix=
+ rpm_safe_upgrade=
+ size=1440
+ specfile=
+ legacy_postinst=1
+ directive_array=()
+ kernelver=()
+ arch=()
+ declare -a directive_array kernelver arch
+ weak_modules=
+ last_mvka=
+ last_mvka_conf=
+ try_source_tree=
+ die_is_fatal=yes
+ '[' -x /sbin/weak-modules ']'
+ '[' -x /usr/lib/module-init-tools/weak-modules ']'
+ action_re='^(remove|(auto|un)?install|match|mk(driverdisk|tarball|rpm|deb|dsc|kmp)|build|add|status|ldtarball)$'
+ (( 1 > 0 ))
+ case $1 in
+ [[ status =~ ^(remove|(auto|un)?install|match|mk(driverdisk|tarball|rpm|deb|dsc|kmp)|build|add|status|ldtarball)$ ]]
+ action=' status'
+ shift
+ (( 0 > 0 ))
+ [[ -n '' ]]
+ (( 0 != 0 && 0 > 1 ))
+ [[ -n '' ]]
+ [[ -n '' ]]
+ for action_to_run in '$action'
+ setup_kernels_arches status
+ [[ -n '' ]]
+ [[ status != status ]]
+ (( 0 == 1 && 0 > 1 ))
+ multi_arch=
+ local i=0
+ (( i=0 ))
+ (( 0 < 0 ))
+ case "$action_to_run" in
+ show_status
+ local j state_array
+ (( 0 == 0 ))
+ do_status '' '' '' ''
+ local status mvka m v k a
+ read status mvka
++ module_status '' '' '' ''
++ local 'oifs=
' IFS= mv m v directory ret=1
++ for directory in '"$dkms_tree/"${1:-*}/${2:-*}'
++ IFS='
'
++ mv=nvidia/current-304.108
++ m=nvidia
++ v=current-304.108
++ is_module_added nvidia current-304.108
++ [[ -n nvidia ]]
++ [[ -n current-304.108 ]]
++ [[ -d /var/lib/dkms/nvidia/current-304.108 ]]
++ [[ -L /var/lib/dkms/nvidia/current-304.108/source ]]
++ ret=0
++ module_status_built nvidia current-304.108 '' ''
++ local ret=1 directory ka k a state 'oifs=
' IFS=
++ for directory in '"$dkms_tree/$1/$2/"${3:-+([0-9]).*}/${4:-*}'
++ IFS='
'
++ ka=3.9-1-amd64/x86_64
++ k=3.9-1-amd64
++ a=x86_64
++ is_module_built nvidia current-304.108 3.9-1-amd64 x86_64
++ [[ -n nvidia ]]
++ [[ -n current-304.108 ]]
++ [[ -n 3.9-1-amd64 ]]
++ [[ -n x86_64 ]]
++ local d=/var/lib/dkms/nvidia/current-304.108/3.9-1-amd64/x86_64 m=
++ [[ -d /var/lib/dkms/nvidia/current-304.108/3.9-1-amd64/x86_64/module ]]
++ read_conf_or_die 3.9-1-amd64 x86_64 /var/lib/dkms/nvidia/current-304.108/source/dkms.conf
++ read_conf 3.9-1-amd64 x86_64 /var/lib/dkms/nvidia/current-304.108/source/dkms.conf
++ local return_value=0
++ local read_conf_file=/var/lib/dkms///source/dkms.conf
++ local kernelver=3.9-1-amd64
++ local arch=x86_64
++ set_kernel_source_dir 3.9-1-amd64
+++ _get_kernel_dir 3.9-1-amd64
+++ KVER=3.9-1-amd64
+++ case ${current_os} in
+++ DIR=/lib/modules/3.9-1-amd64/build
+++ echo /lib/modules/3.9-1-amd64/build
++ kernel_source_dir=/lib/modules/3.9-1-amd64/build
++ [[ -n '' ]]
++ [[ -n /var/lib/dkms/nvidia/current-304.108/source/dkms.conf ]]
++ read_conf_file=/var/lib/dkms/nvidia/current-304.108/source/dkms.conf
++ [[ -r /var/lib/dkms/nvidia/current-304.108/source/dkms.conf ]]
++ die 4 'Could not locate dkms.conf file.' 'File: does not exist.'
++ ret=4
++ shift
++ error 'Could not locate dkms.conf file.' 'File: does not exist.'
++ exec
++ echo -n 'Error! '
Error! ++ for s in '"$@"'
++ echo 'Could not locate dkms.conf file.'
Could not locate dkms.conf file.
++ for s in '"$@"'
++ echo 'File: does not exist.'
File: does not exist.
++ [[ yes = yes ]]
++ exit 4
+ do_status_weak '' '' '' ''
+ local mvka m v k a kern status
+ read status mvka
++ module_status_weak '' '' '' ''
++ [[ -n '' ]]
++ return 1
Information forwarded
to debian-bugs-dist@lists.debian.org, Dynamic Kernel Modules Support Team <pkg-dkms-maint@lists.alioth.debian.org>:
Bug#695824; Package dkms.
(Wed, 19 Aug 2015 08:42:08 GMT) (full text, mbox, link).
Acknowledgement sent
to jan lana <lana.jan@gmail.com>:
Extra info received and forwarded to list. Copy sent to Dynamic Kernel Modules Support Team <pkg-dkms-maint@lists.alioth.debian.org>.
(Wed, 19 Aug 2015 08:42:08 GMT) (full text, mbox, link).
Message #50 received at 695824@bugs.debian.org (full text, mbox, reply):
[Message part 1 (text/plain, inline)]
today I faced the same problem (Error! Could not locate dkms.conf file. File: does not exist.) It seems that this has helped: rm -Rf /var/lib/dkms/nvidia-current (not sure who created the dir, I have no nvidia package installed)
[Message part 2 (text/html, inline)]
Reply sent
to Aron Xu <aron@debian.org>:
You have taken responsibility.
(Sun, 03 Jul 2016 16:03:16 GMT) (full text, mbox, link).
Notification sent
to Tom Epperly <tepperly@gmail.com>:
Bug acknowledged by developer.
(Sun, 03 Jul 2016 16:03:16 GMT) (full text, mbox, link).
Message #55 received at 695824-close@bugs.debian.org (full text, mbox, reply):
This report should contribute to nvidia driver packaging (not cleaning up old directories properly), but since it's not present at the time of my testing I'm closing it rather than reassigning. Regards, Aron
Bug archived.
Request was from Debbugs Internal Request <owner@bugs.debian.org>
to internal_control@bugs.debian.org.
(Mon, 01 Aug 2016 07:33:16 GMT) (full text, mbox, link).
Send a report that this bug log contains spam.
Debbugs is free software and licensed under the terms of the GNU Public License version 2. The current version can be obtained from https://bugs.debian.org/debbugs-source/.
Copyright © 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson, 2005-2017 Don Armstrong, and many other contributors.