ubuntu - git installation error missing installation candidate -
i tried installing git on ubuntu 12.10 using command sudo apt-get install git. getting error message this:
reading package lists... done building dependency tree reading state information... done package git not available, referred package. may mean package missing, has been obsoleted, or available source e: package 'git' has no installation candidate what supposed further?
the git package should installable. in principle if occurs, should verify following.
make sure contents of
/etc/apt/sources.listfile sane. should contain this:deb http://archive.ubuntu.com/ubuntu precise main restricted universe multiverse deb http://archive.ubuntu.com/ubuntu precise-updates main restricted universe multiverse deb http://security.ubuntu.com/ubuntu precise-security main restricted universe multiversemake sure have run
apt-get updatebefore trying install git.
note above sources.list precise (12.04). 12.10 called quantal. note 12.10 not supported more (eol may 2014 - see here). solution problem might package sources 12.10 don't exist more on server, message in fact correct: on server there no candidate more...
the solution upgrade @ least next lts version (14.04).
Comments
Post a Comment