Hi Frank,

Your patch is good, in my opinion.

I've created pkg1 and pkg2 with the virtual packages vpkg1 and vpkg2,
with the dependencies of your diagram.  I could reproduce the problem.

Then I've tested again with your patch.  It solves the problem.  It
breaks the cycle, and pkg1 and pkg2 are installed successfully.

I've also done some code reading.  My impression is that you've added
exactly what was missing to support breaking of cycles with virtual
packages.  It seems that the patched dpkg goes deeper in the recursion,
following the links over virtual packages, but still breaks cycles on
the same places (good).

I'm not sure whether this patch may cause unwanted side effects, but I
don't think so.  I have not tested any other breaking of cycles.

Regards,

Bart Martens


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to