I am trying to install unzip and vsftpd on my lamp server on my aws instance, but attempting to install anything results in the following error:
$ sudo apt-get install vsftpd
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following NEW packages will be installed:
vsftpd
0 upgraded, 1 newly installed, 0 to remove and 82 not upgraded.
Need to get 111 kB of archives.
After this operation, 361 kB of additional disk space will be used.
Err http://ap-southeast-1.ec2.archive.ubuntu.com/ubuntu/ trusty-updates/main vsftpd amd64 3.0.2-1ubuntu2.14.04.1
Could not resolve 'ap-southeast-1.ec2.archive.ubuntu.com'
E: Failed to fetch http://ap-southeast-1.ec2.archive.ubuntu.com/ubuntu/pool/main/v/vsftpd/vsftpd_3.0.2-1ubuntu2.14.04.1_amd64.deb Could not resolve 'ap-southeast-1.ec2.archive.ubuntu.com'
E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?
I've tried apt-get update and --fix-missing but still unable to install anything new.
The version details are as follows:
$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 14.04 LTS
Release: 14.04
Codename: trusty
Could not resolve 'ap-southeast-1.ec2.archive.ubuntu.com'
is self explanatory.