[MacPorts] #51498: requested (meta) ports get uninstalled on uninstall leaves

MacPorts noreply at macports.org
Thu May 26 06:58:31 PDT 2016


#51498: requested (meta) ports get uninstalled on uninstall leaves
---------------------+--------------------------------
  Reporter:  nick@…  |      Owner:  macports-tickets@…
      Type:  defect  |     Status:  new
  Priority:  Normal  |  Milestone:
 Component:  base    |    Version:  2.3.4
Resolution:          |   Keywords:
      Port:          |
---------------------+--------------------------------
Description changed by mf2k@…:

Old description:

> 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 at 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 at Himkje:~ % sudo port setrequested p5-template-toolkit
> nick at 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

New description:

 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 at 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 at Himkje:~ % sudo port setrequested p5-template-toolkit
 nick at 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
 }}}

--

-- 
Ticket URL: <https://trac.macports.org/ticket/51498#comment:3>
MacPorts <https://www.macports.org/>
Ports system for OS X


More information about the macports-tickets mailing list