[MacPorts] #8155: uninstall should properly report versions when needed

MacPorts noreply at macports.org
Sun Feb 7 11:00:33 PST 2016


#8155: uninstall should properly report versions when needed
---------------------+--------------------------------
  Reporter:  ray@…   |      Owner:  macports-tickets@…
      Type:  defect  |     Status:  closed
  Priority:  Normal  |  Milestone:
 Component:  base    |    Version:  1.2
Resolution:  fixed   |   Keywords:
      Port:          |
---------------------+--------------------------------
Changes (by ryandesign@…):

 * component:  deprecated => base


Old description:

> I tried the following:
>
> sh-2.05b# port uninstall perl5.8 5.8.7_0
> --->  The following versons of perl5.8 are currently installed:
> --->    perl5.8 5.8.7_0 (active)
> --->    perl5.8 5.8.8_0+darwin_8
> Error: /opt/local/bin/port: port uninstall failed: Registry error: Please
> specify the full version as recorded in the port registry.
> sh-2.05b# port uninstall perl5.8 5.8.8_0+darwin_8
> --->  The following versons of perl5.8 are currently installed:
> --->    perl5.8 5.8.7_0 (active)
> --->    perl5.8 5.8.8_0+darwin_8
> Error: /opt/local/bin/port: port uninstall failed: Registry error: Please
> specify the full version as recorded in the port registry.
> sh-2.05b#
>
> It did not occur to me to use the syntax for versions that one sees in
> the "port installed" output.
>
> This should have said:
>
> sh-2.05b# port uninstall perl5.8
> --->  The following versons of perl5.8 are currently installed:
> --->    perl5.8 @5.8.7_0 (active)
> --->    perl5.8 @5.8.8_0+darwin_8
> Error: /opt/local/bin/port: port uninstall failed: Registry error: Please
> specify the full version as recorded in the port registry.
> sh-2.05b#
>
> Then it would have been clear what was needed.

New description:

 I tried the following:

 {{{
 sh-2.05b# port uninstall perl5.8 5.8.7_0
 --->  The following versons of perl5.8 are currently installed:
 --->    perl5.8 5.8.7_0 (active)
 --->    perl5.8 5.8.8_0+darwin_8
 Error: /opt/local/bin/port: port uninstall failed: Registry error: Please
 specify the full version as recorded in the port registry.
 sh-2.05b# port uninstall perl5.8 5.8.8_0+darwin_8
 --->  The following versons of perl5.8 are currently installed:
 --->    perl5.8 5.8.7_0 (active)
 --->    perl5.8 5.8.8_0+darwin_8
 Error: /opt/local/bin/port: port uninstall failed: Registry error: Please
 specify the full version as recorded in the port registry.
 sh-2.05b#
 }}}

 It did not occur to me to use the syntax for versions that one sees in the
 "port installed" output.

 This should have said:

 {{{
 sh-2.05b# port uninstall perl5.8
 --->  The following versons of perl5.8 are currently installed:
 --->    perl5.8 @5.8.7_0 (active)
 --->    perl5.8 @5.8.8_0+darwin_8
 Error: /opt/local/bin/port: port uninstall failed: Registry error: Please
 specify the full version as recorded in the port registry.
 sh-2.05b#
 }}}

 Then it would have been clear what was needed.

--

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


More information about the macports-tickets mailing list