Cannot uninstall local port with invalid version number
dstrubbe at macports.org
Fri Jul 20 19:27:36 UTC 2018
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.188.8.131.52.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.
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.
On Fri, Jul 20, 2018 at 2:52 PM, S P Arif Sahari Wibowo via macports-users <
macports-users at lists.macports.org> wrote:
> On 2018-07-18, 16:56, S P Arif Sahari Wibowo via macports-users wrote:
>> # port -f uninstall installed
>> Warning: Failed to open Portfile from registry for alpine
>> Error: port uninstall failed: Registry error: Invalid version
>> '2.20_0.97.114.105.184.108.40.206.97.1+without_tcl' specified for
>> alpine. Please specify a version as recorded in the port registry.
> So, any thoughts?
> 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
> ____ ____ ____ ____ (stephan paul) Arif Sahari Wibowo
> /___ /___/ /___/ /___ http://www.arifsaha.com/
> ____/ / / / ____/
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the macports-users