From owner-freebsd-questions@FreeBSD.ORG Mon May 30 04:18:01 2011 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 0F5AB1065676 for ; Mon, 30 May 2011 04:18:01 +0000 (UTC) (envelope-from rsimmons0@gmail.com) Received: from mail-yx0-f182.google.com (mail-yx0-f182.google.com [209.85.213.182]) by mx1.freebsd.org (Postfix) with ESMTP id C0FD68FC14 for ; Mon, 30 May 2011 04:18:00 +0000 (UTC) Received: by yxl31 with SMTP id 31so1840749yxl.13 for ; Sun, 29 May 2011 21:18:00 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:in-reply-to:references:date :message-id:subject:from:to:content-type:content-transfer-encoding; bh=WvvyaLTp/JGgdYvn1rozOkBpE65B30u4lpRYMRcAwrU=; b=vHdaoz7ljqkUWmXzs64f/zmdk0aDcbl9mcEW/i+mX9H9YuvgFw/GXtqIV09XDmngro 9TwOlTJz5KgP3OdvLv5s4V0RvUgIgVEv+TKsHAx5D9F5ZjLsnYtybZ7XR2k5s95mlNaO J5gWc14nTLnOjTXCkLjCf9IuxFhs3nqgXR9bI= 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 :content-type:content-transfer-encoding; b=tll1jJHjdwBJCHlH94qw4ARo6sFhhzcAnNZg3hh/BxdDtL1UdBMPdzUcRvtA9eROS3 JpqtY4jC19KrmiVdDcq8h6nLS171MQ9wBZw006kvvwrlMdWTp2lYIp2Zkh6O+j1dABQe cOuWOQa0Dv/JuKSfnps6I13B1jQkmFhRTC4Zk= MIME-Version: 1.0 Received: by 10.101.180.22 with SMTP id h22mr2887836anp.80.1306729079892; Sun, 29 May 2011 21:17:59 -0700 (PDT) Received: by 10.100.131.9 with HTTP; Sun, 29 May 2011 21:17:59 -0700 (PDT) In-Reply-To: <201105292349.50921.lobo@bsd.com.br> References: <201105292349.50921.lobo@bsd.com.br> Date: Mon, 30 May 2011 00:17:59 -0400 Message-ID: From: Robert Simmons To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Subject: Re: Funny thing with portsclean 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: Mon, 30 May 2011 04:18:01 -0000 On Sun, May 29, 2011 at 10:49 PM, Mario Lobo wrote: > # Papi/root [23:28:52] > [~]>portsclean -D > > Detecting unreferenced distfiles... <-- !! > > Delete /usr/ports/distfiles/KDE/akonadi-1.5.2.tar.bz2 > Delete /usr/ports/distfiles/KDE/kdeaccessibility-4.6.2.tar.bz2 > Delete /usr/ports/distfiles/KDE/kdeadmin-4.6.2.tar.bz2 > Delete /usr/ports/distfiles/KDE/kdeartwork-4.6.2.tar.bz2 > Delete /usr/ports/distfiles/KDE/kdebase-4.6.2.tar.bz2 > Delete /usr/ports/distfiles/KDE/kdebase-runtime-4.6.2.tar.bz2 > Delete /usr/ports/distfiles/KDE/kdebase-workspace-4.6.2.tar.bz2 > Delete /usr/ports/distfiles/KDE/kdebindings-4.6.2.tar.bz2 > Delete /usr/ports/distfiles/KDE/kdeedu-4.6.2.tar.bz2 > Delete /usr/ports/distfiles/KDE/kdegames-4.6.2.tar.bz2 > Delete /usr/ports/distfiles/KDE/kdegraphics-4.6.2.tar.bz2 > Delete /usr/ports/distfiles/KDE/kdelibs-4.6.2.tar.bz2 > Delete /usr/ports/distfiles/KDE/kdemultimedia-4.6.2.tar.bz2 > Delete /usr/ports/distfiles/KDE/kdenetwork-4.6.2.tar.bz2 > Delete /usr/ports/distfiles/KDE/kdepimlibs-4.6.2.tar.bz2 > Delete /usr/ports/distfiles/KDE/kdeplasma-addons-4.6.2.tar.bz2 > Delete /usr/ports/distfiles/KDE/kdesdk-4.6.2.tar.bz2 > Delete /usr/ports/distfiles/KDE/kdetoys-4.6.2.tar.bz2 > Delete /usr/ports/distfiles/KDE/kdeutils-4.6.2.tar.bz2 > Delete /usr/ports/distfiles/KDE/kdewebdev-4.6.2.tar.bz2 > Delete /usr/ports/distfiles/KDE/oxygen-icons-4.6.2.tar.bz2 > > How can these files be unreferenced if I've those installed?? > > # Papi/root [23:36:17] > [~]>pkg_info | grep kde > akonadi-1.5.2 =A0 =A0 =A0 Storage server for kdepim > kde4-4.6.2 =A0 =A0 =A0 =A0 =A0The "meta-port" for KDE > kde4-freebsd-carddeck-1.0 FreeBSD themed deck for KDE card games > kde4-icons-oxygen-4.6.2 The Oxygen icon theme for KDE > kde4-shared-mime-info-1.1 Handles shared MIME database under ${KDE4_PREFI= X} > kde4-xdg-env-1.0 =A0 =A0Script which hooks into startkde and helps KDE pi= ck up XDG > kdeaccessibility-4.6.2 Accessibility applications for KDE4 > kdeadmin-4.6.2 =A0 =A0 =A0KDE Admin applications > kdeartwork-4.6.2 =A0 =A0KDE Artworks Themes > kdebase-4.6.2 =A0 =A0 =A0 Basic applications for the KDE system > kdebase-runtime-4.6.2_1 Basic applications for the KDE system > kdebase-workspace-4.6.2 Basic applications for the KDE system > kdebindings-python-4.6.2 Meta port of Python bindings for KDE > kdebindings-smoke-4.6.2 SMOKE bindings for Qt/KDE > kdeedu-4.6.2 =A0 =A0 =A0 =A0Collection of entertaining, educational progr= ams for KDE > kdegames-4.6.2 =A0 =A0 =A0Games for the KDE integrated X11 desktop > kdegraphics-4.6.2_2 Graphics utilities for the KDE4 integrated X11 deskto= p > kdehier-1.0_11 =A0 =A0 =A0Utility port which installs a hierarchy of shar= ed KDE > kdehier4-1.0.7 =A0 =A0 =A0Utility port that creates hierarchy of shared K= DE4 > kdelibs-3.5.10_7 =A0 =A0Base set of libraries needed by KDE programs > kdelibs-4.6.2 =A0 =A0 =A0 Base set of libraries needed by KDE programs > kdemultimedia-4.6.2 KDE Multimedia applications > kdenetwork-4.6.2_1 =A0KDE Network applications > kdepim-4.4.11.1 =A0 =A0 Libraries for KDE-PIM applications > kdepim-runtime-4.4.11.1 Libraries for KDE-PIM applications > kdepimlibs-4.6.2 =A0 =A0Libraries for KDE-PIM applications > kdeplasma-addons-4.6.2 Extra plasmoids for KDE4 > kdesdk-4.6.2 =A0 =A0 =A0 =A0KDE Software Development Kit > kdetoys-4.6.2 =A0 =A0 =A0 Collection of entertaining programs for KDE > kdeutils-4.6.2 =A0 =A0 =A0Utilities for the KDE4 integrated X11 Desktop > > > Is portsclean doing something wrong here or am I missing something? isn't= it > supposed to cross info with the installed packeges database before deleti= ng > the distfiles, even if you "csuped" the ports tree? The version of KDE in the ports tree is 4.6.3, the current May updates version. You may have brought your ports tree up to date, and portsclean is just removing the unreferenced 4.6.2 files. Whether you have them installed or not is not the key. It is whether they are referenced by a port in *your* ports tree, which they are not.