MacPorts 2.6.2 broke during upgrades

Riccardo Mottola riccardo.mottola at libero.it
Tue Oct 22 17:38:31 UTC 2019


Hi all!

my MacPorts
broke in a very strange way. I was upgrading selectively some ports 
(because certain are hard failures currently on 10.7) ehen upgrade of 
python36 broke (strangely, it worked on 10.6!).

I cannot even list outdated packages, look:

$ sudo port list outdated
sudo: Can't mkdir /var/db/sudo/multix: File exists
error deleting 
"/opt/local/var/macports/home/Library/Preferences/com.apple.dt.Xcode.plist": 
invalid argument
     while executing
"file delete -force "${target_dir}/com.apple.dt.Xcode.plist""
     (procedure "macports::copy_xcode_plist" line 5)
     invoked from within
"macports::copy_xcode_plist $env(HOME)"
     (procedure "mportinit" line 585)
     invoked from within
"mportinit ui_options global_options global_variations"
Error: /opt/local/bin/port: Failed to initialize MacPorts, error 
deleting 
"/opt/local/var/macports/home/Library/Preferences/com.apple.dt.Xcode.plist": 
invalid argument


what is this??

Riccardo


More information about the macports-users mailing list