handling stale dependencies

Aryeh M. Friedman aryeh.friedman at gmail.com
Fri May 2 06:13:02 UTC 2008


-----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-----



More information about the freebsd-questions mailing list