Uploaded image for project: 'Couchbase Server'
  1. Couchbase Server
  2. MB-40237

non-root install script throws error in ubuntu16

    XMLWordPrintable

Details

    • Bug
    • Resolution: User Error
    • Critical
    • 6.6.0
    • 6.6.0
    • tools
    • Triaged
    • 1
    • Unknown

    Description

      Steps:

      1. Login as nonroot user to a ubuntu16 aws machine
      2. git clone non root install script
      3. Try to run help on the script:

      ubuntu@ip-172-31-43-238:~/cb-non-package-installer$ ./cb-non-package-installer -h
      File "./cb-non-package-installer", line 58
      error(f'Could not get version from Package name

      {package}

      ')
      ^
      SyntaxError: invalid syntax

      Environment:

      ubuntu@ip-172-31-43-238:~/cb-non-package-installer$ uname -a
      Linux ip-172-31-43-238 4.4.0-1109-aws #120-Ubuntu SMP Fri Jun 5 01:26:57 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux
      ubuntu@ip-172-31-43-238:~/cb-non-package-installer$ cat /etc/*elease
      DISTRIB_ID=Ubuntu
      DISTRIB_RELEASE=16.04
      DISTRIB_CODENAME=xenial
      DISTRIB_DESCRIPTION="Ubuntu 16.04.6 LTS"
      NAME="Ubuntu"
      VERSION="16.04.6 LTS (Xenial Xerus)"
      ID=ubuntu
      ID_LIKE=debian
      PRETTY_NAME="Ubuntu 16.04.6 LTS"
      VERSION_ID="16.04"
      HOME_URL="http://www.ubuntu.com/"
      SUPPORT_URL="http://help.ubuntu.com/"
      BUG_REPORT_URL="http://bugs.launchpad.net/ubuntu/"
      VERSION_CODENAME=xenial
      UBUNTU_CODENAME=xenial

      Attachments

        Activity

          People

            pvarley Patrick Varley (Inactive)
            arunkumar Arunkumar Senthilnathan (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              PagerDuty