bjori / vagrant-mongodb

Bootstrap multiple MongoDBs VMs (replicaset w/o auth, standalone w/o auth). Useful for developing locally
25 stars 9 forks source link

Error messages #1

Closed hansnilsson closed 11 years ago

hansnilsson commented 12 years ago

Running $ vagrant up primary secondary tertiary this comes up for every instance.

err: /Stage[main]/Mongodb/Package[python-software-properties]/ensure: change from purged to present failed: Execution of '/usr/bin/apt-get -q -y -o DPkg::Options::=--force-confold install python-software-properties' returned 100: Reading package lists... Building dependency tree... Reading state information... The following extra packages will be installed: python-pycurl unattended-upgrades Suggested packages: libcurl4-gnutls-dev python-pycurl-dbg bsd-mailx The following NEW packages will be installed: python-pycurl python-software-properties unattended-upgrades 0 upgraded, 3 newly installed, 0 to remove and 36 not upgraded. Need to get 112kB of archives. After this operation, 1659kB of additional disk space will be used. Get:1 http://us.archive.ubuntu.com/ubuntu/ lucid-updates/main unattended-upgrades 0.55ubuntu7 [21.2kB] Get:2 http://us.archive.ubuntu.com/ubuntu/ lucid/main python-pycurl 7.19.0-3 [60.1kB] Err http://us.archive.ubuntu.com/ubuntu/ lucid-updates/main python-software-properties 0.75.10.2 404 Not Found [IP: 91.189.91.14 80] Err http://security.ubuntu.com/ubuntu/ lucid-security/main python-software-properties 0.75.10.2 404 Not Found [IP: 91.189.92.190 80] Failed to fetch http://security.ubuntu.com/ubuntu/pool/main/s/software-properties/python-software-properties_0.75.10.2_all.deb 404 Not Found [IP: 91.189.92.190 80] Fetched 81.3kB in 1s (69.0kB/s) E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?

bjori commented 12 years ago

Looks like the internet connection from the vm is broken? Are you running some local firewalls or anything?

hansnilsson commented 12 years ago

Hmm, didn't think to check that. I'm not using any firewalls or similar, just plain OSX. I'll investigate a bit.

hansnilsson commented 12 years ago

The problem isn't the connection, that works just fine. I can ssh into the primary, and run each command manually. I do need to do an apt-get update first though, otherwise the python-software-properties will fail, so it might be that that's the problem.

bjori commented 11 years ago

Thanks to @jbrinksmeier for the fix!