From owner-freebsd-hackers Thu May 24 17:24:25 2001 Delivered-To: freebsd-hackers@freebsd.org Received: by hub.freebsd.org (Postfix, from userid 885) id 3FFC737B422; Thu, 24 May 2001 17:24:24 -0700 (PDT) Date: Thu, 24 May 2001 17:24:24 -0700 From: Eric Melville To: freebsd-hackers@FreeBSD.org Subject: Re: upgrading packages Message-ID: <20010524172424.A27572@FreeBSD.org> References: <20010520180735.C81453@FreeBSD.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <20010520180735.C81453@FreeBSD.org>; from eric@FreeBSD.org on Sun, May 20, 2001 at 06:07:35PM -0700 Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG > Currently, upgrading packages is more painful than it should be. However, > it would not take much work to make things significantly more friendly - > > 1. pkg_add - when a package is installed, it should check for an older > version of itself, and if the new version provides everything > from the old one, update the associated +REQUIRED_BY files > > 2. pkg_delete - when a package is deleted, it should check for a newer > version of itself, and files that overlap between both > versions should not be deleted > > Careful users can avoid the problems that these two changes fix, but > there's really no reason to not make life simple for everyone. > > Comments? Takers? I'm a bit busy due to the finals that I've got looming on > the horizon, but I'll eventually get to it if no one else does. Nevermind, it looks like pkg_update(1) does everything I want and more. I should probably read documentation more, and complain less. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message