Hello,
I can’t find anything through google or stackoverflow that has a working solution to this problem, so I figured I’d post here and see if I can get any traction.
I’m trying to do a fresh install on this vagrant box. Ive got everything working fine except for the IMAP module. This is a screenshot of my setup screen with the error.
The problem is I’m catching a 404 error when I try to use
sudo apt-get install php5-imap
. I’ve tried adding the
--fix-missing
argument, but it doesn’t help.
Here is the log from my console with the error.
vagrant@scotchbox:/etc/php5/apache2$ sudo apt-get install php5-imap
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following NEW packages will be installed:
php5-imap
0 upgraded, 1 newly installed, 0 to remove and 250 not upgraded.
2 not fully installed or removed.
Need to get 30.2 kB of archives.
After this operation, 155 kB of additional disk space will be used.
WARNING: The following packages cannot be authenticated!
php5-imap
Install these packages without verification? [y/N] y
Err http://ppa.launchpad.net/ondrej/php5-5.6/ubuntu/ trusty/main php5-imap amd64 5.6.14+dfsg-1+deb.sury.org~trusty+1
404 Not Found
E: Failed to fetch http://ppa.launchpad.net/ondrej/php5-5.6/ubuntu/pool/main/p/php5/php5-imap_5.6.14+dfsg-1+deb.sury.org~trusty+1_amd64.deb 404 Not Found
E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?
vagrant@scotchbox:/etc/php5/apache2$ dpkg -i http://us.archive.ubuntu.com/ubuntu/pool/universe/p/php-imap/php-imap_5.3.5-0ubuntu2.dsc
dpkg: error: requested operation requires superuser privilege
vagrant@scotchbox:/etc/php5/apache2$ sudo dpkg -i http://us.archive.ubuntu.com/ubuntu/pool/universe/p/php-imap/php-imap_5.3.5-0ubuntu2.dsc
dpkg: error processing archive http://us.archive.ubuntu.com/ubuntu/pool/universe/p/php-imap/php-imap_5.3.5-0ubuntu2.dsc (--install):
cannot access archive: No such file or directory
Errors were encountered while processing:
http://us.archive.ubuntu.com/ubuntu/pool/universe/p/php-imap/php-imap_5.3.5-0ubuntu2.dsc
vagrant@scotchbox:/etc/php5/apache2$ sudo apt-get install php5-imap
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following NEW packages will be installed:
php5-imap
0 upgraded, 1 newly installed, 0 to remove and 250 not upgraded.
2 not fully installed or removed.
Need to get 30.2 kB of archives.
After this operation, 155 kB of additional disk space will be used.
WARNING: The following packages cannot be authenticated!
php5-imap
Install these packages without verification? [y/N] y
Err http://ppa.launchpad.net/ondrej/php5-5.6/ubuntu/ trusty/main php5-imap amd64 5.6.14+dfsg-1+deb.sury.org~trusty+1
404 Not Found
E: Failed to fetch http://ppa.launchpad.net/ondrej/php5-5.6/ubuntu/pool/main/p/php5/php5-imap_5.6.14+dfsg-1+deb.sury.org~trusty+1_amd64.deb 404 Not Found
E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?
Anyone have any idea what I can do to fix this?
Thanks in advance