I tried installing git
on Ubuntu 12.10 using the command sudo apt-get install git
. But I am getting error message like this:
Readin
The git package should be installable. In principle if something like this occurs, you should verify the following.
Make sure that the contents of your /etc/apt/sources.list
file is sane. It should contain something like 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 multiverse
Make sure you have run apt-get update
before trying to install git.
Note that the above sources.list is for precise (12.04). 12.10 is called quantal. But note that 12.10 is not supported any more (EOL was May 2014 - see here). So the solution to your problem might be that the package sources for 12.10 don't exist any more on the server, so the message is in fact correct: on the server there simply is no candidate any more...
The solution would then be to upgrade to at least the next LTS version (14.04).