<div dir="ltr">Hi,<div><br></div><div>I'm not sure about how to fix your problem, but I believe the root cause is that you used something very strange as a revision. I suspect you meant to use "0.97.114.105.102.115.97.104.97.1" as a version not a revision. In our terminology, revisions mean updates to the packaging in the Portfile, while versions mean updates to the underlying code.</div><div><br></div><div>The MacPorts base, of course, should have applied to same check to the revision string you supplied at build time as it is doing at uninstall time.</div><div><br></div><div>David</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Fri, Jul 20, 2018 at 2:52 PM, S P Arif Sahari Wibowo via macports-users <span dir="ltr"><<a href="mailto:macports-users@lists.macports.org" target="_blank">macports-users@lists.macports.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">On 2018-07-18, 16:56, S P Arif Sahari Wibowo via macports-users wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
# port -f uninstall installed<br>
Warning: Failed to open Portfile from registry for alpine @2.20_0.97.114.105.102.115.97.<wbr>104.97.1+without_tcl<br>
Error: port uninstall failed: Registry error: Invalid version '2.20_0.97.114.105.102.115.97.<wbr>104.97.1+without_tcl' specified for alpine. Please specify a version as recorded in the port registry.<br>
</blockquote>
<br></span>
So, any thoughts?<br>
<br>
Where is this registry anyway? I grep and find through all macports directories and only found 2 directories and 1 file (copy of the Portfile) with the version number in it. Can I just rename and edit them and it will work?<br>
<br>
/opt/local/var/macports/regist<wbr>ry/portfiles/alpine-2.20_0.97.<wbr>114.105.102.115.97.104.97.1<br>
/opt/local/var/macports/softwa<wbr>re/alpine/alpine-2.20_0.97.<wbr>114.105.102.115.97.104.97.1+<wbr>without_tcl.darwin_12.x86_64.<wbr>tbz2<br>
/opt/local/var/macports/regist<wbr>ry/portfiles/alpine-2.20_0.97.<wbr>114.105.102.115.97.104.97.1/dd<wbr>47ac05498fa0b6d33064be0263aaa2<wbr>49b2c501bc8ff9ca12657e2ccb1aea<wbr>8a-2485/Portfile<br>
<br>
Thanks!<div class="HOEnZb"><div class="h5"><br>
<br>
-- <br>
   ____  ____  ____  ____ (stephan paul) Arif Sahari Wibowo<br>
  /___  /___/ /___/ /___      <a href="http://www.arifsaha.com/" rel="noreferrer" target="_blank">http://www.arifsaha.com/</a><br>
 ____/ /     /   / ____/<br>
</div></div></blockquote></div><br></div>