On Fri, May 29, 2009 at 2:33 AM, René 'Necoro' Neumann <li...@necoro.eu> wrote: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > Patrick Börjesson schrieb: >>> >>> # emerge -1av bacon >>> >>> These are the packages that would be merged, in order: >>> >>> Calculating dependencies ... done! >>> [ebuild UD] app-test/eggs-1 [2] 0 kB [1] >>> [ebuild N ] app-test/bacon-1 0 kB [1] >>> >>> >>> This second behavior looks wrong to me, as it downgrades the RDEPEND of >>> spam and thus spam becomes unusable. >> >> Try: emerge -1av --complete-graph bacon > > Ok - this works ... IF spam is in world. If I installed spam with > - --oneshot, it won't work either.
So don't use --oneshot :) > >> Unless --complete-graph is specified emerge won't pull in the entire >> dependency graph, thus won't notice the dependency-spec of >> app-test/spam. >> Using -D combined with the world set when updating your system yields >> the same result as that also pulls in the entire dependency graph. >> >> Unless the entire dependency graph is pulled in emerge only tries to >> satisfy the dependencies of the packages given on the commandline, and >> since there's no "connection" between app-test/spam and app-test/bacon, >> and emerge doesn't do reverse deps when adding something to the >> dep-graph, it doesn't notice that app-test/bacon and app-test/spam has >> conflicting dependencies >> >> Using --complete-graph is noticably slower since it slows down >> dependency calculations, but it should (IMHO) really be the default >> since these conflicts shows _before_ anything breaks. > > I agree. > > Regards, > René > -----BEGIN PGP SIGNATURE----- > Version: GnuPG v2.0.11 (GNU/Linux) > Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org > > iEYEARECAAYFAkofq+sACgkQ4UOg/zhYFuBhsACdEUiXen0NriASzULe0Ak9Waiv > 6v8An1OxTqmbnhlCk7sRG0pYxfHJad8Y > =Haya > -----END PGP SIGNATURE----- > >