Ask Different is a question and answer site for power users of Apple hardware and software. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I installed MacPorts from the official site usting .pkg installer for Mac, accepting all default installation settings.

Then my goal was to install rpm, so I typed respectively :

sudo port -v selfupdate

Port installed all updates and then:

sudo port install rpm

Port computed and downloaded all dependencies for rpm. The final information about rpm installtion stated :

--->  Installing rpm @4.4.9_14
--->  Activating rpm @4.4.9_14
--->  Cleaning rpm
--->  Updating database of binaries: 100.0%
--->  Scanning binaries for linking errors: 100.0%
--->  No broken files found.

It seems that it has been installed succesfully.

s239:~ Jakub$ which rpm
s239:~ Jakub $ rpm -ql python
Segmentation fault: 11

Does anyone have an idea what is wrong here and how to solve this?

I am on Mac OS X Lion 10.7.5, downloaded MacPorts for Lion, not Mountain Lion.

I can provide more information about my system if it is needed to solve this.

share|improve this question
There are two questions asked here: 1) What happened to the command line prompt? 2) How do you solve the segmentation fault. Really you should only be asking one question at a time. So, which question do you want answered? – HairOfTheDog Mar 4 '13 at 17:16
Welcome to Ask Different! You had two questions in here. This site works better when there is only one question per question. That way, it's easier for other people to find solutions if they have the same problem. I've edited out your first question, you should be able to find the answer on this site already. Otherwise feel free to ask a new question. – patrix Mar 4 '13 at 19:48
Sorry didn't think about that when I was writting this post. I've already found an answer for the second question after I separated that problem from the problem of RPM - you were right guys - single question per post, and thanks for editting for me! So now I am looking foward to see answer for the problem with RPM, which still doesn't work. – koleS Mar 4 '13 at 20:36

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.