Package: dkms
Version: 2.6.1-4
Severity: grave
Justification: renders package unusable

After installing a package that needs DKMS, I also wanted to install
the kernel headers, to make it usable. I get:

[…]

Unpacking linux-headers-4.19.0-8-amd64 (4.19.98-1) ...
Selecting previously unselected package linux-headers-amd64.
Preparing to unpack .../linux-headers-amd64_4.19+105+deb10u3_amd64.deb ...
Unpacking linux-headers-amd64 (4.19+105+deb10u3) ...
Setting up linux-compiler-gcc-8-x86 (4.19.98-1) ...
Setting up linux-kbuild-4.19 (4.19.98-1) ...
Setting up linux-headers-4.19.0-8-common (4.19.98-1) ...
Setting up linux-headers-4.19.0-8-amd64 (4.19.98-1) ...
/etc/kernel/header_postinst.d/dkms:
Error! You must be root to use this command.
run-parts: /etc/kernel/header_postinst.d/dkms exited with return code 1
Failed to process /etc/kernel/header_postinst.d at 
/var/lib/dpkg/info/linux-headers-4.19.0-8-amd64.postinst line 11.
dpkg: error processing package linux-headers-4.19.0-8-amd64 (--configure):
 installed linux-headers-4.19.0-8-amd64 package post-installation script 
subprocess returned error exit status 1
dpkg: dependency problems prevent configuration of linux-headers-amd64:
 linux-headers-amd64 depends on linux-headers-4.19.0-8-amd64; however:
  Package linux-headers-4.19.0-8-amd64 is not configured yet.

dpkg: error processing package linux-headers-amd64 (--configure):
 dependency problems - leaving unconfigured
Errors were encountered while processing:
 linux-headers-4.19.0-8-amd64
 linux-headers-amd64
E: Sub-process /usr/bin/dpkg returned an error code (1)


-- System Information:
Debian Release: 10.3
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 4.19.0-8-amd64 (SMP w/2 CPU cores)
Locale: LANG=C.UTF-8, LC_CTYPE=C.UTF-8 (charmap=UTF-8), LANGUAGE=C.UTF-8 
(charmap=UTF-8)
Shell: /bin/sh linked to /bin/lksh
Init: sysvinit (via /sbin/init)

Versions of packages dkms depends on:
ii  build-essential  12.6
ii  coreutils        8.30-3
ii  dpkg-dev         1.19.7
ii  gcc              4:8.3.0-1
ii  kmod             26-1
ii  make             4.2.1-1.2
ii  patch            2.7.6-3+deb10u1

Versions of packages dkms recommends:
ii  fakeroot             1.23-1
iu  linux-headers-amd64  4.19+105+deb10u3
ii  lsb-release          10.2019051400
ii  sudo                 1.8.27-1+deb10u2

Versions of packages dkms suggests:
ii  menu            2.1.47+b1
pn  python3-apport  <none>

-- no debconf information

Reply via email to