Re: handling stale dependencies
Hello, Something went wrong earlier on, and portupgrade screwed up. It tried to upgrade png, got as far as uninstalling it, failed to install it and then failed to restore the backup and for some reason also thinks that rrdtool does not depend on graphics/png, while it does, unconditionally. Best thing to do when you see pkgdb mentioning "stale dependencies" is hit ctrl-c hard, fast and often. Then scroll up to see what it did wrong and try to figure out how to correct it's mess. What is at present the png version installed on your system and could you show the output of: grep 'DEPORIGIN: graphics/png' /var/db/pkg/*/+CONTENTS It reveals nothing but so far so good. Everything seems to work so I am not going to worry about it. I just don't remember. I may have installed then uninstalled png at some point but no idea if I did. I have actually started to run a journal of everything being done to the server - it should help in future! -- Zbigniew Szalbot www.lc-words.com smime.p7s Description: S/MIME Cryptographic Signature
Re: handling stale dependencies
On Friday 02 May 2008 07:20:30 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)? > > Stale dependency: mailgraph-1.14_1 -> png-1.2.27 (graphics/png): > Delete this? ([y]es/[n]o/[a]ll) [yes] > Deleted. Something went wrong earlier on, and portupgrade screwed up. It tried to upgrade png, got as far as uninstalling it, failed to install it and then failed to restore the backup and for some reason also thinks that rrdtool does not depend on graphics/png, while it does, unconditionally. Best thing to do when you see pkgdb mentioning "stale dependencies" is hit ctrl-c hard, fast and often. Then scroll up to see what it did wrong and try to figure out how to correct it's mess. What is at present the png version installed on your system and could you show the output of: grep 'DEPORIGIN: graphics/png' /var/db/pkg/*/+CONTENTS -- Mel Problem with today's modular software: they start with the modules and never get to the software part. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: handling stale dependencies
-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- ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
handling stale dependencies
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)? 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! -- Zbigniew Szalbot www.lc-words.com smime.p7s Description: S/MIME Cryptographic Signature