Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Install script fails on CentOS if bincrafters has already been setup on a prior install #19

Open
hperrey opened this issue Mar 19, 2019 · 3 comments

Comments

@hperrey
Copy link
Contributor

hperrey commented Mar 19, 2019

Running the install script on a fresh checkout of essdaq:

[essdaq@stf-ws01 essdaq]$ ./autoinstall.sh
Detecting OS
OS Detected: centos
Installing for CentOS
~/essdaq ~/essdaq
AUTOMATIC INSTALL
Loaded plugins: etckeeper, fastestmirror, langpacks
Loading mirror speeds from cached hostfile
 * base: mirror.hh.se
 * epel: ftp.lysator.liu.se
 * extras: mirror.hh.se
 * updates: mirror.hh.se
Package python2-pip-8.1.2-7.el7.noarch already installed and latest version
Nothing to do
DEPRECATION: Python 2.7 will reach the end of its life on January 1st, 2020. Please upgrade your Python as Python 2.7 won't be maintained after that date. A future version of pip will drop support for Python 2.7.
Requirement already up-to-date: pip in /usr/lib/python2.7/site-packages (19.0.3)
DEPRECATION: Python 2.7 will reach the end of its life on January 1st, 2020. Please upgrade your Python as Python 2.7 won't be maintained after that date. A future version of pip will drop support for Python 2.7.
Requirement already satisfied: conan in /usr/lib/python2.7/site-packages (1.12.3)
Requirement already satisfied: PyJWT<2.0.0,>=1.4.0 in /usr/lib/python2.7/site-packages (from conan) (1.7.1)
Requirement already satisfied: requests<3.0.0,>=2.7.0 in /usr/lib/python2.7/site-packages (from conan) (2.21.0)
Requirement already satisfied: colorama<0.5.0,>=0.3.3 in /usr/lib/python2.7/site-packages (from conan) (0.4.1)
Requirement already satisfied: PyYAML<3.14.0,>=3.11 in /usr/lib64/python2.7/site-packages (from conan) (3.13)
Requirement already satisfied: patch==1.16 in /usr/lib/python2.7/site-packages (from conan) (1.16)
Requirement already satisfied: fasteners>=0.14.1 in /usr/lib/python2.7/site-packages (from conan) (0.14.1)
Requirement already satisfied: six>=1.10.0 in /usr/lib/python2.7/site-packages (from conan) (1.12.0)
Requirement already satisfied: node-semver==0.6.1 in /usr/lib/python2.7/site-packages (from conan) (0.6.1)
Requirement already satisfied: distro<1.2.0,>=1.0.2 in /usr/lib/python2.7/site-packages (from conan) (1.1.0)
Requirement already satisfied: pylint>=1.9.3 in /usr/lib/python2.7/site-packages (from conan) (1.9.4)
Requirement already satisfied: future==0.16.0 in /usr/lib/python2.7/site-packages (from conan) (0.16.0)
Requirement already satisfied: pygments<3.0,>=2.0 in /usr/lib64/python2.7/site-packages (from conan) (2.3.1)
Requirement already satisfied: astroid>=1.6.5 in /usr/lib/python2.7/site-packages (from conan) (1.6.5)
Requirement already satisfied: deprecation<2.1,>=2.0 in /usr/lib/python2.7/site-packages (from conan) (2.0.6)
Requirement already satisfied: tqdm<5,>=4.28.1 in /usr/lib/python2.7/site-packages (from conan) (4.31.1)
Requirement already satisfied: bottle<0.13,>=0.12.8 in /usr/lib/python2.7/site-packages (from conan) (0.12.16)
Requirement already satisfied: pluginbase<1.0,>=0.5 in /usr/lib/python2.7/site-packages (from conan) (0.7)
Requirement already satisfied: chardet<3.1.0,>=3.0.2 in /usr/lib/python2.7/site-packages (from requests<3.0.0,>=2.7.0->conan) (3.0.4)
Requirement already satisfied: idna<2.9,>=2.5 in /usr/lib/python2.7/site-packages (from requests<3.0.0,>=2.7.0->conan) (2.8)
Requirement already satisfied: certifi>=2017.4.17 in /usr/lib/python2.7/site-packages (from requests<3.0.0,>=2.7.0->conan) (2018.11.29)
Requirement already satisfied: urllib3<1.25,>=1.21.1 in /usr/lib/python2.7/site-packages (from requests<3.0.0,>=2.7.0->conan) (1.24.1)
Requirement already satisfied: monotonic>=0.1 in /usr/lib/python2.7/site-packages (from fasteners>=0.14.1->conan) (1.5)
Requirement already satisfied: mccabe in /usr/lib/python2.7/site-packages (from pylint>=1.9.3->conan) (0.6.1)
Requirement already satisfied: singledispatch; python_version < "3.4" in /usr/lib/python2.7/site-packages (from pylint>=1.9.3->conan) (3.4.0.3)
Requirement already satisfied: configparser; python_version == "2.7" in /usr/lib/python2.7/site-packages (from pylint>=1.9.3->conan) (3.7.3)
Requirement already satisfied: backports.functools-lru-cache; python_version == "2.7" in /usr/lib/python2.7/site-packages (from pylint>=1.9.3->conan) (1.5)
Requirement already satisfied: isort>=4.2.5 in /usr/lib/python2.7/site-packages (from pylint>=1.9.3->conan) (4.3.9)
Requirement already satisfied: lazy-object-proxy in /usr/lib64/python2.7/site-packages (from astroid>=1.6.5->conan) (1.3.1)
Requirement already satisfied: enum34>=1.1.3; python_version < "3.4" in /usr/lib/python2.7/site-packages (from astroid>=1.6.5->conan) (1.1.6)
Requirement already satisfied: wrapt in /usr/lib64/python2.7/site-packages (from astroid>=1.6.5->conan) (1.11.1)
Requirement already satisfied: packaging in /usr/lib/python2.7/site-packages (from deprecation<2.1,>=2.0->conan) (19.0)
Requirement already satisfied: futures; python_version < "3.2" in /usr/lib/python2.7/site-packages (from isort>=4.2.5->pylint>=1.9.3->conan) (3.2.0)
Requirement already satisfied: pyparsing>=2.0.2 in /usr/lib/python2.7/site-packages (from packaging->deprecation<2.1,>=2.0->conan) (2.3.1)
ERROR: Remote 'bincrafters' already exists in remotes (use update to modify)
@hperrey
Copy link
Contributor Author

hperrey commented Mar 19, 2019

A simple rm -rf ~/.conan fixes this -- maybe one could check for whether that directory exists in the script and advice the user? Just in case there is any leftovers from a previous install.

@mortenjc
Copy link
Contributor

I am ok, with this, or we can improve the script in other ways.
Martin - your opinion on this?

For now, just do the manual install instead

@hperrey
Copy link
Contributor Author

hperrey commented Mar 19, 2019

Alright, just realized that this also gets in the way should a previous install attempt have failed for whatever reason -- that is slightly more annoying than I thought then.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants