installing git-core (to upgrade OpenSSL) leads to errors

Puneet Kishor punk.kish at gmail.com
Sun Mar 18 08:48:40 PDT 2012


On Mar 18, 2012, at 10:10 AM, Rainer Müller wrote:

> On 2012-03-18 04:47, Mr. Puneet Kishor wrote:
>> 2. Somewhere along the line, I guess my OpenSSL got updated, and now, everytime I try to do a `git push` to another server, I get the following error
>> 
>> 	OpenSSL version mismatch. Built against 1000005f, you have 1000100f
>> 	fatal: The remote end hung up unexpectedly
> 
> I assume you are pushing over SSH? Then the recent openssl upgrade might have
> broken your openssh installation. Your other machine might not have openssh
> installed (using /usr/bin/ssh) or you already upgraded openssh there.
> 
> To fix this, upgrade openssh to the latest version. First check if it is really
> outdated:
>  port outdated openssh
> Then issue the upgrade with the command:
>  sudo port upgrade openssh
> 
> You might have other outdated ports and are encouraged to regularly upgrade any
> all outdated ports with the commands:
>  sudo port selfupdate
>  sudo port upgrade outdated
> 

Spot on Rainer, absolutely, you hit it on the head. All my ssh related commands were failing (and I kept on mixing openssl with openssh). Yes, my openssh was at 

	$port outdated openssh
	The following installed ports are outdated:
	openssh                        5.9p1_0 < 5.9p1_2 


Upgrading openssh fixed everything. Thank goodness I didn't force reinstall openssl or git.


Man, I hope this email thread saves others some grief.



--
a beer for Rainer Müller


More information about the macports-users mailing list