Skip to content

Instantly share code, notes, and snippets.

@dcorking
Created December 10, 2014 11:35
Show Gist options
  • Save dcorking/44a514b2e0ad828fd595 to your computer and use it in GitHub Desktop.
Save dcorking/44a514b2e0ad828fd595 to your computer and use it in GitHub Desktop.
Vagrant 1.6.5 works with Fedora 20 but Vagrant 1.7 and Vagrant 1.5 giving problems
###################################################################
### vagrant_1.5.4_x86_64.rpm
###################################################################
david1@localhost:~$ cd ~/workspace/24pullrequests/
david1@localhost:~/workspace/24pullrequests (master)$ vagrant up
Bringing machine 'default' up with 'virtualbox' provider...
==> default: Box 'ubuntu/trusty64' could not be found. Attempting to find and install...
default: Box Provider: virtualbox
default: Box Version: >= 0
==> default: Loading metadata for box 'ubuntu/trusty64'
default: URL: https://vagrantcloud.com/ubuntu/trusty64
==> default: Adding box 'ubuntu/trusty64' (v14.04) for provider: virtualbox
default: Downloading: https://vagrantcloud.com/ubuntu/boxes/trusty64/versions/14.04/providers/virtualbox.box
An error occurred while downloading the remote file. The error
message, if any, is reproduced below. Please fix this error and try
again.
The requested URL returned error: 404 Not Found
david1@localhost:~/workspace/24pullrequests (master)$ which vagrant
/usr/bin/vagrant
david1@localhost:~/workspace/24pullrequests (master)$ rpm -qf `which vagrant`
vagrant-1.5.4-1.x86_64
david1@localhost:~/workspace/24pullrequests (master)$ sudo yum update vagrant
[sudo] password for david1:
Sorry, try again.
[sudo] password for david1:
Sorry, try again.
[sudo] password for david1:
Loaded plugins: langpacks, refresh-packagekit
adobe-linux-i386 | 951 B 00:00
adobe-linux-x86_64 | 951 B 00:00
google-chrome | 951 B 00:00
google-earth | 951 B 00:00
google-talkplugin | 951 B 00:00
rpmfusion-free-updates | 3.3 kB 00:00
updates/20/x86_64/metalink | 27 kB 00:00
virtualbox | 951 B 00:00
google-chrome/primary FAILED
http://dl.google.com/linux/chrome/rpm/stable/x86_64/repodata/primary.xml.gz: [Errno -1] Metadata file does not match checksum
Trying other mirror.
No packages marked for update
###################################################################
### vagrant_1.7.0_x86_64.rpm
###################################################################
david1@localhost:~/workspace/24pullrequests (master)$ vagrant up
Vagrant experienced a version conflict with some installed plugins!
This usually happens if you recently upgraded Vagrant. As part of the
upgrade process, some existing plugins are no longer compatible with
this version of Vagrant. The recommended way to fix this is to remove
your existing plugins and reinstall them one-by-one. To remove all
plugins:
rm -r ~/.vagrant.d/plugins.json ~/.vagrant.d/gems
Note if you have an alternate VAGRANT_HOME environmental variable
set, the folders above will be in that directory rather than your
user's home directory.
The error message is shown below:
Bundler could not find compatible versions for gem "rest-client":
In Gemfile:
vagrant-share (>= 0) ruby depends on
rest-client (~> 1.6.0) ruby
vagrant (= 1.7.0) ruby depends on
rest-client (1.7.2)
david1@localhost:~/workspace/24pullrequests (master)$
david1@localhost:~$ cd ~/workspace/24pullrequests/
david1@localhost:~/workspace/24pullrequests (master)$ vagrant up
Vagrant experienced a version conflict with some installed plugins!
This usually happens if you recently upgraded Vagrant. As part of the
upgrade process, some existing plugins are no longer compatible with
this version of Vagrant. The recommended way to fix this is to remove
your existing plugins and reinstall them one-by-one. To remove all
plugins:
rm -r ~/.vagrant.d/plugins.json ~/.vagrant.d/gems
Note if you have an alternate VAGRANT_HOME environmental variable
set, the folders above will be in that directory rather than your
user's home directory.
The error message is shown below:
Bundler could not find compatible versions for gem "rest-client":
In Gemfile:
vagrant-share (>= 0) ruby depends on
rest-client (~> 1.6.0) ruby
vagrant (= 1.7.0) ruby depends on
rest-client (1.7.2)
david1@localhost:~/workspace/24pullrequests (master)$ echo $VAGRANT_HOME
david1@localhost:~/workspace/24pullrequests (master)$ ls ~/.vagrant.d/plugins.json
/home/david1/.vagrant.d/plugins.json
david1@localhost:~/workspace/24pullrequests (master)$ ls -lah ~/.vagrant.d/plugins.json
-rw-r--r--. 1 david1 david1 141 Aug 4 08:58 /home/david1/.vagrant.d/plugins.json
david1@localhost:~/workspace/24pullrequests (master)$ ls -lah ~/.vagrant.d/gems
total 18K
drwxrwxr-x. 9 david1 david1 1.0K Aug 4 08:58 .
drwxrwxr-x. 7 david1 david1 1.0K Dec 10 07:38 ..
drwxr-xr-x. 2 david1 david1 1.0K Aug 4 08:58 bin
drwxr-xr-x. 2 david1 david1 1.0K Aug 4 08:58 build_info
drwxr-xr-x. 2 david1 david1 1.0K Aug 4 08:58 cache
drwxr-xr-x. 2 david1 david1 1.0K Aug 4 08:58 doc
drwxr-xr-x. 10 david1 david1 1.0K Aug 4 08:58 gems
drwxrwxr-x. 3 david1 david1 1.0K May 2 2014 ruby
drwxr-xr-x. 2 david1 david1 1.0K Aug 4 08:58 specifications
david1@localhost:~/workspace/24pullrequests (master)$ ls -lah ~/.vagrant.d/gems/bin
total 10K
drwxr-xr-x. 2 david1 david1 1.0K Aug 4 08:58 .
drwxrwxr-x. 9 david1 david1 1.0K Aug 4 08:58 ..
-rwxr-xr-x. 1 david1 david1 450 Aug 4 08:58 rdoc
-rwxr-xr-x. 1 david1 david1 477 Aug 4 08:58 restclient
-rwxr-xr-x. 1 david1 david1 448 Aug 4 08:58 ri
david1@localhost:~/workspace/24pullrequests (master)$ ls -lah ~/.vagrant.d/gems/gems
total 20K
drwxr-xr-x. 10 david1 david1 1.0K Aug 4 08:58 .
drwxrwxr-x. 9 david1 david1 1.0K Aug 4 08:58 ..
drwxr-xr-x. 4 david1 david1 1.0K Aug 4 08:58 childprocess-0.5.3
drwxr-xr-x. 5 david1 david1 1.0K Aug 4 08:58 i18n-0.6.11
drwxr-xr-x. 9 david1 david1 1.0K Aug 4 08:58 json-1.8.1
drwxr-xr-x. 5 david1 david1 1.0K Aug 4 08:58 mime-types-1.25.1
drwxr-xr-x. 5 david1 david1 1.0K Aug 4 08:58 rdoc-4.1.1
drwxr-xr-x. 5 david1 david1 1.0K Aug 4 08:58 rest-client-1.6.8
drwxr-xr-x. 5 david1 david1 1.0K Aug 4 08:58 vagrant-omnibus-1.4.1
drwxr-xr-x. 5 david1 david1 1.0K Aug 4 08:58 vagrant-share-1.1.0
david1@localhost:~/workspace/24pullrequests (master)$ rm -r ~/.vagrant.d/plugins.json ~/.vagrant.d/gems
david1@localhost:~/workspace/24pullrequests (master)$ vagrant up
Vagrant experienced a version conflict with some installed plugins!
This usually happens if you recently upgraded Vagrant. As part of the
upgrade process, some existing plugins are no longer compatible with
this version of Vagrant. The recommended way to fix this is to remove
your existing plugins and reinstall them one-by-one. To remove all
plugins:
rm -r ~/.vagrant.d/plugins.json ~/.vagrant.d/gems
Note if you have an alternate VAGRANT_HOME environmental variable
set, the folders above will be in that directory rather than your
user's home directory.
The error message is shown below:
Bundler could not find compatible versions for gem "rest-client":
In Gemfile:
vagrant (= 1.7.0) ruby depends on
rest-client (~> 1.7) ruby
vagrant-share (>= 0) ruby depends on
rest-client (1.6.8)
david1@localhost:~/workspace/24pullrequests (master)$ vagrant plugin install rest-client
Vagrant experienced a version conflict with some installed plugins!
This usually happens if you recently upgraded Vagrant. As part of the
upgrade process, some existing plugins are no longer compatible with
this version of Vagrant. The recommended way to fix this is to remove
your existing plugins and reinstall them one-by-one. To remove all
plugins:
rm -r ~/.vagrant.d/plugins.json ~/.vagrant.d/gems
Note if you have an alternate VAGRANT_HOME environmental variable
set, the folders above will be in that directory rather than your
user's home directory.
The error message is shown below:
Bundler could not find compatible versions for gem "rest-client":
In Gemfile:
vagrant (= 1.7.0) ruby depends on
rest-client (~> 1.7) ruby
vagrant-share (>= 0) ruby depends on
rest-client (1.6.8)
david1@localhost:~/workspace/24pullrequests (master)$
david1@localhost:~/Downloads$ sudo yum erase vagrant
Loaded plugins: langpacks, refresh-packagekit
Resolving Dependencies
--> Running transaction check
---> Package vagrant.x86_64 1:1.7.0-1 will be erased
--> Finished Dependency Resolution
Dependencies Resolved
================================================================================
Package Arch Version Repository Size
================================================================================
Removing:
vagrant x86_64 1:1.7.0-1 @/vagrant_1.7.0_x86_64 160 M
Transaction Summary
================================================================================
Remove 1 Package
Installed size: 160 M
Is this ok [y/N]: y
Downloading packages:
Running transaction check
Running transaction test
Transaction test succeeded
Running transaction (shutdown inhibited)
Erasing : 1:vagrant-1.7.0-1.x86_64 1/1
Verifying : 1:vagrant-1.7.0-1.x86_64 1/1
Removed:
vagrant.x86_64 1:1.7.0-1
Complete!
david1@localhost:~/Downloads$ sudo yum install ./vagrant_1.6.5_x86_64.rpm Loaded plugins: langpacks, refresh-packagekit
Examining ./vagrant_1.6.5_x86_64.rpm: 1:vagrant-1.6.5-1.x86_64
Marking ./vagrant_1.6.5_x86_64.rpm to be installed
Resolving Dependencies
--> Running transaction check
---> Package vagrant.x86_64 1:1.6.5-1 will be installed
--> Finished Dependency Resolution
Dependencies Resolved
================================================================================
Package Arch Version Repository Size
================================================================================
Installing:
vagrant x86_64 1:1.6.5-1 /vagrant_1.6.5_x86_64 153 M
Transaction Summary
================================================================================
Install 1 Package
Total size: 153 M
Installed size: 153 M
Is this ok [y/d/N]: y
Downloading packages:
Running transaction check
Running transaction test
Transaction test succeeded
Running transaction (shutdown inhibited)
Installing : 1:vagrant-1.6.5-1.x86_64 1/1
Verifying : 1:vagrant-1.6.5-1.x86_64 1/1
Installed:
vagrant.x86_64 1:1.6.5-1
Complete!
david1@localhost:~/Downloads$
###################################################################
### vagrant_1.6.5_x86_64.rpm
########## Yes! Vagrant 1.6 seems to work ok ###############
###################################################################
david1@localhost:~$ cd ~/workspace/24pullrequests/
david1@localhost:~/workspace/24pullrequests (master)$ vagrant up
Bringing machine 'default' up with 'virtualbox' provider...
==> default: Box 'ubuntu/trusty64' could not be found. Attempting to find and install...
default: Box Provider: virtualbox
default: Box Version: >= 0
==> default: Loading metadata for box 'ubuntu/trusty64'
default: URL: https://vagrantcloud.com/ubuntu/trusty64
==> default: Adding box 'ubuntu/trusty64' (v14.04) for provider: virtualbox
default: Downloading: https://vagrantcloud.com/ubuntu/boxes/trusty64/versions/14.04/providers/virtualbox.box
default: Progress: 0% (Rate: 528k/s, Estimated time remaining: 1:03:42)^C==> default: Waiting for cleanup before exiting...
==> default: Box download was interrupted. Exiting.
The box failed to unpackage properly. Please verify that the box
file you're trying to add is not corrupted and try again. The
output from attempting to unpackage (if any):
x box.ovf
x Vagrantfile
x box-disk1.vmdk: Truncated tar archive
bsdtar: Error exit delayed from previous errors.
### I interrupted on purpose in order to do box download off peak
david1@localhost:~$ vagrant plugin list
vagrant-login (1.0.1, system)
vagrant-share (1.1.1, system)
david1@localhost:~$
david1@localhost:~$ rpm -pqi ~/Downloads/vagrant_1.7.0_x86_64.rpm
Name : vagrant
Epoch : 1
Version : 1.7.0
Release : 1
Architecture: x86_64
Install Date: (not installed)
Group : default
Size : 167264606
License : MIT
Signature : (none)
Source RPM : vagrant-1.7.0-1.src.rpm
Build Date : Wed 10 Dec 2014 11:27:17 GMT
Build Host : vagrant-package-centos-64
Relocations : /
Packager : HashiCorp <[email protected]>
Vendor : root@vagrant-package-centos-64
URL : http://www.vagrantup.com
Summary : Vagrant is a tool for building and distributing development environments.
Description :
Vagrant is a tool for building and distributing development environments.
david1@localhost:~$ md5sum ~/Downloads/vagrant_1.7.0_x86_64.rpm
884577da00791f374f13fa1a11b726c1 /home/david1/Downloads/vagrant_1.7.0_x86_64.rpm
david1@localhost:~$
## RPM timestamp from the future?
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment