[Pkg-zfsonlinux-devel] Bug#951404: zfs-dkms: requires Linux headers

David Christensen dpchrist at holgerdanske.com
Sun Feb 16 04:18:01 GMT 2020


Package: zfs-dkms
Version: 0.6.5.9-5
Severity: important

Dear Maintainer,

Instation of zfs-dkms fails if Linux headers are not installed:

	2020-02-15 19:42:47 root at tinkywinky ~
	# apt-get install --reinstall zfs-dkms
	Reading package lists... Done
	Building dependency tree       
	Reading state information... Done
	0 upgraded, 0 newly installed, 1 reinstalled, 0 to remove and 47 not upgraded.
	Need to get 0 B/1080 kB of archives.
	After this operation, 0 B of additional disk space will be used.
	Preconfiguring packages ...
	(Reading database ... 130450 files and directories currently installed.)
	Preparing to unpack .../zfs-dkms_0.6.5.9-5_all.deb ...

	-------- Uninstall Beginning --------
	Module:  zfs
	Version: 0.6.5.9
	Kernel:  4.9.0-12-amd64 (x86_64)
	-------------------------------------

	Status: Before uninstall, this module version was ACTIVE on this kernel.

	zavl.ko:
	 - Uninstallation
	   - Deleting from: /lib/modules/4.9.0-12-amd64/updates/dkms/
	 - Original module
	   - No original module was found for this module on this kernel.
	   - Use the dkms install command to reinstall any previous module version.


	zcommon.ko:
	 - Uninstallation
	   - Deleting from: /lib/modules/4.9.0-12-amd64/updates/dkms/
	 - Original module
	   - No original module was found for this module on this kernel.
	   - Use the dkms install command to reinstall any previous module version.


	znvpair.ko:
	 - Uninstallation
	   - Deleting from: /lib/modules/4.9.0-12-amd64/updates/dkms/
	 - Original module
	   - No original module was found for this module on this kernel.
	   - Use the dkms install command to reinstall any previous module version.


	zpios.ko:
	 - Uninstallation
	   - Deleting from: /lib/modules/4.9.0-12-amd64/updates/dkms/
	 - Original module
	   - No original module was found for this module on this kernel.
	   - Use the dkms install command to reinstall any previous module version.


	zunicode.ko:
	 - Uninstallation
	   - Deleting from: /lib/modules/4.9.0-12-amd64/updates/dkms/
	 - Original module
	   - No original module was found for this module on this kernel.
	   - Use the dkms install command to reinstall any previous module version.


	zfs.ko:
	 - Uninstallation
	   - Deleting from: /lib/modules/4.9.0-12-amd64/updates/dkms/
	 - Original module
	   - No original module was found for this module on this kernel.
	   - Use the dkms install command to reinstall any previous module version.

	depmod...

	DKMS: uninstall completed.

	------------------------------
	Deleting module version: 0.6.5.9
	completely from the DKMS tree.
	------------------------------
	Done.
	Unpacking zfs-dkms (0.6.5.9-5) over (0.6.5.9-5) ...
	Setting up zfs-dkms (0.6.5.9-5) ...
	Loading new zfs-0.6.5.9 DKMS files...
	Building for 4.9.0-11-amd64
	Module build for kernel 4.9.0-11-amd64 was skipped since the
	kernel headers for this kernel does not seem to be installed.


The package should offer to install a suitable Linux headers package,
ask for user confirmation, install the headers, and continue installing
ZFS.

If zfs-dkms is being installed non-interactively, it should install
a suitable Linux headers package and continue.


David



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

Kernel: Linux 4.9.0-11-amd64 (SMP w/2 CPU cores)
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968), LANGUAGE=C (charmap=ANSI_X3.4-1968)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages zfs-dkms depends on:
ii  debconf [debconf-2.0]  1.5.61
ii  dkms                   2.3-2
ii  lsb-release            9.20161125
ii  spl-dkms               0.6.5.9-1

Versions of packages zfs-dkms recommends:
ii  zfs-zed         0.6.5.9-5
ii  zfsutils-linux  0.6.5.9-5

zfs-dkms suggests no packages.

-- debconf information:
* zfs-dkms/note-incompatible-licenses:
  zfs-dkms/stop-build-for-unknown-kernel: true
  zfs-dkms/stop-build-for-32bit-kernel: true



More information about the Pkg-zfsonlinux-devel mailing list