Announcing: port_upgrade
Artie Ziff
artie.ziff at gmail.com
Wed Jun 17 21:15:23 PDT 2009
Hello,
It seems I have managed to break my system.
How to recover from a borked upgrade?
Cheers!
####################
$ sudo ./upgrade.sh
full run
Error: port uninstall failed: Registry error: dbus 1.2.12_5 not
registered as installed.
---> Unable to uninstall gettext 0.17_4, the following ports depend on it:
---> lzmautils
Error: port uninstall failed: Please uninstall the ports that depend on
gettext first.
Error: port uninstall failed: Registry error: mysql5 5.0.83_0+server not
registered as installed.
Error: port uninstall failed: Registry error: mysql5 5.0.81_0+server not
registered as installed.
Error: port uninstall failed: Registry error: postgresql83 8.3.7_0 not
registered as installed.
Error: port uninstall failed: Registry error: rb-actionwebservice
1.2.6_0 not registered as installed.
Error: port uninstall failed: Registry error: struts 1.2.7_0 not
registered as installed.
Error: port uninstall failed: Registry error: unixODBC 2.2.14_1 not
registered as installed.
Error: port uninstall failed: Registry error: commons-fileupload 1.2.1_0
not registered as installed.
Error: port uninstall failed: Registry error: commons-validator 1.3.1_1
not registered as installed.
Error: port uninstall failed: Registry error:
jakarta-taglibs-standard-11 1.1.2_1 not registered as installed.
Error: port uninstall failed: Registry error: libxslt 1.1.24_2 not
registered as installed.
Error: port uninstall failed: Registry error: rb-actionpack 2.2.2_0 not
registered as installed.
Error: port uninstall failed: Registry error: rb-activerecord 2.2.2_0
not registered as installed.
Error: port uninstall failed: Registry error: commons-digester 1.8_0 not
registered as installed.
Error: port uninstall failed: Registry error: libxml2 2.7.3_0 not
registered as installed.
Error: port uninstall failed: Registry error: rb-activesupport 2.2.2_0
not registered as installed.
Error: port uninstall failed: Registry error: commons-beanutils 1.8.0_0
not registered as installed.
Error: port uninstall failed: Registry error: rb-rubygems 1.3.1_0 not
registered as installed.
Error: port uninstall failed: Registry error: commons-collections
3.2.1_0 not registered as installed.
Error: port uninstall failed: Registry error: ruby
1.8.7-p173_0+thread_hooks not registered as installed.
Error: port uninstall failed: Registry error: ruby
1.8.7-p160_1+thread_hooks not registered as installed.
Error: port uninstall failed: Registry error: junit 4.6_1 not registered
as installed.
Error: port uninstall failed: Registry error: junit 4.6_0 not registered
as installed.
---> Uninstalling libiconv @1.13_0
---> Unable to uninstall libiconv 1.12_2, the following ports depend on it:
---> gettext
---> lzmautils
Error: port uninstall failed: Please uninstall the ports that depend on
libiconv first.
---> Deactivating hamcrest-core @1.2_0
---> Uninstalling hamcrest-core @1.2_0
Error: port uninstall failed: Registry error: hamcrest-core 1.1_2 not
registered as installed.
---> Fetching hamcrest-core
---> Verifying checksum(s) for hamcrest-core
---> Extracting hamcrest-core
---> Configuring hamcrest-core
---> Building hamcrest-core
---> Staging hamcrest-core into destroot
---> Installing hamcrest-core @1.2_0
---> Activating hamcrest-core @1.2_0
---> Cleaning hamcrest-core
---> Installing libiconv @1.13_0
---> Activating libiconv @1.13_0
Error: Target org.macports.activate returned: Image error: Another
version of this port (libiconv @1.12_2) is already active.
Error: Status 1 encountered during processing.
and
$ ./port_upgrade -o upgrade.sh
/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/rubygems/custom_require.rb:27:in
`gem_original_require': no such file to load -- bz2 (LoadError)
from
/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/rubygems/custom_require.rb:27:in
`require'
from /opt/local/port_upgrade/lib/port_upgrade.rb:20
from
/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/rubygems/custom_require.rb:27:in
`gem_original_require'
from
/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/rubygems/custom_require.rb:27:in
`require'
from ./port_upgrade:7
More information about the macports-users
mailing list