Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
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.
I'm on git 1.7.0.4 and I need to upgrade it, but it won't go any further than this version. I did:
$sudo apt-get update
$sudo apt-get upgrade git
And it started upgrading all sorts of stuff. Seemed like half my system, and it took much longer than updates normally take. In any case, it finally finished, but git was still 1.7.0.4. Running the apt-get upgrade command again doesn't update anything.
That's a different system (although it did have the same problem, just with a slightly newer Git. That "1.7.2" like you mentioned sounds like what it was, IIRC). This one is my main Linux box, which is Kubuntu 10.04 at the moment.
In any case, I managed to get 1.7.8 installed on both systems by downloading and compiling the git source. It was kind of a pain figuring out the names of some of the dependent packages, but I managed to get it. I still don't get why it didn't "just simply work" with apt-get though.
I just found out somewhere else that "apt-get upgrade" ignores any package names you give it, and just upgrades everything that it can upgrade without installing any new packages. It's strange, I've been using that command for at least a couple years to try to upgrade individual packages, so I can't believe I never knew that about it (it never complained and always worked, and "upgrade" always sounded much more logical to upgrade something then "install").
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.