Wednesday, March 12, 2008

Able to install automake and autoconf

After upgrading to the latest Ubuntu and trying to set up a development environment,  the command "sudo apt-get install automake autoconf" returns the following:

Reading package lists... Done
Building dependency tree... Done
Package autoconf is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
E: Package autoconf has no installation candidate

To solve the problem I had to hack the /etc/apt/sources.list which had incorrect entries for the package info (it first points to the install CD). I uncommented the internet sources and fixed each one individually by checking the proper paths to the repositories.

Some hints:

Back up the sources.list you got from this tutorial with this command: sudo cp /etc/apt/sources.list /etc/apt/sources.list_backup

Then edit the sources.list by typing sudo gedit /etc/apt/sources.list

Get your updates using the command sudo apt-get update

Source


No comments: