linux - Unable to install git -
i ran following commands on linux mint 12 lisa:
1). sudo rm -rf /var/lib/apt/lists/* -vf 2). sudo apt-get update 3). sudo apt-get install git
i getting following error on running 3. is, installing git:
reading package lists... done building dependency tree reading state information... done e: unable locate package git
my /etc/apt/sources.list file contains following content:
deb http://packages.linuxmint.com/ lisa main upstream import deb http://archive.ubuntu.com/ubuntu/ oneiric main restricted universe multiverse deb http://archive.ubuntu.com/ubuntu/ oneiric-updates main restricted universe multiverse deb http://security.ubuntu.com/ubuntu/ oneiric-security main restricted universe multiverse deb http://archive.canonical.com/ubuntu/ oneiric partner deb http://packages.medibuntu.org/ oneiric free non-free # deb http://archive.getdeb.net/ubuntu oneiric-getdeb apps # deb http://archive.getdeb.net/ubuntu oneiric-getdeb games
sudo apt-get upgrade shows following:
reading package lists... done building dependency tree reading state information... done 0 upgraded, 0 newly installed, 0 remove , 0 not upgraded.
you need install aptitude first.
sudo apt-get install aptitude
then install git using command
sudo aptitude install git
Comments
Post a Comment