Smarter dependency resolution
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
poldek |
Fix Committed
|
Medium
|
Unassigned |
Bug Description
Let's say I want to install valadoc package which requires:
$ rpm -qp --requires valadoc-
/sbin/ldconfig
/sbin/ldconfig
libc.so.6()(64bit)
libc.so.
libc.so.
libc.so.
libc.so.
libcgraph.
libglib-
libgmodule-
libgobject-
libgvc.
libpthread.
libvala-
rtld(GNU_HASH)
vala = 2:0.38.2-1
and in the packages repository there are two versions of vala package that satisfy libvala-
$ poldek -i valadoc
[...]
Processing dependencies...
valadoc-
valadoc-
a) vala-0.
b) vala-0.
Which one do you want to install ('Q' to abort)? [vala-0.
poldek asks which one we want to install even though vala-0.38.2-1 package is required directly by dependency vala = 2:0.38.2-1. Poldek should be smart enough to select it automatically and not ask questions.
Changed in poldek: | |
status: | New → Fix Committed |
Cannot reproduce that, it's probably too late now, but for the future, please attach full solver log with POLDEK_TRACE=1 env, like:
$ POLDEK_TRACE=1 poldek -i valadoc