From owner-freebsd-questions@FreeBSD.ORG Thu Jan 22 23:41:31 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A7AB9106566C for ; Thu, 22 Jan 2009 23:41:31 +0000 (UTC) (envelope-from novembre@gmail.com) Received: from wf-out-1314.google.com (wf-out-1314.google.com [209.85.200.169]) by mx1.freebsd.org (Postfix) with ESMTP id 6FC128FC0A for ; Thu, 22 Jan 2009 23:41:31 +0000 (UTC) (envelope-from novembre@gmail.com) Received: by wf-out-1314.google.com with SMTP id 24so4861763wfg.7 for ; Thu, 22 Jan 2009 15:41:31 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:cc:content-type; bh=lOzmS2CEA2vm5dJRKykMEHCnFkqwvz7DyXiqRqBKSiM=; b=gEKVhLL9Xk6etqUiQ///w+ILKMERlkl1gWf3q2pWBrabGkp3FFE1Bmirji8rnX1Tw9 5H0tlasRweO6RXciE/ZMp0NobCUXs3P2R1MA3JPCpyo4rzP8mNeHXes6SuMcqthuee1B G06ofy0u4XIU8Hq563PCavrv2TMr7JskXfH4s= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; b=C/Ox4TNIl4/NA00cgOcH26XoIpnK06CB0zpOsD8U91dA4neK0m7fK/UjM31TfSBiDh yIqaP2gdFeDfHepu3GJirukXDsOQTZPCitjlAvIWWrYbasQ9mpAp0ZMDTpgs0kvqypXI wEEIZLMdZ96v3bhKm1Tp2brnAZHOW5ERAaa9o= MIME-Version: 1.0 Received: by 10.142.215.5 with SMTP id n5mr2657701wfg.5.1232667691071; Thu, 22 Jan 2009 15:41:31 -0800 (PST) In-Reply-To: <18807.58863.983982.191053@jerusalem.litteratus.org> References: <3b47caa90901211835o7eae77d9v2bead5e01dcf14af@mail.gmail.com> <18807.58863.983982.191053@jerusalem.litteratus.org> Date: Thu, 22 Jan 2009 17:41:30 -0600 Message-ID: <3b47caa90901221541r467869e9hbe882380b9e69316@mail.gmail.com> From: Novembre To: Robert Huff Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: FreeBSD Questions Subject: Re: old cruft after source upgrading --- clean install? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 22 Jan 2009 23:41:31 -0000 On Wed, Jan 21, 2009 at 9:20 PM, Robert Huff wrote: > > Novembre writes: > > > I have a system which was updated from 6.3-RELEASE to 7.0-RELEASE > > some eight months ago via a source upgrade. After that, I rebuilt > > all the packages on the system as well. Now, I would like to > > update it again to 7.1-RELEASE, and I'm wondering whether I > > should do a clean install or just do a source upgrade again. My > > question is regarding all the old cruft that remains after the > > upgrade and rebuilding of all the packages, as I already know > > that there are a bunch of old libraries residing somewhere on the > > system. > > Do you have ports-mgmt/portupgrade(-devel) installed? > If so, are you aware of "portsclean"? > This has worked successfully for me for several years. > > > Robert Huff > I use portupgrade and portsclean. However, it puts the old libraries in /usr/local/lib/compat/pkg, and on my system, there are some files in that directory. Since I have rebuilt all the packages, my question was how to be sure if that they are not being used anymore and hwo to get rid of these old libraries. Is it safe for me to simply delete them? Also, what are all these unreferenced libraries (according to libchk) doing on my machine (see the previous post)? Thanks :)