Re: querying the registry for reverse dependencies
On Tuesday November 01 2016 13:33:26 Brandon Allbery wrote: Hi, In hindsight it indeed seems unlikely that the registry would contain this kind of information. >I think that's a hack: save and nuke the port in question (manually), then >let rev-upgrade catch the broken dependents for you. Exactly, though nuking evokes something a bit less precise than what this actually does :) R. ___ macports-dev mailing list macports-dev@lists.macosforge.org https://lists.macosforge.org/mailman/listinfo/macports-dev
Re: querying the registry for reverse dependencies
On Tue, Nov 1, 2016 at 1:11 PM, Clemens Langwrote: > I don't understand how bzip2 and port rev-upgrade relate. I think that's a hack: save and nuke the port in question (manually), then let rev-upgrade catch the broken dependents for you. -- brandon s allbery kf8nh sine nomine associates allber...@gmail.com ballb...@sinenomine.net unix, openafs, kerberos, infrastructure, xmonadhttp://sinenomine.net ___ macports-dev mailing list macports-dev@lists.macosforge.org https://lists.macosforge.org/mailman/listinfo/macports-dev
Re: querying the registry for reverse dependencies
Hi, On Tue, Nov 01, 2016 at 03:10:30PM +0100, René J.V. Bertin wrote: > A variant of my earlier question: is there a magic formula to query > the registry which files (and/or ports) depend on a given binary file? > IOW, an elegant alternative to something like No, there's no such thing in the registry. The registry only has per-port information, so the best you can do is a combination of 'port provides' and 'port dependents'. > %> sudo bzip2 -v foo > %> sudo port -v rev-upgrade > %> sudo bunzip2 foo.bz2 I don't understand how bzip2 and port rev-upgrade relate. -- Clemens ___ macports-dev mailing list macports-dev@lists.macosforge.org https://lists.macosforge.org/mailman/listinfo/macports-dev
Re: querying the registry for reverse dependencies
Hi, A variant of my earlier question: is there a magic formula to query the registry which files (and/or ports) depend on a given binary file? IOW, an elegant alternative to something like %> sudo bzip2 -v foo %> sudo port -v rev-upgrade %> sudo bunzip2 foo.bz2 Thanks, R. ___ macports-dev mailing list macports-dev@lists.macosforge.org https://lists.macosforge.org/mailman/listinfo/macports-dev