Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8498597
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 11, 20262026-06-11T00:26:48+00:00 2026-06-11T00:26:48+00:00

Am trying to install macports on a newly installed mountain lion, I installed first

  • 0

Am trying to install macports on a newly installed mountain lion, I installed first the xCode and then installed the xCode command line tools. After that, I ran the xCode and agreed for the terms and condition, then installed the macports dmg package.

Once I did, I ran the self update command and it worked but then any self install or self upgrade won’t work.

Mo-Mughrabis-MacBook-Pro:~ mo$ sudo port -v selfupdate
--->  Updating MacPorts base sources using rsync
receiving file list ... done

sent 36 bytes  received 69 bytes  30.00 bytes/sec
total size is 3543040  speedup is 33743.24
receiving file list ... done

sent 36 bytes  received 76 bytes  32.00 bytes/sec
total size is 512  speedup is 4.57
MacPorts base version 2.1.2 installed,
MacPorts base version 2.1.2 downloaded.
--->  Updating the ports tree
Synchronizing local ports tree from rsync://rsync.macports.org/release/tarballs/ports.tar
receiving file list ... done

sent 36 bytes  received 70 bytes  30.29 bytes/sec
total size is 53821440  speedup is 507749.43
receiving file list ... done

sent 36 bytes  received 77 bytes  32.29 bytes/sec
total size is 512  speedup is 4.53
Creating port index in /opt/local/var/macports/sources/rsync.macports.org/release/tarballs/ports

Total number of ports parsed:   0 
Ports successfully parsed:  0 
Ports failed:           0 
Up-to-date ports skipped:   15604

--->  MacPorts base is already the latest version

The ports tree has been updated. To upgrade your installed ports, you should run
  port upgrade outdated
Mo-Mughrabis-MacBook-Pro:~ mo$ sudo port upgrade outdated
Error: No ports matched the given expression

When i tried to run sudo port install I got the following

Mo-Mughrabis-MacBook-Pro:~ mo$ sudo port install 
Can't map the URL 'file://.' to a port description file ("Could not find Portfile in /Users/mo").
Please verify that the directory and portfile syntax are correct.
To use the current port, you must be in a port's directory.

Any one can help me out on what i might have done wrong here?

Thanks,

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-11T00:26:50+00:00Added an answer on June 11, 2026 at 12:26 am

    Since you just barely installed MacPorts, none of the actual ports (that you most likely had on another computer) have been installed yet.

    If you run port installed, you’ll notice that it returns empty.

    So congratulations; 0 out of 0 ports are outdated 😉

    If you want all the same ports that you had on your other Mac(s), fire up Terminal and run port installed on those machines. That should give you a list of everything, and you can either export that list, or pick-and-choose the ones you want on your new Mountain Lion installation.

    And then it will be as simple as

    port install [which program]

    for each of those ports that you want.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am trying to install Ruby 1.9.2-p290 via macports. I just installed the port
I upgraded to Mountain lion and now ports aren't being installed. I've updated macports
I'm on Mac OS X Lion and just installed mysql5 using MacPorts. Then I
I am trying install php5-intl on my osx lion. I did install also Xcode.
Trying to install ruby 1.9.3, read that I need to install homebrew first. Ran
I'm trying to get perl running under on my Apache 2 macports install. I'm
I am trying to install ode via Macports, but get this error: On Mac
I just installed boost 1.42.0 from macports using sudo port install boost . Everything
I'm trying to install PostgreSQL for Rails on Mac OS X 10.6. First I
I'm trying to install Shogun Toolbox on Snow Leopard. Via MacPorts I get the

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.