From owner-freebsd-current Mon May 8 11:26:47 2000 Delivered-To: freebsd-current@freebsd.org Received: from po4.wam.umd.edu (po4.wam.umd.edu [128.8.10.166]) by hub.freebsd.org (Postfix) with ESMTP id 70BAE37B8D3 for ; Mon, 8 May 2000 11:26:45 -0700 (PDT) (envelope-from culverk@wam.umd.edu) Received: from sun20epsl.wam.umd.edu (root@sun20epsl.wam.umd.edu [128.8.71.30]) by po4.wam.umd.edu (8.9.3/8.9.3) with ESMTP id OAA27880 for ; Mon, 8 May 2000 14:26:50 -0400 (EDT) Received: from sun20epsl.wam.umd.edu (sendmail@localhost [127.0.0.1]) by sun20epsl.wam.umd.edu (8.9.3/8.9.3) with SMTP id OAA19108 for ; Mon, 8 May 2000 14:26:43 -0400 (EDT) Received: from localhost (culverk@localhost) by sun20epsl.wam.umd.edu (8.9.3/8.9.3) with ESMTP id OAA19104 for ; Mon, 8 May 2000 14:26:42 -0400 (EDT) X-Authentication-Warning: sun20epsl.wam.umd.edu: culverk owned process doing -bs Date: Mon, 8 May 2000 14:26:42 -0400 (EDT) From: Kenneth Wayne Culver To: freebsd-current@freebsd.org Subject: a better idea for package dependencies Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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