On 02/11/10 10:11 PM, Bart Smaalders wrote:
On 02/11/10 12:19, Shawn Walker wrote:
...
Overall, this seems right; sorry for the incomprehensibility of
t_api_list.py.
However, I did have one concern -- will verify/fix handle this situation
correctly? I've looked through the repair code, but it isn't clear to
me what will happen.
I've updated the code to handle chained renames, and now uninstall all
possible renames whenever a package is uninstalled.
pkg verify & fix don't do this yet...
However, add or remove a package or image-update w/ these bits, and
we handle things.
This ok? I'll wait w/ pkg fix until next release; I want to
go over that in considerable detail to handle more egregious
damage that it can cope w/ at this point.
I just realised I didn't fully address your response:
So, my concern with pkg fix/verify was not around whether it would
remove renamed packages that didn't need to be there, etc. It was
whether it would for some reason believe that dependencies should be
installed that the new uninstall code had removed. But after looking at
the solver code again today and digging through other bits, it seems
like that shouldn't be the case.
I think it's definitely reasonable to defer fix/verify support for
removing unneeded packages.
Cheers,
--
Shawn Walker
_______________________________________________
pkg-discuss mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/pkg-discuss