boxen / puppet-mongodb

MIT License
9 stars 35 forks source link

Mongodb updating to unknown version #18

Closed tarebyte closed 10 years ago

tarebyte commented 10 years ago

So every time I try to run boxen I'm running into an issue where mongo is trying to install an unknown version of mongodb-2.6.0-boxen.

Any thoughts? I'll keep trying to track it down.

Error: Could not update: Execution of 'brew boxen-upgrade boxen/brews/mongodb' returned 1: Error: mongodb-2.6.0-boxen1_1 already installed

Error: /Stage[main]/Mongodb::Package/Package[boxen/brews/mongodb]/ensure: change from 2.6.0-boxen1_1 to 2.6.0-boxen1 failed: Could not update: Execution of 'brew boxen-upgrade boxen/brews/mongodb' returned 1: Error: mongodb-2.6.0-boxen1_1 already installed

Notice: /Stage[main]/Mongodb::Service/Service[com.boxen.mongodb]: Dependency Package[boxen/brews/mongodb] has failures: true

Warning: /Stage[main]/Mongodb::Service/Service[com.boxen.mongodb]: Skipping because of failed dependencies

Notice: /Stage[main]/Mongodb::Service/Service[dev.mongodb]: Dependency Package[boxen/brews/mongodb] has failures: true

Warning: /Stage[main]/Mongodb::Service/Service[dev.mongodb]: Skipping because of failed dependencies
MatthewHager commented 10 years ago

I'm having this same issue. Did you ever get it resolved?

tarebyte commented 10 years ago

Not yet, I'm still trying to track it, down. I'm not sure what's going on.

@fromonesrc any ideas?

MatthewHager commented 10 years ago

I finally ran brew remove --force mongo and then ran boxen and it ran fine. Not sure what the underlying issue is here but this will at least get you past it.

tarebyte commented 10 years ago

If you run boxen a second time does the issue resurface?

tarebyte commented 10 years ago

@MatthewHager I fixed the issue, I just need it to be merged in. Turns out that the revision: 1 flag was adding an _1 to the version name thus breaking boxen.