[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: combined dependencies?



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi Michael,

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,
too.

Its just an example, anyway.


Regards

Harri
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)

iEYEARECAAYFAk5QLTwACgkQUTlbRTxpHjfV9QCgkmbeutp6/YRKY6c0mp9irZqh
TC4AoIBa6sBYeExw9eZLNgx+/dsg0DBn
=SRKl
-----END PGP SIGNATURE-----


Reply to: