I ran the following commands on linux mint 12 lisa: I am getting the following error on running 3. That is, installing git: My /etc/apt/sources.list file contains the following content: sudo apt-get upgrade shows the following: Answer You need to install aptitude first. then install git using the command