manually editing the registry database

Jochen Küpper jochen at fhi-berlin.mpg.de
Mon Jun 4 08:51:12 PDT 2007


With the problem described below: Can I manually remove the py-numpy  
entry from the port registry, in order to re-install the port?
How do I have to proceed? Is this documented somewhere?

Thank you very much in advance!
Jochen

Begin forwarded message:

> I am having problems with the py-numpy port, which is installed but  
> not activated according to port's output, but I cannot uninstall  
> nor re-install or activate it.
>
> What can I do to get out of this?
> Any hints are appreciated.
>
>
> These are the info's I get:
>
>
> > sudo port version
> Version: 1.442
>
>
> > sudo port -dv installed | grep numpy
>   py-gsl @0.9.1_0+numpy (active)
>   py-numpy @1.0.3_0
>
>
>
> > sudo port -dv activate py-numpy
> --->  Activating py-numpy
> DEBUG: Image error: py-numpy @1.0.3_0 not installed as an image.
>     while executing
> "portimage::activate $portname [composite_version $portversion  
> [array get variations]] [array get options]"
> Error: port activate failed: Image error: py-numpy @1.0.3_0 not  
> installed as an image.
>
>
>
> > sudo port -dv uninstall -nf py-numpy
> DEBUG: py-scipy depends on this port
> DEBUG: py-gsl depends on this port
> --->  Unable to uninstall py-numpy 1.0.3_0, the following ports  
> depend on it:
> --->    py-scipy
> --->    py-gsl
> Warning: Uninstall forced.  Proceeding despite dependencies.
> --->  Uninstalling py-numpy 1.0.3_0
> DEBUG: skip missing file: /Users/jochen/0
> DEBUG: /Users/jochen is not empty
> DEBUG: /Users is not empty
> DEBUG: / is not empty
> --->  Uninstall is removing py-numpy from the port registry.
>
>
> > sudo port -dv install py-numpy
> DEBUG: Found port in file:///opt/local/var/db/dports/sources/ 
> rsync.rsync.darwinports.org_dpupdate_dports/python/py-numpy
> DEBUG: Changing to port directory: /opt/local/var/db/dports/sources/ 
> rsync.rsync.darwinports.org_dpupdate_dports/python/py-numpy
> DEBUG: Requested variant darwin is not provided by port py-numpy.
> DEBUG: Requested variant i386 is not provided by port py-numpy.
> DEBUG: Requested variant macosx is not provided by port py-numpy.
> DEBUG: Found port in file:///opt/local/var/db/dports/sources/ 
> rsync.rsync.darwinports.org_dpupdate_dports/lang/g95
> DEBUG: Changing to port directory: /opt/local/var/db/dports/sources/ 
> rsync.rsync.darwinports.org_dpupdate_dports/lang/g95
> DEBUG: Requested variant darwin is not provided by port g95.
> DEBUG: Requested variant i386 is not provided by port g95.
> DEBUG: Requested variant macosx is not provided by port g95.
> DEBUG: Searching for dependency: g95
> DEBUG: Found Dependency: receipt exists for g95
> DEBUG: Found port in file:///opt/local/var/db/dports/sources/ 
> rsync.rsync.darwinports.org_dpupdate_dports/math/fftw-3
> DEBUG: Changing to port directory: /opt/local/var/db/dports/sources/ 
> rsync.rsync.darwinports.org_dpupdate_dports/math/fftw-3
> DEBUG: Requested variant darwin is not provided by port fftw-3.
> DEBUG: Requested variant i386 is not provided by port fftw-3.
> DEBUG: Requested variant macosx is not provided by port fftw-3.
> DEBUG: Searching for dependency: fftw-3
> DEBUG: Found Dependency: receipt exists for fftw-3
> DEBUG: Skipping completed com.apple.main (py-numpy)
> DEBUG: Skipping completed com.apple.fetch (py-numpy)
> DEBUG: Skipping completed com.apple.checksum (py-numpy)
> DEBUG: Skipping completed com.apple.extract (py-numpy)
> DEBUG: Skipping completed com.apple.patch (py-numpy)
> DEBUG: Skipping completed com.apple.configure (py-numpy)
> DEBUG: Skipping completed com.apple.build (py-numpy)
> DEBUG: Skipping completed com.apple.destroot (py-numpy)
> DEBUG: Skipping com.apple.install (py-numpy) since this port is  
> already installed
> DEBUG: Executing com.apple.activate (py-numpy)
> --->  Activating py-numpy 1.0.3_0
> Error: Target com.apple.activate returned: Image error: py-numpy  
> @1.0.3_0 not installed as an image.
> Warning: the following items did not execute (for py-numpy):  
> com.apple.activate
> Error: Status 1 encountered during processing.
>
>
> > sudo port -dv install -nf py-numpy
> DEBUG: Found port in file:///opt/local/var/db/dports/sources/ 
> rsync.rsync.darwinports.org_dpupdate_dports/python/py-numpy
> DEBUG: Changing to port directory: /opt/local/var/db/dports/sources/ 
> rsync.rsync.darwinports.org_dpupdate_dports/python/py-numpy
> DEBUG: Requested variant darwin is not provided by port py-numpy.
> DEBUG: Requested variant i386 is not provided by port py-numpy.
> DEBUG: Requested variant macosx is not provided by port py-numpy.
> DEBUG: Found port in file:///opt/local/var/db/dports/sources/ 
> rsync.rsync.darwinports.org_dpupdate_dports/lang/g95
> DEBUG: Changing to port directory: /opt/local/var/db/dports/sources/ 
> rsync.rsync.darwinports.org_dpupdate_dports/lang/g95
> DEBUG: Requested variant darwin is not provided by port g95.
> DEBUG: Requested variant i386 is not provided by port g95.
> DEBUG: Requested variant macosx is not provided by port g95.
> DEBUG: Searching for dependency: g95
> DEBUG: Found Dependency: receipt exists for g95
> DEBUG: Found port in file:///opt/local/var/db/dports/sources/ 
> rsync.rsync.darwinports.org_dpupdate_dports/math/fftw-3
> DEBUG: Changing to port directory: /opt/local/var/db/dports/sources/ 
> rsync.rsync.darwinports.org_dpupdate_dports/math/fftw-3
> DEBUG: Requested variant darwin is not provided by port fftw-3.
> DEBUG: Requested variant i386 is not provided by port fftw-3.
> DEBUG: Requested variant macosx is not provided by port fftw-3.
> DEBUG: Searching for dependency: fftw-3
> DEBUG: Found Dependency: receipt exists for fftw-3
> DEBUG: Skipping completed com.apple.main (py-numpy)
> DEBUG: Skipping completed com.apple.fetch (py-numpy)
> DEBUG: Skipping completed com.apple.checksum (py-numpy)
> DEBUG: Skipping completed com.apple.extract (py-numpy)
> DEBUG: Skipping completed com.apple.patch (py-numpy)
> DEBUG: Skipping completed com.apple.configure (py-numpy)
> DEBUG: Skipping completed com.apple.build (py-numpy)
> DEBUG: Skipping completed com.apple.destroot (py-numpy)
> --->  Installing py-numpy 1.0.3_0
> DEBUG: Executing com.apple.install (py-numpy)
> Error: Target com.apple.install returned: Registry error: py-numpy  
> @1.0.3_0 already registered as installed.  Please uninstall it first.
> Warning: the following items did not execute (for py-numpy):  
> com.apple.activate com.apple.install
> Error: Status 1 encountered during processing.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: PGP.sig
Type: application/pgp-signature
Size: 186 bytes
Desc: This is a digitally signed message part
Url : http://lists.macosforge.org/pipermail/macports-users/attachments/20070604/c0452ff0/PGP.bin


More information about the macports-users mailing list