Pages

Thursday, October 9, 2014

Fixing the apt-get problem in freshly installed Ubuntu

Hello Everyone,

Recently I installed Ubuntu 14. It was a long time I was installing any linux on my system. The installation from pendrive was also so happy-go-lucky.

Anyways, somehow I installed the Ubuntu 14. And then I wanted to install some packages from third party- like Git.

"sudo apt-get install git-core" was the first thing I did and it did not work. It was giving error that "git-core has no installation candidate". I did a little research on internet but in vain.

Then I just opened the /etc/apt/sources.list file and uncommented the third party packages related lines--

deb http://archive.canonical.com/ubuntu trusty partner
deb-src http://archive.canonical.com/ubuntu trusty partner
And voila! it worked.