From owner-freebsd-questions Sat Jul 27 22:35:22 2002 Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 5BA7237B400 for ; Sat, 27 Jul 2002 22:35:20 -0700 (PDT) Received: from russian-caravan.cloud9.net (russian-caravan.cloud9.net [168.100.1.4]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0B0F343E4A for ; Sat, 27 Jul 2002 22:35:20 -0700 (PDT) (envelope-from Hostmaster@Video2Video.Com) Received: from earl-grey.cloud9.net (earl-grey.cloud9.net [168.100.1.1]) by russian-caravan.cloud9.net (Postfix) with ESMTP id 9497028CC8; Sun, 28 Jul 2002 01:35:19 -0400 (EDT) Date: Sun, 28 Jul 2002 01:35:19 -0400 (EDT) From: Peter Leftwich X-X-Sender: To: karl agee Cc: FreeBSD LIST Subject: Re: removing old versions of packages In-Reply-To: <1027803115.317.8.camel@enterprise.workgroup> Message-ID: <20020728013147.U75491-100000@earl-grey.cloud9.net> Organization: Video2Video Services - http://Www.Video2Video.Com MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On 27 Jul 2002, karl agee wrote: > let's say I have two versions of a package, like acrobat reader installed. Can I simply use pkg_delete to remove the old one w/o affecting the new one???? > --karl I've often wondered about this too, since with FreeBSD it doesn't seem intuitive how to upgrade and not have extra stuff around. You know that pkg_add [-r] also installs dependencies, so I'd imagine pkg_delete would know about them. You may want to use pkg_info first, pkg_delete the old one exactly by name, then if the one you intend to keep is harmed in any way, simply `pkg_add -rf` to re-add the package forcibly. Also, if it's just a binary, sometimes it's as simple as doing a `rm -rf directory_name_here` but that might leave behind conf and .rc files and stuff in your /etc/ folder for all I know. Cheers, -- Peter Leftwich President & Founder Video2Video Services Box 13692, La Jolla, CA, 92039 USA +1-413-403-9555 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message