Author Login
Post Reply
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Olivier Blin wrote:
> Culprit of what?
> Installing the dkms source package does not cause problems here.
>
Well, it does in the following scenario:
1) User configures X using XFdrake, both the binary and the source
packages get installed, but the kernel-devel doesn't. Everything works.
2) New kernel is out. The user installs a new kernel. The binary dkms
driver doesn't get upgraded (kernel doesn't have a dependency on it, so
it doesn't get pulled in).
3) User reboots the machine - since there is no binary driver installed,
dkms tries to compile the source driver installed in step 1. That fails
- - no -devel package for kernel. Harddrake detects that the driver is not
in place and replaces it with the 'nv' driver.
4) Broken X.
I think that this cannot be solved by just adding dependencies around.
Urpmi needs to check if any binary dkms drivers are installed and either
pull them in or not allow kernel upgrade if they are not present (this
time the drivers arrived to mirrors after the kernel was out). Or, ask
the user to install -devel packages and switch to the source dkms driver.
Regards,
Jan
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Using GnuPG with Mandriva - http://enigmail.mozdev.org
iD8DBQFIR+cmn11XseNj94gRAoL8AJ4xishHdQtaxmNYipKk09a4+ncoOQCgxAzZ
+dGEY/vweoEPkZKSQj68Dn8=
=xDQP
-----END PGP SIGNATURE-----