I just trying to perform “sudo port clean” but it show error “Can’t map the URL ‘file://.’ to a port description file…” I also not able to perform port selfupdate or port upgrade outdated. After some research, it shows all this error is due to the macport is too old and not updated for a long time.
To solve “Macport: Can’t map the URL … ” problem, follow the steps below:
Advertisements
- Start your Terminal
- sudo port -f uninstall ncursesw
- sudo port selfupdate
- sudo port upgrade outdated
- now you should be able to do sudo port clean!
Happy port update!
Related posts:
How to find your MAC address in Mac and Window
How to disable notification center in Mac OS X
Free Project Management software for Mac OS X - GanttProject
How to disable Front Row shortcut key in Mac
How to reduce pdf file size in Mac
How to move cursor to end of line in vi editor
How to switch window within the same program in Mac OS X
How to backup svn server
Share this with your friends:-