RPM

Comment 1 for bug 913224

Revision history for this message
In , 4-alien (4-alien) wrote :

it seems that urpmq --requires-recursive doesn't always give a complete picture of what would be installed if you'd urpmi something. this one seems to be because it can't seem to follow a "choice" completely.

imho urpmq should follow what --auto would do for urpmi since it would make results of urpmq more in line to what urpmi would do. (which is imho what you're using this for.)

as you can see from below example, bootsplash is apparenlty not required for task-kde4-minimal, but it is, if you follow the choices.

(since kernel is required for bootsplash, it follows that task-kde4-minimal actually requires kernel, even though you can't see that with --requires-recursive; which in my chrooted environment is not what i wanted...)

reproducing steps:
(prepare clean chroot for testing)
[ ]# mkdir /chroot
[ ]# urpmi.addmedia --urpmi-root /chroot --distrib --mirrorlist '$MIRRORLIST'
[ ]# urpmi --no-suggests --urpmi-root /chroot basesystem-minimal locales-en urpmi

(testing)
[ ]# urpmq --urpmi-root /chroot --no-suggests --requires-recursive task-kde4-minimal | grep kde4-config
netbook-kde4-config|Default-kde4-config
[ ]# urpmq --urpmi-root /chroot --no-suggests --requires-recursive Default-kde4-config | grep bootsplash
bootsplash
[ ]# urpmq --urpmi-root /chroot --no-suggests --requires-recursive netbook-kde4-config | grep bootsplash
bootsplash
[ ]# urpmq --urpmi-root /chroot --no-suggests --requires-recursive task-kde4-minimal | grep bootsplash
[ ]#