#14564: port -uR upgrade doesn't upgrade dependencies -----------------------------------------+---------------------------------- Reporter: waltman-macports@mawode.com | Owner: macports-tickets@lists.macosforge.org Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.6.0 Keywords: | -----------------------------------------+---------------------------------- I ran "port sync; port outdated" and saw that libpng was out of date. The manpage for port(1) lists among its options: -R also upgrade dependents (only for upgrading) -u uninstall non-active ports when upgrading and uninstalling So I figured that running "port -uR upgrade libpng" would upgrade any packages that depend on libpng, and then remove the old copies. But instead of doing that, it just upgraded itself. Then it complained that it couldn't remove the old copy because aterm depended it it: ---> Unable to uninstall libpng 1.2.24_0+darwin_8, the following ports depend on it: ---> aterm Error: Uninstall libpng 1.2.24_0+darwin_8 failed: Please uninstall the ports that depend on libpng first. That error message was repeated 6 times. There seem to be several potential bugs here: * If aterm depends on a specific version of libpng, why wasn't it rebuilt? * If aterm doesn't need to be rebuilt (e.g. it can use either 1.2.24 or 1.2.25 via symlinks in /opt/local/lib), then why is it an error to unstall the old package? * Why was the error message repeated 6 times? -- Ticket URL: <http://trac.macosforge.org/projects/macports/ticket/14564> MacPorts </projects/macports> Ports system for Mac OS