On Jun 17, 2009, at 12:32 PM, Glenn Lagasse wrote:
Now if I say 'pkg uninstall -r C', I mean uninstall C and any other
packages that are installed as dependencies of C. Ideally, if any of
You may mean C, but the other administrator that specifically
installed E may not agree with you ;)
That's were recording user intent comes in. For example, I think
you'd agree that if one administrator installs MySQL and sets up a
database, and then later you install amp-dev, but then decide to
uninstall -r amp-dev, we shouldn't remove MySQL by default since that
would break a possibly very important database :)
Do we have any mechanism to track what packages were installed as a
dependancy vs separately? For instance if C requires D and D is
already installed when I install C, then if I remove C (recursively)
then
D stays installed because I (the user) explicitly installed D (or it's
installed as a dependency for some other package). However,
if D isn't already installed when I install C and it's only being
installed because it's required by C then it comes out with C (unless
I've installed some other package that requires D).
We don't have a mechanism yet for recording user intent, bug 1728 will
need that, though we do have a way to obtain it from our existing
information.
Cheers,
--
Shawn Walker
_______________________________________________
pkg-discuss mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/pkg-discuss