Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Hello, I'm trying to install git on my system (CentOS 5) and i've tried a variety of different things. I tried
yum install git
but that doesn't do anything, it just returns the following message:
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
* addons: linux.mirrors.es.net
* base: mirrors.xmission.com
* extras: mirrors.cat.pdx.edu
* updates: mirrors.versaweb.com
Setting up Install Process
No package git available.
Nothing to do
I tried downloading an RPM (git-all-1.7.3.2-1.fc11.i386.rpm) online at http://rpm.pbone.net but when I try to install from this RPM i get a list of unresolved dependencies.
yum localinstall git-all-1.7.3.2-1.fc11.i386.rpm
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
* addons: linux.mirrors.es.net
* base: mirrors.cat.pdx.edu
* extras: mirror.singleedge.com
* updates: mirrors.versaweb.com
Setting up Install Process
Examining git-all-1.7.3.2-1.fc11.i386.rpm: git-all-1.7.3.2-1.fc11.i386
Marking git-all-1.7.3.2-1.fc11.i386.rpm to be installed
Resolving Dependencies
--> Running transaction check
---> Package git-all.i386 0:1.7.3.2-1.fc11 set to be updated
--> Processing Dependency: git = 1.7.3.2-1.fc11 for package: git-all
--> Processing Dependency: git-svn = 1.7.3.2-1.fc11 for package: git-all
--> Processing Dependency: git-cvs = 1.7.3.2-1.fc11 for package: git-all
--> Processing Dependency: git-arch = 1.7.3.2-1.fc11 for package: git-all
--> Processing Dependency: git-email = 1.7.3.2-1.fc11 for package: git-all
--> Processing Dependency: gitk = 1.7.3.2-1.fc11 for package: git-all
--> Processing Dependency: gitweb = 1.7.3.2-1.fc11 for package: git-all
--> Processing Dependency: git-gui = 1.7.3.2-1.fc11 for package: git-all
--> Finished Dependency Resolution
git-all-1.7.3.2-1.fc11.i386 from /git-all-1.7.3.2-1.fc11.i386 has depsolving problems
--> Missing Dependency: git-email = 1.7.3.2-1.fc11 is needed by package git-all-1.7.3.2-1.fc11.i386 (/git-all-1.7.3.2-1.fc11.i386)
git-all-1.7.3.2-1.fc11.i386 from /git-all-1.7.3.2-1.fc11.i386 has depsolving problems
--> Missing Dependency: git-gui = 1.7.3.2-1.fc11 is needed by package git-all-1.7.3.2-1.fc11.i386 (/git-all-1.7.3.2-1.fc11.i386)
git-all-1.7.3.2-1.fc11.i386 from /git-all-1.7.3.2-1.fc11.i386 has depsolving problems
--> Missing Dependency: gitk = 1.7.3.2-1.fc11 is needed by package git-all-1.7.3.2-1.fc11.i386 (/git-all-1.7.3.2-1.fc11.i386)
git-all-1.7.3.2-1.fc11.i386 from /git-all-1.7.3.2-1.fc11.i386 has depsolving problems
--> Missing Dependency: git-svn = 1.7.3.2-1.fc11 is needed by package git-all-1.7.3.2-1.fc11.i386 (/git-all-1.7.3.2-1.fc11.i386)
git-all-1.7.3.2-1.fc11.i386 from /git-all-1.7.3.2-1.fc11.i386 has depsolving problems
--> Missing Dependency: gitweb = 1.7.3.2-1.fc11 is needed by package git-all-1.7.3.2-1.fc11.i386 (/git-all-1.7.3.2-1.fc11.i386)
git-all-1.7.3.2-1.fc11.i386 from /git-all-1.7.3.2-1.fc11.i386 has depsolving problems
--> Missing Dependency: git = 1.7.3.2-1.fc11 is needed by package git-all-1.7.3.2-1.fc11.i386 (/git-all-1.7.3.2-1.fc11.i386)
git-all-1.7.3.2-1.fc11.i386 from /git-all-1.7.3.2-1.fc11.i386 has depsolving problems
--> Missing Dependency: git-arch = 1.7.3.2-1.fc11 is needed by package git-all-1.7.3.2-1.fc11.i386 (/git-all-1.7.3.2-1.fc11.i386)
git-all-1.7.3.2-1.fc11.i386 from /git-all-1.7.3.2-1.fc11.i386 has depsolving problems
--> Missing Dependency: git-cvs = 1.7.3.2-1.fc11 is needed by package git-all-1.7.3.2-1.fc11.i386 (/git-all-1.7.3.2-1.fc11.i386)
Error: Missing Dependency: git-gui = 1.7.3.2-1.fc11 is needed by package git-all-1.7.3.2-1.fc11.i386 (/git-all-1.7.3.2-1.fc11.i386)
Error: Missing Dependency: gitk = 1.7.3.2-1.fc11 is needed by package git-all-1.7.3.2-1.fc11.i386 (/git-all-1.7.3.2-1.fc11.i386)
Error: Missing Dependency: git-cvs = 1.7.3.2-1.fc11 is needed by package git-all-1.7.3.2-1.fc11.i386 (/git-all-1.7.3.2-1.fc11.i386)
Error: Missing Dependency: git-svn = 1.7.3.2-1.fc11 is needed by package git-all-1.7.3.2-1.fc11.i386 (/git-all-1.7.3.2-1.fc11.i386)
Error: Missing Dependency: gitweb = 1.7.3.2-1.fc11 is needed by package git-all-1.7.3.2-1.fc11.i386 (/git-all-1.7.3.2-1.fc11.i386)
Error: Missing Dependency: git-email = 1.7.3.2-1.fc11 is needed by package git-all-1.7.3.2-1.fc11.i386 (/git-all-1.7.3.2-1.fc11.i386)
Error: Missing Dependency: git = 1.7.3.2-1.fc11 is needed by package git-all-1.7.3.2-1.fc11.i386 (/git-all-1.7.3.2-1.fc11.i386)
Error: Missing Dependency: git-arch = 1.7.3.2-1.fc11 is needed by package git-all-1.7.3.2-1.fc11.i386 (/git-all-1.7.3.2-1.fc11.i386)
You could try using --skip-broken to work around the problem
You could try running: package-cleanup --problems
package-cleanup --dupes
rpm -Va --nofiles --nodigest
I thought Yum was supposed to automatically resolve those issues? Do i need to set up another repository to make this work?? Thanks for any assistance, I'm pretty new with Yum so if anything i mentioned above doesn't make sense just let me know and i'll try to clarify. Thanks!
knudfl, Thanks for the reply. Sorry but I'm pretty new to yum, would you be able to how I'd install the 'epel.repo'? Also, how would i even know to look there in the first place?
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.