[MacPorts] #651: cvs up in dports makes port uninstall fail if version has changed

MacPorts noreply at macports.org
Thu Mar 24 10:21:29 PDT 2016


#651: cvs up in dports makes port uninstall fail if version has changed
-------------------------+-----------------------
  Reporter:  jcorley1@…  |      Owner:  landonf@…
      Type:  defect      |     Status:  closed
  Priority:  Normal      |  Milestone:
 Component:  base        |    Version:  1.0
Resolution:  fixed       |   Keywords:
      Port:              |
-------------------------+-----------------------
Changes (by ryandesign@…):

 * component:  ports => base


Old description:

> I installed subversion when it was at version 0.23.0.  I ran cvs up in my
> dports
> tree (/opt/darwinports/dports) and noticed it was upgraded to version
> 0.24.2.
> When I tried to uninstall it, all I get is this:
>
> %
> % port uninstall -d -v subversion +mod_dav_svn
> DEBUG: com.apple.package registered provides 'package', a pre-existing
> procedure. Target override will not be provided
> DEBUG: Executing mod_dav_svn provides mod_dav_svn
> DEBUG: Skipping completed com.apple.main (subversion)
> DEBUG: Executing com.apple.uninstall (subversion)
> Error: Target com.apple.uninstall returned: Uninstall failed: Port not
> registered as installed
> Warning: the following items did not execute (for subversion):
> com.apple.uninstall
> %
>
> Problem being, as I understand it, that port is looking to remove version
> 0.24.2
> instead of the 0.23.0 that I have installed.  I have been told that I
> should
> have removed the port first, then run cvs update, then port install.
> However,
> how would I know to update the port if I don't run cvs up first?
>
> Jason

New description:

 I installed subversion when it was at version 0.23.0.  I ran cvs up in my
 dports
 tree (/opt/darwinports/dports) and noticed it was upgraded to version
 0.24.2.
 When I tried to uninstall it, all I get is this:

 {{{
 %
 % port uninstall -d -v subversion +mod_dav_svn
 DEBUG: com.apple.package registered provides 'package', a pre-existing
 procedure. Target override will not be provided
 DEBUG: Executing mod_dav_svn provides mod_dav_svn
 DEBUG: Skipping completed com.apple.main (subversion)
 DEBUG: Executing com.apple.uninstall (subversion)
 Error: Target com.apple.uninstall returned: Uninstall failed: Port not
 registered as installed
 Warning: the following items did not execute (for subversion):
 com.apple.uninstall
 %
 }}}

 Problem being, as I understand it, that port is looking to remove version
 0.24.2
 instead of the 0.23.0 that I have installed.  I have been told that I
 should
 have removed the port first, then run cvs update, then port install.
 However,
 how would I know to update the port if I don't run cvs up first?

 Jason

--

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


More information about the macports-tickets mailing list