Opened 19 years ago
Last modified 9 years ago
#8155 closed defect
uninstall should properly report versions when needed — at Initial Version
Reported by: | ray@… | Owned by: | macports-tickets@… |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | base | Version: | 1.2 |
Keywords: | Cc: | ||
Port: |
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.