-
Notifications
You must be signed in to change notification settings - Fork 848
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Vagrant provision #1790
Comments
The master branch does not work at the moment and there is no easy fix or
work around.
Instead, backup your database, switch to the develop branch and do a
vagrant destroy followed by a provision
…On Thu, 9 May 2019 at 12:13, gecanben ***@***.***> wrote:
Expected Behavior Current Behavior
Running vagrant up ends with following error:
default: Reading package lists...
default: Installing apt-get packages...
default: Reading package lists...
default: Building dependency tree...
default: Reading state information...
default: E
default: :
default: Unable to locate package php7.2-fpm
default: E
default: :
default: Couldn't find any package by regex 'php7.2-fpm'
default: E
default: :
default: Unable to locate package php7.2-cli
default: E
default: :
default: Couldn't find any package by regex 'php7.2-cli'
default: E
default: :
default: Unable to locate package php7.2-common
default: E
default: :
default: Couldn't find any package by regex 'php7.2-common'
default: E
default: :
default: Unable to locate package php7.2-dev
default: E
default: :
default: Couldn't find any package by regex 'php7.2-dev'
default: E: Unable to locate package php-imagick
default: E: Unable to locate package php-memcache
default: E: Unable to locate package php-memcached
default: E: Unable to locate package php-ssh2
default: E: Unable to locate package php-xdebug
default: E: Unable to locate package php7.2-bcmath
default: E: Couldn't find any package by regex 'php7.2-bcmath'
default: E: Unable to locate package php7.2-curl
default: E: Couldn't find any package by regex 'php7.2-curl'
default: E: Unable to locate package php7.2-gd
default: E: Couldn't find any package by regex 'php7.2-gd'
default: E: Unable to locate package php7.2-mbstring
default: E: Couldn't find any package by regex 'php7.2-mbstring'
default: E: Unable to locate package php7.2-mysql
default: E: Couldn't find any package by regex 'php7.2-mysql'
default: E: Unable to locate package php7.2-imap
default: E: Couldn't find any package by regex 'php7.2-imap'
default: E: Unable to locate package php7.2-json
default: E: Couldn't find any package by regex 'php7.2-json'
default: E: Unable to locate package php7.2-soap
default: E: Couldn't find any package by regex 'php7.2-soap'
default: E: Unable to locate package php7.2-xml
default: E: Couldn't find any package by regex 'php7.2-xml'
default: E: Unable to locate package php7.2-zip
default: E: Couldn't find any package by regex 'php7.2-zip'
default: Main packages check and install failed, halting provision
The SSH command responded with a non-zero exit status. Vagrant
assumes that this means the command failed. The output for this command
should be in the log above. Please read the output to determine what
went wrong.
Possible Solution Steps to Reproduce (for bugs)
1. Installed vvv through git.
2. Ran vagrant up
3.
4.
Context
Tried in different directories with same result. Uninstalled and
reinstalled Vagrant and Virtualbox with same result.
Your Environment
- VVV version: 2.6.0
- VVV Git Branch: master
- Vagrant version: 2.2.4
- VM Provider name: Virtualbox
- VM Provider version: 6.0.6r130049
- Operating System and version: Windows 7 SP1
platform-mingw32 windows HasWinAdminPriv vagrant-hostsupdater
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#1790>, or mute
the thread
<https://github.com/notifications/unsubscribe-auth/AAAOLZ6IGLR4RFSSIGNSEJLPUQBMXANCNFSM4HLZQRDA>
.
|
I am having this issue too, do you mind tell why is this happening? I was using vvv 2.1.0 and the provision was working, until today I updated vvv and provisioned, then this issue happened, and when I trying to get back to 2.1.0, and the error changed to "unable to locate php7.0-fpm", going crazy... It doesn't look like a bug in your vagrant file, but more like something goes wrong in the apt repository. |
VVV 2.x uses an Ubuntu 14 box, and Ondrej PHP packages which was fine for a long time. Last week, Ubuntu 14 reached end of support, and Ondrej deleted all the PHP packages for Ubuntu 14, he only keeps packages for supported versions. That's why the provisioner can't find them and fails. We thought we'd mirrored all the packages to a VVV apt repo, but it turns out we're missing a handful of important ones which no longer exist 😢. We're in the process of ironing out the kinks in VVV 3 on the To switch to VVV3, backup your database if you haven't already ( VVV does this for you when you run |
Ah sad, thanks a lot and really appreciate your work, it's great work. |
Thank you very much. |
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
Expected Behavior
Current Behavior
Running vagrant up ends with following error:
The SSH command responded with a non-zero exit status. Vagrant
assumes that this means the command failed. The output for this command
should be in the log above. Please read the output to determine what
went wrong.
Possible Solution
Steps to Reproduce (for bugs)
Context
Tried in different directories with same result. Uninstalled and reinstalled Vagrant and Virtualbox with same result.
Your Environment
platform-mingw32 windows HasWinAdminPriv vagrant-hostsupdater
The text was updated successfully, but these errors were encountered: