Help with "port upgrade outdated" errors

Ryan Schmidt ryandesign at macports.org
Tue Jan 8 16:19:02 PST 2013


On Jan 8, 2013, at 14:17, Achilles Vassilicos wrote:

> What's happening is that I had an older version of Xcode installed before installing Xcode 4.5.2 after upgrading to Mountain Lion from Snow Leopard. I did a
> 
> sudo /Developer/Library/uninstall-devtools –mode=all
> 
> which removed the uninstall-devtools script, but it does not seem to have cleaned everything. Where might be remnants of the old Xcode that may need to be cleaned manually?

There are thousands of files that are part of the Xcode installation. One thing you can do to identify them is if you still have the Xcode 3.2.6 installer package, open it. On Mountain Lion there were numerous complaints when I did this, including that the installer had to relaunch, that the package's certificate had expired, and that the package had to run a program, but after acknowledging all three, you can select Show Files from the Installer's File menu and turn the disclosure triangle next to each of the packages to see what files they install. You can then check your hard drive to see if any of those items still remain, and manually remove them. Note that while the files in the System Tools and UNIX Development packages are shown with paths relative to the root of your hard drive, the files in the Essentials package are relative to the /Developer directory.

Some of the files listed are still part of the current version of Xcode, particularly when you install the command line tools. So after manually removing Xcode 3.2's old files as above, you should (re)install the command line tools of the current version of Xcode.




More information about the macports-users mailing list