Re: combined dependencies?
-----BEGIN PGP SIGNED MESSAGE-----
On 08/20/11 08:55, Michael Tautschnig wrote:
> What event would induce installation of C(A)?! Let's assume neither A nor B are installed.
> apt-get install A (no point installing C(A)) apt-get install B (B does not depend on C(A), otherwise this discussion is pointless)
B _does_ depend on C(A), if A is installed.
> ... time passes ...
> magic install C(A) ???
> Isn't all you want a hard dependency of dkms on both the Linux kernel and its header package? It seems that right now this is just a Recommends. Could you maybe elaborate why a proper Depends: is not appropriate in your opinion?
Its not any header package: dkms needs the _appropriate_ header
package matching the installed kernel package. If
linux-image-2.6.39-1-amd64 is installed, then dkms needs
linux-headers-2.6.39-1-amd64. If linux-image-3.0-1-amd64 is
installed in parallel, then dkms needs linux-headers-3.0-1-amd64,
Its just an example, anyway.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)
-----END PGP SIGNATURE-----