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 copy a DVD in Mac OS X
Mac: how to disable print screen window shadow
How to open .chm file in Mac OS X
How to send message to syslog server?
How to create shortcut in Mac OS X
How to convert flac to mp3 file in Mac OS X
Mac open dmg file No mountable file system error
How to send email using different profile in Apple Mail
Share this with your friends:-