From owner-freebsd-questions Mon Apr 17 2:30: 7 2000 Delivered-To: freebsd-questions@freebsd.org Received: from mailhop1.nyroc.rr.com (mailhop1-1.nyroc.rr.com [24.92.226.166]) by hub.freebsd.org (Postfix) with ESMTP id EF02D37B759 for ; Mon, 17 Apr 2000 02:30:00 -0700 (PDT) (envelope-from dheller1@rochester.rr.com) Received: from mailout2.nyroc.rr.com ([24.92.226.165]) by mailhop1.nyroc.rr.com (Post.Office MTA v3.5.3 release 223 ID# 0-59787U250000L250000S0V35) with ESMTP id com for ; Sun, 16 Apr 2000 22:37:22 -0400 Received: from rochester.rr.com ([24.24.34.106]) by mailout2.nyroc.rr.com (Post.Office MTA v3.5.3 release 223 ID# 0-59787U250000L250000S0V35) with ESMTP id com for ; Sun, 16 Apr 2000 22:29:10 -0400 Message-ID: <38FA7992.9AC7CA65@rochester.rr.com> Date: Sun, 16 Apr 2000 22:40:18 -0400 From: David Heller X-Mailer: Mozilla 4.72 [en] (X11; U; FreeBSD 4.0-STABLE i386) X-Accept-Language: en MIME-Version: 1.0 To: freebsd-questions@freebsd.org Subject: Re: Package duplications References: <4.3.1.2.20000412212839.00adb8c0@mail.udel.edu> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG John wrote: > > Hey all, > > I was fiddling through my package information, and I found that I have 3 > different versions of the TCL package installed (8.0.5, 8.1.a2, and > 8.3.b1). I was wondering - are all three truly necessary for any > compatability issues? Or would I be able to get rid of the first two? > > Also, if I *DO* try to pkg_delete the first two, I get messages declaring > dependencies on those packages. How do I make sure that whatever is > dependent on the first install of TCL can actually use the second (as in, > it knows where it is?) And also, what's the safest way to force a deinstall? > > Thanks in advance, > John > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-questions" in the body of the message Hi As far as I know the when installing a newer pkg version it will just overwrite files in the older version, And should cause no harm. However If you try to delete the older version of a pkg you will in effect remove the newer files from the new pkg. The only way I see to get around this is force the pkg to be removed with pkg_delete -f "name_of_pkg" and reinstalling. However In some cases you might need all three versions. The best way to check is cd /usr/port/what_ever/pkg and examine the file PLIST this will give you a list of all the files installed and there location. By comparing these you can determine if it is safe to remove the old versions as they will have the same file locations. On my system pkg_info reports several versions of the same package. This can also happen when installing a new pkg, when It needs a newer version of a pkg already installed. It would be nice if there some way of cleaning up older versions of pkgs when they are not needed without reinstalling. regards, Dave To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message