From owner-freebsd-ports Mon Feb 19 11: 4: 8 2001 Delivered-To: freebsd-ports@freebsd.org Received: from lunatic.oneinsane.net (lunatic.oneinsane.net [207.113.133.231]) by hub.freebsd.org (Postfix) with ESMTP id 280A137B4EC; Mon, 19 Feb 2001 11:04:04 -0800 (PST) Received: by lunatic.oneinsane.net (Postfix, from userid 1000) id 7347C15556; Mon, 19 Feb 2001 11:04:02 -0800 (PST) Date: Mon, 19 Feb 2001 11:04:02 -0800 From: Ron 'The InSaNe One' Rosson To: Maxim Sobolev Cc: ports@freebsd.org, jkh@freebsd.org Subject: Re: Request for comment: pkg_delete(1) improvement Message-ID: <20010219110402.B59200@lunatic.oneinsane.net> Reply-To: Ron Rosson Mail-Followup-To: Maxim Sobolev , ports@freebsd.org, jkh@freebsd.org References: <200102181444.f1IEif600926@vic.sabbo.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <200102181444.f1IEif600926@vic.sabbo.net>; from sobomax@freebsd.org on Sun, Feb 18, 2001 at 04:44:35PM +0200 X-Operating-System: FreeBSD lunatic.oneinsane.net 4.2-STABLE X-Moon: The Moon is Waning Crescent (12% of Full) X-Opinion: What you read here is my IMHO X-WWW: http://www.oneinsane.net X-GPG-FINGERPRINT: 3F11 DB43 F080 C037 96F0 F8D3 5BD2 652B 171C 86DB X-Uptime: 10:59AM up 25 days, 17:05, 1 user, load averages: 0.03, 0.03, 0.00 Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Maxim Sobolev (sobomax@freebsd.org) wrote: > Hi folks, > > > You all should know that current pkg_delete(1)'s behaviour is suboptimal > when several packages to be deleted are specified in command line. The > problem is that pkg_delete(1) tries to delete packages in exacly the same > order as they were specified in the command line, ignoring dependencies > between packages involved. Attached patch should solve this problem by > reordering packages to ensure proper removal order. After this patch > applied you should be able to delete all installed packaged in one turn > using `pkg_delete /var/db/pkg/*'. > > -Maxim From a Users standpoint I think this is excelent. It would make it easier to update meta ports (kde, gnome come to mind) when the upgrade to a newer version. It would also make it easier for you to start with a perfectly good STABLE OS but the USER area is so out of sync and mismatched from updating ports tree just to get that latest port you have been waiting for. Sorry for it sounding so confusing.. But from a non-coding persons perspective I like this idea. TIA -- ------------------------------------------------------------------------------ Ron Rosson ... and a UNIX user said ... The InSaNe One rm -rf * insane@oneinsane.net and all was /dev/null and *void() ------------------------------------------------------------------------------ A mind like a steel sewer! To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message