According to this post unable to fetch some archives 404 not found, running
sudo apt-get install apache2 php5 libapache2-mod-php5 -y won't work because of a bad mirror. I get the same errors.
How can I install a package when this is happening? Is it possible to install it from another place?