I am running ubuntu 10.10 64bit using the stock ami on a micro ec2, when i try to install apache i get
sudo: apt-get: command not found
is the apt package not installed on the EC2 AMIs?
if so how do i get apt back or work around it?
amazon ec2ubuntu-10.10
I am running ubuntu 10.10 64bit using the stock ami on a micro ec2, when i try to install apache i get
sudo: apt-get: command not found
is the apt package not installed on the EC2 AMIs?
if so how do i get apt back or work around it?
Best Answer
It could be a path issue try
sudo /usr/bin/apt-get ...
You can set the path that sudo will search with the
secure_path
directive in the sudoers file