From owner-freebsd-questions@FreeBSD.ORG Fri May 2 06:13:02 2008 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 9BC1B106567A for ; Fri, 2 May 2008 06:13:02 +0000 (UTC) (envelope-from aryeh.friedman@gmail.com) Received: from mta5.srv.hcvlny.cv.net (mta5.srv.hcvlny.cv.net [167.206.4.200]) by mx1.freebsd.org (Postfix) with ESMTP id 45CE28FC0A for ; Fri, 2 May 2008 06:13:02 +0000 (UTC) (envelope-from aryeh.friedman@gmail.com) Received: from flosoft.no-ip.biz (ool-435559b8.dyn.optonline.net [67.85.89.184]) by mta5.srv.hcvlny.cv.net (Sun Java System Messaging Server 6.2-8.04 (built Feb 28 2007)) with ESMTP id <0K0800LHB99P8D20@mta5.srv.hcvlny.cv.net> for freebsd-questions@freebsd.org; Fri, 02 May 2008 02:13:01 -0400 (EDT) Received: from flosoft.no-ip.biz (localhost [127.0.0.1]) by flosoft.no-ip.biz (8.14.2/8.14.2) with ESMTP id m426CxQF015160; Fri, 02 May 2008 02:13:00 -0400 Date: Fri, 02 May 2008 02:12:53 -0400 From: "Aryeh M. Friedman" In-reply-to: <481AA49E.2020404@lc-words.com> To: z.szalbot@lc-words.com Message-id: <481AB0E5.5080300@gmail.com> MIME-version: 1.0 Content-type: text/plain; charset=ISO-8859-2; format=flowed Content-transfer-encoding: 7BIT X-Enigmail-Version: 0.95.6 References: <481AA49E.2020404@lc-words.com> User-Agent: Thunderbird 2.0.0.12 (X11/20080426) Cc: freebsd-questions@freebsd.org Subject: Re: handling stale dependencies 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: Fri, 02 May 2008 06:13:02 -0000 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Zbigniew Szalbot wrote: | Hello, | | I will appreciate your advice about how to best handle stale dependencies. Today I wanted to upgrade phpMyAdmin and I got a number of questions about stale dependencies. I eventually deleted all of them, but does this mean I need to upgrade ports which used this dependency (mailgraph-1.14_1, netpbm-10.26.52, p5-FuzzyOcr-devel-3.4.2_1, php5-gd-5.2.5_1, and rrdtool-1.2.26)? I am not sure what your asking... if your asking do you need png for phpMyAdmin the short answer is no... the long answer is yes because if you want to maintain the ports it depends on then they need png. Portupgrade uses an external DB (not the same one as pkg_* uses) and this is the one that pkgdb maintains. Which means that until you run pkgdb portupgrade will use the "old" depends... now if you not using portupgrade this is not an issue but since you are you need to make sure the two are in sync. That being said once you answered yes/all to "Delete this?" then any mention of the depend in pkgdb will be removed and if you had already done a make deinstall or pkg_delete then your fine all the way around (and by definition you already have because you will not get that question unless the port/package doesn't exist in the /var/db/pkg hierachy) | | Stale dependency: mailgraph-1.14_1 -> png-1.2.27 (graphics/png): | Delete this? ([y]es/[n]o/[a]ll) [yes] | Deleted. | Stale dependency: netpbm-10.26.52 -> png-1.2.27 (graphics/png): | Delete this? ([y]es/[n]o/[a]ll) [yes] | Deleted. | Stale dependency: p5-FuzzyOcr-devel-3.4.2_1 -> png-1.2.27 (graphics/png): | Delete this? ([y]es/[n]o/[a]ll) [yes] | Deleted. | Stale dependency: pear-Image_Color-1.0.2_1 -> png-1.2.27 (graphics/png): | Delete this? ([y]es/[n]o/[a]ll) [yes] | Deleted. | Stale dependency: pecl-pdflib-2.1.5 -> png-1.2.27 (graphics/png): | Delete this? ([y]es/[n]o/[a]ll) [yes] | Deleted. | Stale dependency: php5-gd-5.2.5_1 -> png-1.2.27 (graphics/png): | Delete this? ([y]es/[n]o/[a]ll) [yes] | Deleted. | Stale dependency: phpMyAdmin-2.11.5 -> png-1.2.27 (graphics/png): | Delete this? ([y]es/[n]o/[a]ll) [yes] | Deleted. | Stale dependency: rrdtool-1.2.26 -> png-1.2.27 (graphics/png): | Delete this? ([y]es/[n]o/[a]ll) [yes] | Deleted. | | I am not even sure png is installed. | $ pkg_info -Ix png | pkg_info: no packages match pattern(s) | | $ cat /usr/ports/graphics/png/distinfo | MD5 (libpng-1.2.28.tar.bz2) = c981a7014fc695e354d2f2cac3a6742e | SHA256 (libpng-1.2.28.tar.bz2) = 041c11048ea812f56d7042fbdfc3d7025c97a81f07ab20ebd0f50aecb47baccc | SIZE (libpng-1.2.28.tar.bz2) = 788156 | | Many thanks in advance! | -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.9 (FreeBSD) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iEYEARECAAYFAkgasOUACgkQk8GFzCrQm4B5nQCdGTC1J9VxQ6q2+bOZFvuOxVvk cFkAn0VNZMqA0Z2RLGoyMMlpfPkHMhAb =bEax -----END PGP SIGNATURE-----