LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This 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


Reply
  Search this Thread
Old 01-07-2012, 11:46 PM   #1
Abscissa256
Member
 
Registered: Aug 2011
Posts: 79

Rep: Reputation: Disabled
Can't upgrade git past 1.7.0.4


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.
 
Old 01-08-2012, 05:33 AM   #2
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,511

Rep: Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641
Updating one package (git) is plain 'sudo apt-get install git'


Which OS are you using ? Here it says Debian 6
http://www.linuxquestions.org/questi...ight-913696/#1

( Debian 6 default = git 1:1.7.2.5-3
Debian 6 backports : git 1:1.7.7.3-1~bpo60+2
http://packages.debian.org/squeeze-backports/git )

..
 
Old 01-08-2012, 04:19 PM   #3
Abscissa256
Member
 
Registered: Aug 2011
Posts: 79

Original Poster
Rep: Reputation: Disabled
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.
 
Old 01-08-2012, 04:34 PM   #4
Abscissa256
Member
 
Registered: Aug 2011
Posts: 79

Original Poster
Rep: Reputation: Disabled
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").

Well, mystery apparently solved.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Problem with git after upgrade davebamford Debian 3 01-17-2012 04:50 PM
[SOLVED] Can't install Git repo (I don't git git ) Nemus Linux - Software 3 05-20-2011 02:09 PM
How to upgrade git on CentOS 5 beyond the latest official release bart128 Linux - Distributions 4 02-25-2010 04:08 PM
LXer: Why Dell Should Upgrade Past Ubuntu 8.04 LTS LXer Syndicated Linux News 0 04-16-2009 09:12 PM
LXer: Why Dell Should Upgrade Past Ubuntu 8.04 LTS LXer Syndicated Linux News 0 04-16-2009 07:01 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 11:46 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration