Tuesday, February 12, 2019

14.04 - How to upgrade my git to latest version

running:
ubuntu 14.04 trusty 64bit.



My current version is:




itamar /v/l/a/lists λ git --version
git version 1.9.1


I tried: sudo apt-get update; sudo apt-get install git and it didn't work.



I tried: sudo apt-get purge git; sudo apt-get install git and still it installed 1.9.1.



not just that, somehow it uninstalled Atom and Nylas along with git and some other git related packages. I would love to know why it did that also. Below is the output from the purge process.




itamar ~ λ sudo apt-get purge git
[sudo] password for itamar:
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages will be REMOVED:
atom* git* git-cola* git-core* gitk* nylas*
0 upgraded, 0 newly installed, 6 to remove and 0 not upgraded.
After this operation, 543 MB disk space will be freed.
Do you want to continue? [Y/n] y

(Reading database ... 332614 files and directories currently installed.)
Removing atom (1.8.0) ...
dpkg: warning: while removing atom, directory '/usr/share/atom/resources/app/apm' not empty so not removed
Removing nylas (0.4.49) ...
Purging configuration files for nylas (0.4.49) ...
Removing git-cola (1.9.3-1) ...
Purging configuration files for git-cola (1.9.3-1) ...
Removing gitk (1:1.9.1-1ubuntu0.3) ...
Removing git-core (1:1.9.1-1ubuntu0.3) ...
Removing git (1:1.9.1-1ubuntu0.3) ...

Purging configuration files for git (1:1.9.1-1ubuntu0.3) ...
Processing triggers for gnome-menus (3.10.1-0ubuntu2) ...
Processing triggers for desktop-file-utils (0.22-1ubuntu1) ...
Processing triggers for bamfdaemon (0.5.1+14.04.20140409-0ubuntu1) ...
Rebuilding /usr/share/applications/bamf-2.index...
Processing triggers for mime-support (3.54ubuntu1.1) ...
Processing triggers for hicolor-icon-theme (0.13-1) ...
Processing triggers for man-db (2.6.7.1-1ubuntu1) ...

No comments:

Post a Comment

11.10 - Can't boot from USB after installing Ubuntu

I bought a Samsung series 5 notebook and a very strange thing happened: I installed Ubuntu 11.10 from a usb pen drive but when I restarted (...