Comments (6)
Looks like the same dependency problem i'd here: #8
Try to use this command in the guest (using vagrant ssh
):
sudo apt-get install -f
then restart provisioning using vagrant provision
from trellis.
Thanks @starise this got me going in the right direction to get past this. I actually had to vagrant halt
then vagrant up
again, and then was able to vagrant ssh
and run sudo apt-get install -f
then exit out of SSH and run vagrant provision
and it finally got it to provision correctly. Would definitely be nice to not have to do the extra steps though. Figured I'd leave my comment in case someone else comes across here with the same problem though.
from trellis.
@mwalters @starise @ionutzp would be helpful to know if you're using the latest version/commit of this playbook. And also if you're using the (now) default base of roots/bedrock
, or a default Ubuntu 14.04 Trusty, or the old Ubuntu 12.04.
Also what host you're running Ansible from (Linux or OSX) or if you're using it within a shell script from Windows.
from trellis.
@swalkinshaw Sorry for the lack of detail in my previous post, hope this helps:
- I'm using OSX
- I just installed for the first time today, so I cloned the repository around 1-2 hours ago. Only changes I made to it were for setting the domain to
testing.dev
. I'm going super vanilla with this and the roots/bedrock repo just to learn how it works before I try implementing it. - I am using
roots/bedrock
for the default base box.
Not sure if it would help/matter, but I am on Vagrant 1.6.1. I also had to install Ansible on the host machine to get this all working, so that was just installed today as well and is on version 1.6.1.
When I initially ssh'd in to the VM to run sudo apt-get install -f
I noticed it was saying a system restart was required, so that's why I halted and re-up'd. After the box came back up I tried to reprovision it before SSH'ing in, in case that fixed it, but it failed with the same error that @ionutzp mentions above. I then ssh'd in, ran the apt-get install, and then was able to successfully provision.
from trellis.
same as @mwalters here: osx, latest version, default roots/bedrock box
from trellis.
This was a fairly dumb error looking back. Fixed as of a5962e9 and I also published a new 0.2.0
version.
apt-get upgrade
was being run by default as part of the provision but it shouldn't be because it causes errors like this as packages get upgraded to different versions and could cause conflicts. Basically the goal of any project like this should be to have consistent/deterministic package states and upgrading them breaks that.
from trellis.
Related Issues (20)
- Setup Renovate to automatically bump Ansible Galaxy roles HOT 1
- Feature Request: Support Ubuntu 22 deployments HOT 1
- Default mount type and slow VM HOT 6
- Action Required: Fix Renovate Configuration
- Feature Request: re-enable php opcache for dev-environments? HOT 4
- Bug: ERROR! couldn't resolve module/action 'community.general.alternatives' HOT 1
- Bug: uploads subfolders ownership HOT 1
- Bug: the role 'mailhog' was not found HOT 1
- Bug: MariaDB Serversetup skipped if we want to create multiple sites with remote db and local db
- Bug: `Check whether Ansible can connect as <user>` – passes when SSH connection fails HOT 2
- Bug: composer auth during wordpress install has loop var conflict HOT 1
- Bug: TLS 1.3 not working HOT 4
- Bug: latest curl version fails to retrieve urls on trellis managed hosts
- Feature Request: switch from ssmtp to msmtp
- Personal Data in Commit HOT 4
- Vagrant box with Ubuntu 22.04 on Apple silicon won't start HOT 2
- cron missing HOT 12
- 💡 Feature Request: Add ability to use vault pass lookup plugins by default. HOT 3
- PHP `8`: Enable `JIT` (`PHP` `INI` option) HOT 4
- Can't install galaxy dependencies on Python 3.12 HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from trellis.