Cannot uninstall local port with invalid version number

S P Arif Sahari Wibowo arifsaha at yahoo.com
Fri Jul 20 18:52:20 UTC 2018


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 @2.20_0.97.114.105.102.115.97.104.97.1+without_tcl
> Error: port uninstall failed: Registry error: Invalid version '2.20_0.97.114.105.102.115.97.104.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 work?

/opt/local/var/macports/registry/portfiles/alpine-2.20_0.97.114.105.102.115.97.104.97.1
/opt/local/var/macports/software/alpine/alpine-2.20_0.97.114.105.102.115.97.104.97.1+without_tcl.darwin_12.x86_64.tbz2
/opt/local/var/macports/registry/portfiles/alpine-2.20_0.97.114.105.102.115.97.104.97.1/dd47ac05498fa0b6d33064be0263aaa249b2c501bc8ff9ca12657e2ccb1aea8a-2485/Portfile

Thanks!

-- 
    ____  ____  ____  ____ (stephan paul) Arif Sahari Wibowo
   /___  /___/ /___/ /___      http://www.arifsaha.com/
  ____/ /     /   / ____/


More information about the macports-users mailing list