Description of problem: "rpm -e" seems to ignore file dependencies, for example rpm -e --test mkinitrd reports no problem, and indeed "rpm -e mkinitrd" succeeds, leaving package "kernel" win an unsatisfied dependency. I tried "rm /var/lib/rpm/__*" and "rpm --rebuilddb" but it didn't help Version-Release number of selected component (if applicable): rpm-4.7.1-4.fc12.i686 How reproducible: always
The kernel only has Requires(pre): dependencies to mkinitrd which to rpm means mkinitrd is not needed after installation. That verify complains about it is a bug in verify (and this is a dupe) *** This bug has been marked as a duplicate of bug 223642 ***
The other bug here is that the kernel is missing at least one scriptlet dependency: Requires(preun): /sbin/new-kernel-pkg
(In reply to comment #1) > The kernel only has Requires(pre): dependencies to mkinitrd which to rpm means ouch, got trapped again. The "rpm -qR" output is really confusing. Is there a way to list the requires with the corresponding flags? (In reply to comment #2) > The other bug here is that the kernel is missing at least one scriptlet > dependency: > Requires(preun): /sbin/new-kernel-pkg Filed separately as bug 520788.