Skip to content

Instantly share code, notes, and snippets.

@ANeilan
Created June 17, 2017 18:56
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 ANeilan/a5b3ddc9091243ffb9a822bafe062cd4 to your computer and use it in GitHub Desktop.
Save ANeilan/a5b3ddc9091243ffb9a822bafe062cd4 to your computer and use it in GitHub Desktop.
+requirements_centos_libs_install:2> __rvm_try_sudo yum install -y openssl-devel
+__rvm_try_sudo:2> typeset -a command_to_run
+__rvm_try_sudo:3> typeset sudo_path sbin_path missing_paths
+__rvm_try_sudo:4> command_to_run=( yum install -y openssl-devel )
+__rvm_try_sudo:5> (( UID == 0 ))
+__rvm_try_sudo:6> case 4 (0)
+__rvm_try_sudo:6> case 4 (1)
+__rvm_try_sudo:6> case 4 (2)
+__rvm_try_sudo:6> case 4 (*)
+__rvm_try_sudo:21> is_a_function __rvm_sudo
+is_a_function:2> typeset -f __rvm_sudo
+__rvm_try_sudo:23> missing_paths=''
+__rvm_try_sudo:24> sbin_path=/sbin
+__rvm_try_sudo:26> [[ -d /sbin ]]
+__rvm_try_sudo:26> [[ :/usr/lib64/qt-3.3/bin:/usr/local/bin:/usr/local/sbin:/usr/bin:/usr/sbin:/home/aneilan/bin:/home/aneilan/.antigen/bundles/robbyrussell/oh-my-zsh/lib:/home/aneilan/.antigen/bundles/robbyrussell/oh-my-zsh/plugins/git:/home/aneilan/.antigen/bundles/robbyrussell/oh-my-zsh/plugins/pip:/home/aneilan/.antigen/bundles/robbyrussell/oh-my-zsh/plugins/command-not-found:/home/aneilan/.antigen/bundles/Tarrasch/zsh-autoenv:/home/aneilan/.antigen/bundles/zsh-users/zsh-syntax-highlighting:/home/aneilan/.rvm/bin:/home/aneilan/.rvm/bin: != *:/sbin:* ]]
+__rvm_try_sudo:27> missing_paths+=:/sbin
+__rvm_try_sudo:24> sbin_path=/usr/sbin
+__rvm_try_sudo:26> [[ -d /usr/sbin ]]
+__rvm_try_sudo:26> [[ :/usr/lib64/qt-3.3/bin:/usr/local/bin:/usr/local/sbin:/usr/bin:/usr/sbin:/home/aneilan/bin:/home/aneilan/.antigen/bundles/robbyrussell/oh-my-zsh/lib:/home/aneilan/.antigen/bundles/robbyrussell/oh-my-zsh/plugins/git:/home/aneilan/.antigen/bundles/robbyrussell/oh-my-zsh/plugins/pip:/home/aneilan/.antigen/bundles/robbyrussell/oh-my-zsh/plugins/command-not-found:/home/aneilan/.antigen/bundles/Tarrasch/zsh-autoenv:/home/aneilan/.antigen/bundles/zsh-users/zsh-syntax-highlighting:/home/aneilan/.rvm/bin:/home/aneilan/.rvm/bin: != *:/usr/sbin:* ]]
+__rvm_try_sudo:24> sbin_path=/usr/local/sbin
+__rvm_try_sudo:26> [[ -d /usr/local/sbin ]]
+__rvm_try_sudo:26> [[ :/usr/lib64/qt-3.3/bin:/usr/local/bin:/usr/local/sbin:/usr/bin:/usr/sbin:/home/aneilan/bin:/home/aneilan/.antigen/bundles/robbyrussell/oh-my-zsh/lib:/home/aneilan/.antigen/bundles/robbyrussell/oh-my-zsh/plugins/git:/home/aneilan/.antigen/bundles/robbyrussell/oh-my-zsh/plugins/pip:/home/aneilan/.antigen/bundles/robbyrussell/oh-my-zsh/plugins/command-not-found:/home/aneilan/.antigen/bundles/Tarrasch/zsh-autoenv:/home/aneilan/.antigen/bundles/zsh-users/zsh-syntax-highlighting:/home/aneilan/.rvm/bin:/home/aneilan/.rvm/bin: != *:/usr/local/sbin:* ]]
+__rvm_try_sudo:30> [[ -n :/sbin ]]
+__rvm_try_sudo:31> command_to_run=( /usr/bin/env 'PATH=/usr/lib64/qt-3.3/bin:/usr/local/bin:/usr/local/sbin:/usr/bin:/usr/sbin:/home/aneilan/bin:/home/aneilan/.antigen/bundles/robbyrussell/oh-my-zsh/lib:/home/aneilan/.antigen/bundles/robbyrussell/oh-my-zsh/plugins/git:/home/aneilan/.antigen/bundles/robbyrussell/oh-my-zsh/plugins/pip:/home/aneilan/.antigen/bundles/robbyrussell/oh-my-zsh/plugins/command-not-found:/home/aneilan/.antigen/bundles/Tarrasch/zsh-autoenv:/home/aneilan/.antigen/bundles/zsh-users/zsh-syntax-highlighting:/home/aneilan/.rvm/bin:/home/aneilan/.rvm/bin:/sbin' yum install -y openssl-devel )
+__rvm_try_sudo:33> command_to_run=( __rvm_sudo -p '%p password required for '\''yum install -y openssl-devel'\'': ' /usr/bin/env 'PATH=/usr/lib64/qt-3.3/bin:/usr/local/bin:/usr/local/sbin:/usr/bin:/usr/sbin:/home/aneilan/bin:/home/aneilan/.antigen/bundles/robbyrussell/oh-my-zsh/lib:/home/aneilan/.antigen/bundles/robbyrussell/oh-my-zsh/plugins/git:/home/aneilan/.antigen/bundles/robbyrussell/oh-my-zsh/plugins/pip:/home/aneilan/.antigen/bundles/robbyrussell/oh-my-zsh/plugins/command-not-found:/home/aneilan/.antigen/bundles/Tarrasch/zsh-autoenv:/home/aneilan/.antigen/bundles/zsh-users/zsh-syntax-highlighting:/home/aneilan/.rvm/bin:/home/aneilan/.rvm/bin:/sbin' yum install -y openssl-devel )
+__rvm_try_sudo:40> __rvm_sudo -p '%p password required for '\''yum install -y openssl-devel'\'': ' /usr/bin/env 'PATH=/usr/lib64/qt-3.3/bin:/usr/local/bin:/usr/local/sbin:/usr/bin:/usr/sbin:/home/aneilan/bin:/home/aneilan/.antigen/bundles/robbyrussell/oh-my-zsh/lib:/home/aneilan/.antigen/bundles/robbyrussell/oh-my-zsh/plugins/git:/home/aneilan/.antigen/bundles/robbyrussell/oh-my-zsh/plugins/pip:/home/aneilan/.antigen/bundles/robbyrussell/oh-my-zsh/plugins/command-not-found:/home/aneilan/.antigen/bundles/Tarrasch/zsh-autoenv:/home/aneilan/.antigen/bundles/zsh-users/zsh-syntax-highlighting:/home/aneilan/.rvm/bin:/home/aneilan/.rvm/bin:/sbin' yum install -y openssl-devel
+__rvm_sudo:2> sudo -p '%p password required for '\''yum install -y openssl-devel'\'': ' /usr/bin/env 'PATH=/usr/lib64/qt-3.3/bin:/usr/local/bin:/usr/local/sbin:/usr/bin:/usr/sbin:/home/aneilan/bin:/home/aneilan/.antigen/bundles/robbyrussell/oh-my-zsh/lib:/home/aneilan/.antigen/bundles/robbyrussell/oh-my-zsh/plugins/git:/home/aneilan/.antigen/bundles/robbyrussell/oh-my-zsh/plugins/pip:/home/aneilan/.antigen/bundles/robbyrussell/oh-my-zsh/plugins/command-not-found:/home/aneilan/.antigen/bundles/Tarrasch/zsh-autoenv:/home/aneilan/.antigen/bundles/zsh-users/zsh-syntax-highlighting:/home/aneilan/.rvm/bin:/home/aneilan/.rvm/bin:/sbin' yum install -y openssl-devel
Last metadata expiration check: 1:17:34 ago on Sat 17 Jun 2017 01:34:26 PM EDT.
Error:
Problem: problem with installed package compat-openssl10-devel-1:1.0.2j-6.fc26.x86_64
- package compat-openssl10-devel-1:1.0.2j-6.fc26.x86_64 conflicts with openssl-devel provided by openssl-devel-1:1.1.0f-3.fc26.x86_64
- cannot install the best candidate for the job
(try to add '--allowerasing' to command line to replace conflicting packages or '--skip-broken' to skip uninstalable packages)
+__rvm_try_sudo:40> return 1
+requirements_centos_libs_install:2> return 1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment