FAQ
Anyone hit this before?

Running the Cloudera Manager Cluster Installer on RHEL6; I'm getting an
installation failure stating - is an invalid option


*validating format of repository file
/tmp/scm_prepare_node.WLKchwjq/repos/rhel6/cdh-solr.repo *
*installing repository file
/tmp/scm_prepare_node.WLKchwjq/repos/rhel6/cdh-solr.repo *
*install: invalid option -- '-' *
*usage: install [-bCcpSsv] [-B suffix] [-f flags] [-g group] [-m mode] *
*[-o owner] file1 file2 *
*install [-bCcpSsv] [-B suffix] [-f flags] [-g group] [-m mode] *



Looking at the /tmp/scm_prepare_node/ sh file (nothing really seems to be
wrong there)

      * echo installing repository file $repo*
* $SUDO install -m 644 --backup=numbered "$repo" "$REPO_DEST"/*
* fail_or_continue $? repository file $repo could not be installed*


And Running that /tmp sh file manually from the command line, It does
successfully get past that line.

Search Discussions

  • Philip Zeyliger at Jun 11, 2013 at 3:49 pm
    Can you run 'install --help' and 'which install' and 'rpm -qf $(which
    install)' and 'lsb_release -a' for us? Looks like you've got a bizarre
    version of install. We'd like to figure out what's going on there.

    On my CentOS 6.4 machine, I see:

    $lsb_release -a
    LSB Version:
    :base-4.0-amd64:base-4.0-noarch:core-4.0-amd64:core-4.0-noarch:graphics-4.0-amd64:graphics-4.0-noarch:printing-4.0-amd64:printing-4.0-noarch
    Distributor ID: CentOS
    Description: CentOS release 6.4 (Final)
    Release: 6.4
    Codename: Final

    $install --version
    install (GNU coreutils) 8.4
    Copyright (C) 2010 Free Software Foundation, Inc.
    License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html
    .
    This is free software: you are free to change and redistribute it.
    There is NO WARRANTY, to the extent permitted by law.

    Written by David MacKenzie.

    $rpm -qf $(which install)
    coreutils-8.4-19.el6_4.1.x86_64

    Cheers,

    -- Philip


    On Tue, Jun 11, 2013 at 8:09 AM, David Zanter wrote:

    Anyone hit this before?

    Running the Cloudera Manager Cluster Installer on RHEL6; I'm getting an
    installation failure stating - is an invalid option


    *validating format of repository file
    /tmp/scm_prepare_node.WLKchwjq/repos/rhel6/cdh-solr.repo *
    *installing repository file
    /tmp/scm_prepare_node.WLKchwjq/repos/rhel6/cdh-solr.repo *
    *install: invalid option -- '-' *
    *usage: install [-bCcpSsv] [-B suffix] [-f flags] [-g group] [-m mode] *
    *[-o owner] file1 file2 *
    *install [-bCcpSsv] [-B suffix] [-f flags] [-g group] [-m mode] *



    Looking at the /tmp/scm_prepare_node/ sh file (nothing really seems to be
    wrong there)

    * echo installing repository file $repo*
    * $SUDO install -m 644 --backup=numbered "$repo" "$REPO_DEST"/*
    * fail_or_continue $? repository file $repo could not be installed*


    And Running that /tmp sh file manually from the command line, It does
    successfully get past that line.
  • David Zanter at Jun 11, 2013 at 4:50 pm
    *
    *
    Thx Philip, Yup from the command line 'which install': /usr/bin/install.
      And the remainder were roughly the same as yours. However, then went and
    searched my $PATH. And I did have an older version of install located in
    /usr/local/bin, which apparently doesn't support --backup option.

    I temporarily deleted that file; And now I have successfully installed.
    *
    *
  • Philip Zeyliger at Jun 11, 2013 at 5:28 pm
    David,

    Thanks for following up. Glad you got it resolved!

    -- Philip

    On Tue, Jun 11, 2013 at 9:50 AM, David Zanter wrote:

    *
    *
    Thx Philip, Yup from the command line 'which install': /usr/bin/install.
    And the remainder were roughly the same as yours. However, then went and
    searched my $PATH. And I did have an older version of install located in
    /usr/local/bin, which apparently doesn't support --backup option.

    I temporarily deleted that file; And now I have successfully installed.
    *
    *

Related Discussions

Discussion Navigation
viewthread | post
Discussion Overview
groupscm-users @
categorieshadoop
postedJun 11, '13 at 3:09p
activeJun 11, '13 at 5:28p
posts4
users2
websitecloudera.com
irc#hadoop

2 users in discussion

David Zanter: 2 posts Philip Zeyliger: 2 posts

People

Translate

site design / logo © 2022 Grokbase