Opened 8 years ago

Last modified 4 years ago

#51498 new enhancement

requested (meta) ports get uninstalled on uninstall leaves — at Version 3

Reported by: nick@… Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: base Version: 2.3.4
Keywords: Cc:
Port:

Description (last modified by mf2k (Frank Schima))

I installed p5-Template-Toolkit, but afterwards doing uninstall leaves uninstalled it (or actualy p5.22-template-toolkit) again.

It seems that if the meta port is not actually installed, het requested flag should be transferred to the port it installed instead.

nick@Himkje:~ % sudo port install p5-template-toolkit
--->  Computing dependencies for p5-template-toolkit
--->  Dependencies to be installed: p5.22-template-toolkit
--->  Fetching archive for p5.22-template-toolkit
--->  Attempting to fetch p5.22-template-toolkit-2.260.0_0.darwin_15.x86_64.tbz2 from https://packages.macports.org/p5.22-template-toolkit
--->  Attempting to fetch p5.22-template-toolkit-2.260.0_0.darwin_15.x86_64.tbz2.rmd160 from https://packages.macports.org/p5.22-template-toolkit
--->  Installing p5.22-template-toolkit @2.260.0_0
--->  Activating p5.22-template-toolkit @2.260.0_0
--->  Cleaning p5.22-template-toolkit
--->  Cleaning p5-template-toolkit
--->  Updating database of binaries
--->  Scanning binaries for linking errors
--->  No broken files found.
nick@Himkje:~ % sudo port setrequested p5-template-toolkit
nick@Himkje:~ % sudo port uninstall leaves
--->  Deactivating p5.22-template-toolkit @2.260.0_0
--->  Cleaning p5.22-template-toolkit
--->  Uninstalling p5.22-template-toolkit @2.260.0_0
--->  Cleaning p5.22-template-toolkit

Change History (3)

comment:1 Changed 8 years ago by nick@…

nick@Himkje:~ % sudo port install p5-template-toolkit
--->  Computing dependencies for p5-template-toolkit
--->  Dependencies to be installed: p5.22-template-toolkit
--->  Fetching archive for p5.22-template-toolkit
--->  Attempting to fetch p5.22-template-toolkit-2.260.0_0.darwin_15.x86_64.tbz2 from https://packages.macports.org/p5.22-template-toolkit
--->  Attempting to fetch p5.22-template-toolkit-2.260.0_0.darwin_15.x86_64.tbz2.rmd160 from https://packages.macports.org/p5.22-template-toolkit
--->  Installing p5.22-template-toolkit @2.260.0_0
--->  Activating p5.22-template-toolkit @2.260.0_0
--->  Cleaning p5.22-template-toolkit
--->  Cleaning p5-template-toolkit
--->  Updating database of binaries
--->  Scanning binaries for linking errors
--->  No broken files found.
nick@Himkje:~ % sudo port setrequested p5-template-toolkit
nick@Himkje:~ % sudo port uninstall leaves
--->  Deactivating p5.22-template-toolkit @2.260.0_0
--->  Cleaning p5.22-template-toolkit
--->  Uninstalling p5.22-template-toolkit @2.260.0_0
--->  Cleaning p5.22-template-toolkit

comment:2 Changed 8 years ago by nick@…

Just so know I know: I -could- install p5.22-t-t instead, but what then is the point of meta ports? I work on many systems and can't be asked to rememeber which Perl version is installed where.

Last edited 8 years ago by nick@… (previous) (diff)

comment:3 Changed 8 years ago by mf2k (Frank Schima)

Description: modified (diff)
Note: See TracTickets for help on using tickets.