On May 29, 2018, at 08:58, Rainer Müller wrote:
> On 2018-05-29 06:24, Shuvayan wrote: > >>> On 29-May-2018, at 9:47 AM, Shuvayan wrote: >>> >>> Output:DEBUG: Copying >>> /Users/shuvayan/Library/Preferences/com.apple.dt.Xcode.plist to >>> /opt/local/var/macports/home/Library/Preferences >>> Version number in metadata table is newer than expected. >>> while executing >>> "registry::open $db_path" >>> (procedure "mportinit" line 642) >>> invoked from within >>> "mportinit ui_options global_options global_variations" >>> Error: /opt/local/bin/port: Failed to initialize MacPorts, Version >>> number in metadata table is newer than expected. >>> >> > > I am not sure how you got into this state, but you should be able to > recover by installing MacPorts 2.5.0 from the .pkg installer. Isn't the metadata table part of the registry? Why would reinstalling MacPorts affect the registry?
