Error Installing Git with Apt-Get

Just in case: it is apt-get install git-core, not just apt-get install git.


Alright, I got it fixed. I had to manually remove the package and then force dpkg to clear itself. Afterwards I installed it from git-core and that worked fine. To manually remove the package I went to

/var/cache/apt/archives

And removed git_1%3a1.7.4.1-3_i386.deb file. After that I went to

/var/lib/dpkg/info

And did an ls | grep git and removed everything that turned up. Afterwards, I ran

sudo dpkg --remove --force-remove-reinstreq git

To clean dpkg of the package. Once that was done I was able to install git from git-core instead of the git package and it worked just fine.

Tags:

Git

Apt