Re: Remove "Phantom" Ports

2022-03-12 Thread Ryan Schmidt
On Mar 12, 2022, at 22:35, Sriranga Veeraraghavan wrote: > Thank you - I did not know about the port-* manages. > > I see from port-reclaim(1) that there are man pages for several other port > commands, but I didn’t see a reference to these other man pages in the > port(1) man page. For

Re: Remove "Phantom" Ports

2022-03-12 Thread Sriranga Veeraraghavan
Thank you - I did not know about the port-* manages. I see from port-reclaim(1) that there are man pages for several other port commands, but I didn’t see a reference to these other man pages in the port(1) man page. For user convenience, perhaps these could be added to the SEE ALSO

Re: Remove "Phantom" Ports

2022-03-12 Thread Ryan Schmidt
On Mar 10, 2022, at 19:57, Sriranga Veeraraghavan wrote: > On Mar 10, 2022, at 05:10, Ryan Schmidt wrote: > >> "port reclaim --enable-reminders" enables reminders; >> "port reclaim --disable-reminders" disables them. > > Thanks for letting me know about this. I’ve turned on reminders. > > FYI,

Re: Remove "Phantom" Ports

2022-03-10 Thread Sriranga Veeraraghavan
> On Mar 10, 2022, at 05:10, Ryan Schmidt wrote: > > "port reclaim --enable-reminders" enables reminders; > "port reclaim --disable-reminders" disables them. Thanks for letting me know about this. I’ve turned on reminders. FYI, I didn’t see these options mentioned in the man page for port(1)

Re: Remove "Phantom" Ports

2022-03-10 Thread James Secan
Good point. I set up my routine upgrade script many years ago, before I understood much about how MacPorts (and port) works. While fixing this disconnect I found a couple of other usages that weren’t quite what I wanted. Jim 3222 NE 89th St Seattle, WA 98115 (206) 430-0109 > On Mar 10, 2022,

Re: Remove "Phantom" Ports

2022-03-10 Thread Ryan Schmidt
On Mar 10, 2022, at 03:18, Sriranga Veeraraghavan wrote: > On Mar 10, 2022, at 00:34, Ryan Schmidt wrote: > >> On Mar 9, 2022, at 17:13, James Secan wrote: >>> >>> when I run "port upgrade installed -u outdated” >> >> This command doesn't make a great deal of sense. You're asking MacPorts to

Re: Remove "Phantom" Ports

2022-03-10 Thread Sriranga Veeraraghavan
Thanks for clarifying, I mis-typed the command I normally use (which you mentioned below): $ sudo port -u upgrade outdated Based on your description, it may be safer to just do: $ sudo port upgrade outdated and periodically run: $ sudo port reclaim I have never seen a reminder to run port

Re: Remove "Phantom" Ports

2022-03-10 Thread Ryan Schmidt
On Mar 9, 2022, at 17:13, James Secan wrote: > > when I run "port upgrade installed -u outdated” This command doesn't make a great deal of sense. You're asking MacPorts to upgrade the "installed" ports (which includes those those that are outdated and those that aren't) and also the "outdated"

Re: Remove "Phantom" Ports

2022-03-09 Thread Joshua Root
James Secan wrote: I have a number of apparently old/replaced ports (p5.26-*) that have been replaced at some point by their p5.28-* updates that are still in some way “alive” on my system. They show up when I run "port upgrade installed -u outdated” as follows: Warning: No port

Re: Remove "Phantom" Ports

2022-03-09 Thread Sriranga Veeraraghavan
To keep my ports up-to-date, I normally used the following about a once a week: $ sudo port selfupdate $ sudo port -u upgrade outdated to which I now plan to add: $ sudo port reclaim You mention running ‘port -u uninstall’ before ‘port self update’. Is there some reason to do that instead of

Re: Remove "Phantom" Ports

2022-03-09 Thread Dave Horsfall
On Wed, 9 Mar 2022, Sriranga Veeraraghavan wrote: > I have been using MacPorts for years and never knew about this.  I just > ran this on my system and it reclaimed nearly 2GB of space, which was > awesome. Thank you so much for mentioning this! "port reclaim" is part of the "port -u uninstall

Re: Remove "Phantom" Ports

2022-03-09 Thread James Secan
(Resending, because I didn’t respond to the list) Just tried, and it listed far too many ports as “Unrequested ports without requested dependents found” along with the p5.26 ports for me to allow the wholesale deletion to go forward. Looked like most of the ports I have installed. I decided

Re: Remove "Phantom" Ports

2022-03-09 Thread Sriranga Veeraraghavan
I have been using MacPorts for years and never knew about this. I just ran this on my system and it reclaimed nearly 2GB of space, which was awesome. Thank you so much for mentioning this! -ranga > On Mar 9, 2022, at 15:42, Peter West wrote: > > Have you tried > port reclaim > ? > > — >

Re: Remove "Phantom" Ports

2022-03-09 Thread Peter West
Have you tried port reclaim ? — Peter West p...@ehealth.id.au “Then the kingdom of heaven will be like ten virgins who took their lamps and went to meet the bridegroom. Five of them were foolish, and five were wise.” > On 10 Mar 2022, at 9:13 am, James Secan wrote: > > I have a number of

Remove "Phantom" Ports

2022-03-09 Thread James Secan
I have a number of apparently old/replaced ports (p5.26-*) that have been replaced at some point by their p5.28-* updates that are still in some way “alive” on my system. They show up when I run "port upgrade installed -u outdated” as follows: Warning: No port p5.26- found in the index