Debian Bug report logs - #689374
dkms: Please drop Recommends for package linux-image

version graph

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: John Paul Adrian Glaubitz <glaubitz@physik.fu-berlin.de>

Date: Mon, 1 Oct 2012 23:21:01 UTC

Severity: important

Merged with 724566

Found in versions dkms/2.2.0.3-1.2, dkms/2.2.0.3-1.1

Fixed in version dkms/2.2.0.3-5

Done: Aron Xu <aron@debian.org>

Bug is archived. No further changes may be made.

Toggle useless messages

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#689374; Package dkms. (Mon, 01 Oct 2012 23:21:04 GMT) (full text, mbox, link).


Acknowledgement sent to John Paul Adrian Glaubitz <glaubitz@physik.fu-berlin.de>:
New Bug report received and forwarded. Copy sent to Dynamic Kernel Modules Support Team <pkg-dkms-maint@lists.alioth.debian.org>. (Mon, 01 Oct 2012 23:21:04 GMT) (full text, mbox, link).


Message #5 received at submit@bugs.debian.org (full text, mbox, reply):

From: John Paul Adrian Glaubitz <glaubitz@physik.fu-berlin.de>
To: Debian Bug Tracking System <submit@bugs.debian.org>
Subject: dkms: Please drop Recommends for package linux-image Hello,
Date: Tue, 02 Oct 2012 01:18:34 +0200
Package: dkms
Version: 2.2.0.3-1.1

the package 'dkms' currently recommends the virtual package 'linux-image'.
In the default configuration, 'apt' always installs recommended packages:

glaubitz@z6:~> apt-config dump | grep -i recommend
APT::Install-Recommends "true";

While this is usually not a problem, it is problematic when recommending
the virtual kernel package 'linux-image'. During installation, it
might not be clear which kernel package will eventually provide the virtual
package 'linux-image' and 'apt' will randomly choose any package. This
may result in 'apt' installing an undesired kernel package.

The problem can be observed when installing a machine with the automatic
installation system FAI (source package 'fai'): because of the 'Recommends',
installing 'dkms' will in some cases install the RT kernel package
('linux-image-rt-...') which users usually don't want.

As for the package 'dkms', a 'Recommends' on 'linux-image' is not
required as the kernel image itself is not necessary to build the
kernel modules as opposed to the kernel header packages.

Please remove the 'Recommends' on 'linux-image'.

Cheers,

Adrian
*** End of the template - remove these lines ***


-- System Information:
Debian Release: wheezy/sid
  APT prefers testing
  APT policy: (500, 'testing'), (100, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 3.5-trunk-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8) (ignored: LC_ALL set to en_US.UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages dkms depends on:
ii  build-essential    11.5
ii  coreutils          8.13-3.2
ii  dpkg-dev           1.16.8
ii  gcc                4:4.7.1-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.2.0-2-amd64 [linux-headers]     3.2.20-1
ii  linux-headers-3.2.0-2-rt-amd64 [linux-headers]  3.2.20-1
ii  linux-headers-3.2.0-3-amd64 [linux-headers]     3.2.23-1
ii  linux-headers-amd64 [linux-headers]             3.2+45
ii  linux-image-2.6.32-5-amd64 [linux-image]        2.6.32-35
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.5-trunk-amd64 [linux-image]       3.5-1~experimental.1
ii  menu                                            2.1.46
ii  sudo                                            1.8.5p2-1

dkms suggests no packages.

-- no debconf information



Changed Bug title to 'dkms: Please drop Recommends for package linux-image' from 'dkms: Please drop Recommends for package linux-imageHello,' Request was from John Paul Adrian Glaubitz <glaubitz@physik.fu-berlin.de> to control@bugs.debian.org. (Sat, 02 Feb 2013 21:21:08 GMT) (full text, mbox, link).


Information forwarded to debian-bugs-dist@lists.debian.org, Dynamic Kernel Modules Support Team <pkg-dkms-maint@lists.alioth.debian.org>:
Bug#689374; Package dkms. (Thu, 19 Nov 2015 12:03:06 GMT) (full text, mbox, link).


Acknowledgement sent to Enrico Zini <enrico@enricozini.org>:
Extra info received and forwarded to list. Copy sent to Dynamic Kernel Modules Support Team <pkg-dkms-maint@lists.alioth.debian.org>. (Thu, 19 Nov 2015 12:03:06 GMT) (full text, mbox, link).


Message #12 received at 689374@bugs.debian.org (full text, mbox, reply):

From: Enrico Zini <enrico@enricozini.org>
To: 689374@bugs.debian.org
Subject: The linux-image virtual package has been removed
Date: Thu, 19 Nov 2015 12:42:33 +0100
[Message part 1 (text/plain, inline)]
Hello,

please see #724569.

No packages in jessie+ Provide: linux-image now, however, an old custom
kernel built with this will have the Provide:
https://debian-handbook.info/browse/stable/sect.kernel-compilation.html

We have a custom kernel in a custom repository, but the custom kernel
should not be installed in all the distros we pick from that repository.

However, as soon as we install dkms in one distro, the custom kernel is
pulled in by dkms's Recommends, and bites us in the shins.

We worked around it by creating an equivs package that depends on the
kernel we wants and provides linux-image. As we cannot depend on older
linux kernels to update their .deb generation scrips, I wish dkms would
remove this Recommends so that there is one less package triggering
this.


Enrico

-- 
GPG key: 4096R/E7AD5568 2009-05-08 Enrico Zini <enrico@enricozini.org>
[signature.asc (application/pgp-signature, inline)]

Severity set to 'important' from 'normal' Request was from Aron Xu <happyaron.xu@gmail.com> to control@bugs.debian.org. (Tue, 05 Jul 2016 20:42:05 GMT) (full text, mbox, link).


Marked as found in versions dkms/2.2.0.3-1.2. Request was from Aron Xu <happyaron.xu@gmail.com> to control@bugs.debian.org. (Tue, 05 Jul 2016 20:42:06 GMT) (full text, mbox, link).


Merged 689374 724566 Request was from Aron Xu <happyaron.xu@gmail.com> to control@bugs.debian.org. (Tue, 05 Jul 2016 20:42:08 GMT) (full text, mbox, link).


Message #19 received at 724566-close@bugs.debian.org (full text, mbox, reply):

From: Aron Xu <aron@debian.org>
To: 724566-close@bugs.debian.org
Subject: Bug#724566: fixed in dkms 2.2.0.3-5
Date: Tue, 05 Jul 2016 22:26:59 +0000
Source: dkms
Source-Version: 2.2.0.3-5

We believe that the bug you reported is fixed in the latest version of
dkms, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 724566@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Aron Xu <aron@debian.org> (supplier of updated dkms package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@ftp-master.debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Format: 1.8
Date: Wed, 06 Jul 2016 05:51:37 +0800
Source: dkms
Binary: dkms
Architecture: source
Version: 2.2.0.3-5
Distribution: unstable
Urgency: medium
Maintainer: Dynamic Kernel Modules Support Team <pkg-dkms-maint@lists.alioth.debian.org>
Changed-By: Aron Xu <aron@debian.org>
Description:
 dkms       - Dynamic Kernel Module Support Framework
Closes: 554843 653176 707008 724566 829123
Changes:
 dkms (2.2.0.3-5) unstable; urgency=medium
 .
   [ Aron Xu ]
   * Remove obsolete virtual package 'linux-image' from Recommends (Closes: #724566)
   * Do not ignore --kernelsourcedir (Closes: #653176)
   * Update upstream link to github
   * Use gbp-pq to manage patches
 .
   [ Daniel Kahn Gillmor ]
   * Make dh_dkms name and version parsing more proper (Closes: #829123)
 .
   [ Dirk Griesbach ]
   * Port apport hook to python3 and add python3-apport to Suggests (Closes: #707008)
 .
   [ Thijs Kinkhorst ]
   * mkbmdeb: support for lean binary package with only the built modules (Closes: #554843)
Checksums-Sha1:
 ed439bed3ca7f4cdc5653f570b759ad261cd8629 1676 dkms_2.2.0.3-5.dsc
 53c8fd66fbd8ed40d44fbcdca222b3bb0a6d6869 23848 dkms_2.2.0.3-5.debian.tar.xz
Checksums-Sha256:
 eccc5d46ed251ba9686dd42f2810134c5ff5343b614439d6836e979d36476d68 1676 dkms_2.2.0.3-5.dsc
 fb76dd4d2bf0b4e7d4e75891ef2b07e2ae0723d90f8956a433ce69777b3b947f 23848 dkms_2.2.0.3-5.debian.tar.xz
Files:
 6caaffd34bf026deee7120be0854aa43 1676 kernel optional dkms_2.2.0.3-5.dsc
 5ec647de561c069540acc83bc384aaa8 23848 kernel optional dkms_2.2.0.3-5.debian.tar.xz

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1

iQEcBAEBCAAGBQJXfCxMAAoJEPbsVcVkKA0egdgH/06hahFV/RhM/yk4VxiM7XVm
Cs+SRbOJr7jCJRf4Z9VeKiOVHsRbLZu1G77KaxesN/wpREDnbHhUPIVhzSK3/6Yc
rIQHZvf4UcJFif6lO8Yvr+JoWwiwdCLzfTobKd4g7vU8uP+BNYoc/wqKWF4u0WNf
/vzN+ctC5jVLyi018wf77zAoxv2PKJHinJFLLeW54jj1E8VWQ3bGP1A9M2RyNFZJ
QTucN40Y+WpvNH8YcxenrPpzwT+WKJyBu4xPxqyn2VV3PukkI5Q4A9PqhlPZBTZj
nPm1S4dO0YvfqZ6EcolRABvFqJMp1up2wfaaMeSB35vC4iDmbmJwU3J66qhsh78=
=UWnA
-----END PGP SIGNATURE-----




Bug archived. Request was from Debbugs Internal Request <owner@bugs.debian.org> to internal_control@bugs.debian.org. (Tue, 09 Aug 2016 07:36:06 GMT) (full text, mbox, link).


Send a report that this bug log contains spam.


Debian bug tracking system administrator <owner@bugs.debian.org>. Last modified: Sun Jul 2 06:28:52 2023; Machine Name: bembo

Debian Bug tracking system

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.