Hi there,
Is there a way to manually edit the registry? Macports reports that ruby is installed, but it isn't. I'd like to install it.
$ sudo port -vd installed | grep ruby
ruby @1.8.5-p12_0
$ sudo port -vd uninstall ruby
---> Uninstalling ruby 1.8.5-p12_0
DEBUG: skip missing file: /private/tmp/0
DEBUG: /private/tmp is not empty
DEBUG: /private is not empty
DEBUG: / is not empty
---> Uninstall is removing ruby from the port registry.
$ sudo port -vd installed | grep ruby
ruby @1.8.5-p12_0
$ sudo port -vdf install ruby
DEBUG: Found port in
file:///opt/local/var/db/dports/sources/rsync.rsync.darwinports.org_dpupdate_dports/lang/ruby
DEBUG: Changing to port directory: /opt/local/var/db/dports/sources/rsync.rsync.darwinports.org_dpupdate_dports/lang/ruby
DEBUG: Requested variant i386 is not provided by port ruby.
DEBUG: Requested variant macosx is not provided by port ruby.
DEBUG: Executing variant darwin provides darwin
DEBUG: Found port in
file:///opt/local/var/db/dports/sources/rsync.rsync.darwinports.org_dpupdate_dports/textproc/libiconv
DEBUG: Changing to port directory: /opt/local/var/db/dports/sources/rsync.rsync.darwinports.org_dpupdate_dports/textproc/libiconv
DEBUG: Searching for dependency: libiconv
DEBUG: Found Dependency: receipt exists for libiconv
DEBUG: Found port in
file:///opt/local/var/db/dports/sources/rsync.rsync.darwinports.org_dpupdate_dports/devel/readline
DEBUG: Changing to port directory: /opt/local/var/db/dports/sources/rsync.rsync.darwinports.org_dpupdate_dports/devel/readline
DEBUG: Searching for dependency: readline
DEBUG: Found Dependency: receipt exists for readline
DEBUG: Found port in
file:///opt/local/var/db/dports/sources/rsync.rsync.darwinports.org_dpupdate_dports/devel/openssl
DEBUG: Changing to port directory: /opt/local/var/db/dports/sources/rsync.rsync.darwinports.org_dpupdate_dports/devel/openssl
DEBUG: Searching for dependency: openssl
DEBUG: Found Dependency: receipt exists for openssl
DEBUG: Found port in
file:///opt/local/var/db/dports/sources/rsync.rsync.darwinports.org_dpupdate_dports/archivers/zlib
DEBUG: Changing to port directory: /opt/local/var/db/dports/sources/rsync.rsync.darwinports.org_dpupdate_dports/archivers/zlib
DEBUG: Searching for dependency: zlib
DEBUG: Found Dependency: receipt exists for zlib
DEBUG: Found port in
file:///opt/local/var/db/dports/sources/rsync.rsync.darwinports.org_dpupdate_dports/devel/ncurses
DEBUG: Changing to port directory: /opt/local/var/db/dports/sources/rsync.rsync.darwinports.org_dpupdate_dports/devel/ncurses
DEBUG: Searching for dependency: ncurses
DEBUG: Found Dependency: receipt exists for ncurses
DEBUG: Skipping completed com.apple.main (ruby)
DEBUG: Skipping completed com.apple.unarchive (ruby)
DEBUG: Skipping completed
com.apple.fetch (ruby)
DEBUG: Skipping completed com.apple.checksum (ruby)
DEBUG: Skipping completed com.apple.extract (ruby)
DEBUG: Skipping completed com.apple.patch (ruby)
DEBUG: Skipping completed com.apple.configure
(ruby)
DEBUG: Skipping completed com.apple.build (ruby)
DEBUG: Skipping completed com.apple.destroot (ruby)
DEBUG: Skipping completed com.apple.archive (ruby)
---> Installing ruby 1.8.5-p12_0
DEBUG: Executing
com.apple.install (ruby)
Error: Target com.apple.install returned: Registry error: ruby 1.8.5-p12_0 already registered as installed. Please uninstall it first.
Warning: the following items did not execute (for ruby):
com.apple.activate com.apple.install
Error: Status 1 encountered during processing.
Ack.
Help!
Thanks.