Skip to content

Instantly share code, notes, and snippets.

@dracos
Last active August 29, 2015 14:08
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save dracos/c79478c72bc737109e0e to your computer and use it in GitHub Desktop.
Save dracos/c79478c72bc737109e0e to your computer and use it in GitHub Desktop.
The problems with packages
  • Ubuntu trusty:

vagrant@vagrant-ubuntu-trusty-32:$ sudo apt-get install ruby2.0 [...] The following NEW packages will be installed libruby1.9.1 libruby2.0 ruby ruby1.9.1 ruby2.0 rubygems-integration [...] vagrant@vagrant-ubuntu-trusty-32:$ ruby --version ruby 1.9.3p484 (2013-11-22 revision 43786) [x86_64-linux] vagrant@vagrant-ubuntu-trusty-32:~$ update-alternatives --config ruby update-alternatives: error: no alternatives for ruby


* Debian wheezy:

    ```
vagrant@localhost:~$ apt-cache depends bundler
bundler
 |Depends: ruby
    ruby1.8
  Depends: <ruby-interpreter>
    ruby1.8
    ruby1.9.1
vagrant@localhost:~$ sudo apt-get install ruby1.8
[...]
The following NEW packages will be installed:
  ruby1.8
[...]
vagrant@localhost:~$ sudo apt-get install bundler --dry-run
[...]
The following NEW packages will be installed:
  bundler ruby-dev ruby1.9.1 ruby1.9.1-dev rubygems-integration
[...]
vagrant@localhost:~$ sudo apt-get install bundler --dry-run --no-install-recommends
[...]
The following NEW packages will be installed:
  bundler
[...]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment