On Apr 6, 2006, at 11:01 AM, Daniel Macks wrote:
Do we assume that if a user is forging $distribution, it should only be for use within fink itself (for dep-checking and listing), not actually to be able to install these packages?
Yes, I think so. We should assume that it's in dry-run mode.
just have VirtPackages consider *all* its packages as "not installed" regardless of what's on the local filesystem.
I'm not sure that's such a great idea for dep resolution purposes.1. Fink will currently deal ok with existing-but-not-installed virtual packages because it assumes any package that exists is installable. I don't want to encourage this assumption, in the future we may want to let the dep engine know "you can't really install this package". (Eg: If X11User but not X11SDK is installed, we don't want system-* as a choice.)
2. A lot of important things about virtual packages are determined only if the package is present, eg: the provides of perl. So marking it absent could cause deps to not be satisfied.
Status is just a subset of .info data when the package that is installed is at the current version ...
Not sure what that means, but status reflects the actual installed version, regardless of whether there's a corresponding .info. So if package 'foo' is only in unstable, but you have it installed, 'fink -- tree=stable,virtual ...' won't realize that deps on foo are broken.
Pretending that status is empty (nothing installed) is probably ok here. Maybe just assume that the current essential is installed? I'm not sure what's better.
Dave
PGP.sig
Description: This is a digitally signed message part