Instead of automatically deleteing the dependencies, I think maybe it
would be better to (with the use of a commandline switch) ask the user
deleting the packages if he/she wants to delete a certain dependency,
without letting the user delete the dependency if some other package also
uses it. (Does this make sense?) For example:

pkg_delete -d package-version (or some other unused switch for dependancy)

remove pkg_version_dependant [Y] ? y
removed!
remove pkg_version_dependant2 [Y] ? y

error: some_other_package depends on pkg_version_dependant2!


prompt>

Is this a good behavior, or should it be more automatic? I like this
because it allows the user to choose if he/she wants to delete certain
dependancies, and won't let them delete those dependancies if something
else also uses them...


=================================================================
| Kenneth Culver              | FreeBSD: The best OS around.    |
| Unix Systems Administrator  | ICQ #: 24767726                 |
| and student at The          | AIM: muythaibxr                 |
| The University of Maryland, | Website: (Under Construction)   |
| College Park.               | http://www.wam.umd.edu/~culverk/|
=================================================================






To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message

Reply via email to