Pomarede Nicolas wrote: > On Sun, 8 Jan 2006, Anssi Hannula wrote: > >> Pomarede Nicolas wrote: >> >>> Hello, >> >> > > [...] > >>> And when I tried to remove it with 'rpm -e', I got an error (it seems >>> the directory /var/lib/dkms/nvidia/7676 was already removed, although it >>> belongs to nvidia-kernel-2.6.12-12mdk-7676-1mdk). >>> >>> I had to use 'rpm -e --noscript' to remove the old package. >>> >>> So, perhaps you could add an 'obsolete' directive in the packages to >>> force removal of nvidia-kernel-2.6.12-12mdk-7676-1mdk when installing >>> the plf rpms ? (I'm not sure it's the right directive, I'm not an rpm >>> expert). >>> >>> Thank you. >> >> >> There are other kernels than 2.6.12-12mdk around, so I think there are >> too many packages to be obsoleted. >> >> Moreover, if the remove with "rpm -e" results in error, I'd think that >> Obsoleting the packages would lead to the same error. >> >> Anyway, all packages should be removable with "rpm -e", so it's a bug. > > > In fact, I wondered if the problem was not due to the rpms not being > removed in the same "transaction", and in the correct order (that is > removing nvidia-kernel-2.6.12-12mdk-7676-1mdk first) ?
Yes, I guess that nvidia-kernel should have some requires on dkms-nvidia = 7676-1mdk or something like that so that it would be removed first. > Regarding the kernel, I'm not sure there're so many versions, since this > package doesn't seem to be updated often since the release of mdv 2006 ? > But I didn't practice rpm building for such a long time that you > probably know better than me of to handle this :) There appear to be 6 different nvidia-kernel packages in 2006.0-i586. As those packages can't be even removed normally, I don't think there's much I can do. Fortunately the only thing those nvidia-kernel packages do after upgrade to plf nvidia packages is pollute rpm-database, as the files owned by it are removed when removing dkms-nvidia-7676-1mdk. -- Anssi Hannula _______________________________________________ PLF-discuss mailing list [email protected] https://www.zarb.org/mailman/listinfo/plf-discuss
