Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Centos 5.5 - Installing Git circular dependencies

Okay...I'm really getting a bit frustrated with this. I know that this post will border on duplication of other posts, none of the others I've looked at seem to address this issue in particular. So, please don't be in a hurry to slate it as a duplicate before at least verifying everything I have here.

I am trying to install git on my Centos5.5 server. Performing a yum install git-all ends up throwing a bunch of missing dependency errors. So, then I went to find the individual rpms;

1) perl-Git-1.7.4.1-1.el5.x86_64.rpm

git = 1.7.4.1-1.el5 is needed by perl-Git-1.7.4.1-1.el5.x86_64

2) git-1.7.4.1-1.el5.x86_64.rpm

perl(Git) is needed by git-1.7.4.1-1.el5.x86_64
perl-Git = 1.7.4.1-1.el5 is needed by git-1.7.4.1-1.el5.x86_64

Does anyone else see that this is an impossible installation as this forms an insoluble circular dependency?

I need to have git on this box as it's critical to my developments. Has anyone else found a decent work around for this?

Please help. Thank you.

like image 583
Skittles Avatar asked Jul 27 '26 20:07

Skittles


1 Answers

If you're using rpm directly, you can use --nodeps to install one of the packages without checking dependencies, then install the other.

like image 157
Amber Avatar answered Jul 30 '26 10:07

Amber



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!