From owner-freebsd-isp@FreeBSD.ORG Thu Nov 25 13:15:05 2004 Return-Path: Delivered-To: freebsd-isp@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id DED4F16A4CE for ; Thu, 25 Nov 2004 13:15:05 +0000 (GMT) Received: from mx2.mail.ru (mx2.mail.ru [194.67.23.122]) by mx1.FreeBSD.org (Postfix) with ESMTP id 72D3543D5F for ; Thu, 25 Nov 2004 13:15:05 +0000 (GMT) (envelope-from my-subs@mail.ru) Received: from [212.143.159.12] (port=51673 helo=ant.zoo) by mx2.mail.ru with smtp id 1CXJSh-000Pr6-00 for freebsd-isp@freebsd.org; Thu, 25 Nov 2004 16:15:03 +0300 Date: Thu, 25 Nov 2004 15:14:57 +0200 From: Alexander Portnoy To: freebsd-isp@freebsd.org Message-Id: <20041125151457.21f23386.my-subs@mail.ru> In-Reply-To: <41A525E0.5080306@arc.net.my> References: <41A525E0.5080306@arc.net.my> X-Mailer: Sylpheed version 0.9.99-gtk2-20041024 (GTK+ 2.4.13; i386-portbld-freebsd5.3) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Spam: Not detected Subject: Re: Cleaning up port dependencies X-BeenThere: freebsd-isp@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Internet Services Providers List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 25 Nov 2004 13:15:06 -0000 On Thu, 25 Nov 2004 08:22:56 +0800 Nick Kraal wrote: > Dear all, > > Running 'portupgrade -a' religiously to automatically update all > installed installed ports, I have started to notice duplicates in > certain installed applications. Most likely due to dependencies. > > %pkg_info > ... > ruby-1.6.8.2004.07.28 An object-oriented interpreted scripting language > ruby-1.8.2.p2_1 An object-oriented interpreted scripting language > tk-8.3.5_5 Graphical toolkit for TCL > tk-8.4.7,2 Graphical toolkit for TCL > libtool-1.3.5_2 Generic shared library support script (version 1.3) > libtool-1.5.10 Generic shared library support script (version 1.5) > > Is there a way to check on whether dependencies on the earlier version > still exist. Or perhaps I have deleted a port that does not need that > port version any more. Just some housekeeping here. > > Thanks in advance, > "pkg_info -r " > -nick/ Try to use "pkg_info -r " and "pkg_info -R " to see the dependencies. I am not sure that this will work for build dependences like libtool, but this work for regular run dependencies: $ pkg_info -rR gtk-2.4.13 Information for gtk-2.4.13: Depends on: Dependency: expat-1.95.8 Dependency: freetype2-2.1.7_3 Dependency: perl-5.8.5 Dependency: jpeg-6b_3 Dependency: libiconv-1.9.2_1 Dependency: png-1.2.7 Dependency: pkgconfig-0.15.0_1 Dependency: imake-6.7.0_2 Dependency: fontconfig-2.2.3,1 Dependency: gettext-0.13.1_1 Dependency: libxml2-2.6.16 Dependency: xorg-libraries-6.7.0_3 Dependency: tiff-3.7.0_2 Dependency: xorg-fonts-encodings-6.7.0 Dependency: bitstream-vera-1.10 Dependency: glib-2.4.7 Dependency: shared-mime-info-0.15 Dependency: xorg-fonts-truetype-6.7.0 Dependency: libXft-2.1.6 Dependency: hicolor-icon-theme-0.5 Dependency: pango-1.6.0 Dependency: atk-1.8.0 Required by: emelfm2-0.0.9_1 gconf2-2.8.1 gftp-2.0.18.r1_1 gimp-2.0.6_1,1 gnomevfs2-2.8.3_1 gqview-1.4.5_1 gtk-engines2-2.2.0_5 librsvg2-2.8.1_1 mozilla-1.7.3_3,2 openoffice-2.0 pgadmin3-1.0.2_1 sylpheed-gtk2-0.9.99.20041024_1 vim-gtk2-6.3.16 wxgtk2-common-devel-2.5.2_1 wxgtk2-contrib-common-devel-2.5.2_1 wxgtk2-unicode-contrib-devel-2.5.2_1 wxgtk2-unicode-devel-2.5.2_1