Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 8 May 2000 14:26:42 -0400 (EDT)
From:      Kenneth Wayne Culver <culverk@wam.umd.edu>
To:        freebsd-current@freebsd.org
Subject:   a better idea for package dependencies
Message-ID:  <Pine.GSO.4.21.0005081418410.19072-100000@sun20epsl.wam.umd.edu>

next in thread | raw e-mail | index | archive | help
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 majordomo@FreeBSD.org
with "unsubscribe freebsd-current" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.GSO.4.21.0005081418410.19072-100000>