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

non-root install script fails to install 6.0.4 on ubuntu18

    XMLWordPrintable

    Details

    • Triage:
      Untriaged
    • Story Points:
      1
    • Is this a Regression?:
      Unknown

      Description

      Steps:

      1. Login as nonroot user to an aws ubuntu18 machine
      2. Download ubunut18 deb package for 6.0.4
      3. git clone non root install script
      4. mkdir ~/couchbase-home
      5. cd into non root install script directory
      6. Run command to install:

      ubuntu@ip-172-31-45-222:~/cb-non-package-installer$ ./cb-non-package-installer --install --install-location ../couchbase-home --package ../couchbase-server-enterprise_6.0.4-3097-ubuntu18.04_amd64.deb
      2020/06/30T23:29:18 ERROR: Cannot install Couchbase Server missing dependency: " libncurses5 (>= 6)"

      7. Check to ensure libncurses5 (>= 6) is installed:

      ubuntu@ip-172-31-45-222:~/cb-non-package-installer$ dpkg -l | grep libncurses5
      ii libncurses5:amd64 6.1-1ubuntu1.18.04 amd64 shared libraries for terminal handling

        Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

          Activity

          Hide
          arunkumar Arunkumar Senthilnathan added a comment -

          With http://review.couchbase.org/c/cb-non-package-installer/+/131689, the script passes:

          ubuntu@ip-172-31-45-222:~/cb-non-package-installer$ ./cb-non-package-installer --install --install-location ../couchbase-home --package ../couchbase-server-enterprise_6.0.4-3097-ubuntu18.04_amd64.deb
          Successfully installed

          Please review

          Show
          arunkumar Arunkumar Senthilnathan added a comment - With http://review.couchbase.org/c/cb-non-package-installer/+/131689 , the script passes: ubuntu@ip-172-31-45-222:~/cb-non-package-installer$ ./cb-non-package-installer --install --install-location ../couchbase-home --package ../couchbase-server-enterprise_6.0.4-3097-ubuntu18.04_amd64.deb Successfully installed Please review
          Hide
          arunkumar Arunkumar Senthilnathan added a comment - - edited

          ubuntu@ip-172-31-45-222:~/cb-non-package-installer$ dpkg --info ../couchbase-server-enterprise_6.0.4-3097-ubuntu18.04_amd64.deb
          new Debian package, version 2.0.
          size 348054988 bytes: control archive=92424 bytes.
          29 bytes, 1 lines conffiles
          1020 bytes, 20 lines control
          384300 bytes, 3677 lines md5sums
          3086 bytes, 102 lines * postinst #!/bin/sh
          382 bytes, 14 lines * postrm #!/bin/sh
          3302 bytes, 122 lines * preinst #!/bin/sh
          587 bytes, 11 lines * prerm #!/bin/sh
          Package: couchbase-server
          Version: 6.0.4-3097-1
          Architecture: amd64
          Maintainer: Couchbase <support@couchbase.com>
          Installed-Size: 786032
          Depends: libc6 (>= 2.18), libncurses5 (>= 6), libssl1.0.0 (>= 1.0.2~beta3), libssl1.1 (>= 1.1.0), libtinfo5 (>= 6), python-httplib2, lsb-base (>= 3.2), tar
          Breaks: couchbase-server-community, couchbase-server-enterprise-no-jre, membase-server
          Replaces: membase-server
          Section: web
          Priority: extra
          Homepage: http://couchbase.com
          Description: Couchbase Server
          Couchbase is the company behind the Couchbase open source project, a
          vibrant community of developers and users of Couchbase
          document-oriented database technology. Our flagship product, Couchbase
          Server, is a packaged version of Couchbase technology that's available
          in Community and Enterprise Editions. We're known for our easy
          scalability, consistent high performance, 24x365 availability, and a
          flexible data model. Read more about Couchbase Server here -
          http://www.couchbase.com/nosql-databases/couchbase-server

          One issue though - out of the dependencies listed above everything else was installed by default except python-httplib2 - that error message was helpful and i installed it - but if we don't add it to the list of packages to be skipped from "which" command check, the script still fails as python-httplib2 install cannot be validated with "which" command - I think this is ok though, as we are going to instruct the user to install all dependencies first in the documentation

          Show
          arunkumar Arunkumar Senthilnathan added a comment - - edited ubuntu@ip-172-31-45-222:~/cb-non-package-installer$ dpkg --info ../couchbase-server-enterprise_6.0.4-3097-ubuntu18.04_amd64.deb new Debian package, version 2.0. size 348054988 bytes: control archive=92424 bytes. 29 bytes, 1 lines conffiles 1020 bytes, 20 lines control 384300 bytes, 3677 lines md5sums 3086 bytes, 102 lines * postinst #!/bin/sh 382 bytes, 14 lines * postrm #!/bin/sh 3302 bytes, 122 lines * preinst #!/bin/sh 587 bytes, 11 lines * prerm #!/bin/sh Package: couchbase-server Version: 6.0.4-3097-1 Architecture: amd64 Maintainer: Couchbase <support@couchbase.com> Installed-Size: 786032 Depends: libc6 (>= 2.18), libncurses5 (>= 6), libssl1.0.0 (>= 1.0.2~beta3), libssl1.1 (>= 1.1.0), libtinfo5 (>= 6), python-httplib2, lsb-base (>= 3.2), tar Breaks: couchbase-server-community, couchbase-server-enterprise-no-jre, membase-server Replaces: membase-server Section: web Priority: extra Homepage: http://couchbase.com Description: Couchbase Server Couchbase is the company behind the Couchbase open source project, a vibrant community of developers and users of Couchbase document-oriented database technology. Our flagship product, Couchbase Server, is a packaged version of Couchbase technology that's available in Community and Enterprise Editions. We're known for our easy scalability, consistent high performance, 24x365 availability, and a flexible data model. Read more about Couchbase Server here - http://www.couchbase.com/nosql-databases/couchbase-server One issue though - out of the dependencies listed above everything else was installed by default except python-httplib2 - that error message was helpful and i installed it - but if we don't add it to the list of packages to be skipped from "which" command check, the script still fails as python-httplib2 install cannot be validated with "which" command - I think this is ok though, as we are going to instruct the user to install all dependencies first in the documentation
          Hide
          pvarley Patrick Varley added a comment -

          One issue though - out of the dependencies listed above everything else was installed by default except python-httplib2 - that error message was helpful and i installed it - but if we don't add it to the list of packages to be skipped from "which" command check, the script still fails as python-httplib2 install cannot be validated with "which" command - I think this is ok though, as we are going to instruct the user to install all dependencies first in the documentation

          I should think of a better way to do these checks. The new versions of Couchbase Server generally has everything it needs shipped with it.

          Show
          pvarley Patrick Varley added a comment - One issue though - out of the dependencies listed above everything else was installed by default except python-httplib2 - that error message was helpful and i installed it - but if we don't add it to the list of packages to be skipped from "which" command check, the script still fails as python-httplib2 install cannot be validated with "which" command - I think this is ok though, as we are going to instruct the user to install all dependencies first in the documentation I should think of a better way to do these checks. The new versions of Couchbase Server generally has everything it needs shipped with it.
          Hide
          build-team Couchbase Build Team added a comment -

          Build python_tools::cb-non-package-installer-6.6.0-6 contains cb-non-package-installer commit fd10a07 with commit message:
          MB-40234 Add Ubuntu packages to skip dependency check

          Show
          build-team Couchbase Build Team added a comment - Build python_tools::cb-non-package-installer-6.6.0-6 contains cb-non-package-installer commit fd10a07 with commit message: MB-40234 Add Ubuntu packages to skip dependency check

            People

            Assignee:
            pvarley Patrick Varley
            Reporter:
            arunkumar Arunkumar Senthilnathan
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Due:
              Created:
              Updated:
              Resolved:

                Gerrit Reviews

                There are no open Gerrit changes

                  PagerDuty