I am trying to install packages using apt-get
:
root@ubuntu:/# sudo apt-get install build-essential libssl-dev libcurl4-gnutls-dev libexpat1-dev gettext unzip
Reading package lists... Done
Building dependency tree
Reading state information... Done
Package libcurl4-gnutls-dev 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: Unable to locate package build-essential
E: Unable to locate package libssl-dev
E: Package 'libcurl4-gnutls-dev' has no installation candidate
E: Unable to locate package libexpat1-dev
E: Unable to locate package gettext
E: Unable to locate package unzip
My main goal is to install package make
, which I need to manually install a lower version of PHP
This is what happened:
root@ubuntu:~/php-5.4.31# make
The program 'make' is currently not installed. You can install it by typing:
apt-get install make
And then I go on and do apt-get install make
root@ubuntu:/# apt-get install make
Reading package lists... Done
Building dependency tree
Reading state information... Done
Package make 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 'make' has no installation candidate
I am running Ubuntu 14.04.1 LTS on a virtual machine (Hyper-V) if that helps
sources.list
, look at How do I restore the default repositories? for ways to restore your source settings – Sylvain Pineau Jul 31 '14 at 21:12