Bug#695824: dkms: Cannot locate dkms.conf

2012-12-18 Thread Andreas Beckmann
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


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



Bug#695824: dkms: Cannot locate dkms.conf

2012-12-17 Thread Tom Epperly

# 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 amd64NVIDIA binary kernel module DKMS

does
   dkms status
list anything else?

Andreas



--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



Bug#695824: dkms: Cannot locate dkms.conf

2012-12-13 Thread Andreas Beckmann
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 amd64NVIDIA binary kernel module DKMS

does
  dkms status
list anything else?

Andreas


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



Bug#695824: dkms: Cannot locate dkms.conf

2012-12-13 Thread Tom Epperly
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 amd64NVIDIA 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  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


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



Bug#695824: dkms: Cannot locate dkms.conf

2012-12-13 Thread Andreas Beckmann
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


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



Bug#695824: dkms: Cannot locate dkms.conf

2012-12-12 Thread Tom Epperly
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-essential11.5
ii  coreutils  8.20-3
ii  dpkg-dev   1.16.9
ii  gcc4: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


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org