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

non-root install script does not work with ubuntu18

    XMLWordPrintable

    Details

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

      Description

      Steps:

      1. Login as nonroot user to a ubuntu18 machine
      2. Download ubunut18 deb package for 6.6
      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-17-221:~/cb-non-package-installer$ ./cb-non-package-installer --install --install-location ../couchbase-home --package ../couchbase-server-enterprise_6.6.0-7853-ubuntu18.04_amd64.deb
      2020/06/30T04:51:49 ERROR: Cannot install Couchbase Server missing dependency: " libc6 (>= 2.27)"

      7. Check to ensure libc6 is installed:

      ubuntu@ip-172-31-17-221:~$ dpkg -l | grep libc6
      ii libc6:arm64 2.27-3ubuntu1 arm64 GNU C Library: Shared libraries

        Attachments

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

          Activity

          arunkumar Arunkumar Senthilnathan created issue -
          arunkumar Arunkumar Senthilnathan made changes -
          Field Original Value New Value
          Component/s build [ 10200 ]
          arunkumar Arunkumar Senthilnathan made changes -
          Resolution User Error [ 10100 ]
          Status Open [ 1 ] Resolved [ 5 ]
          arunkumar Arunkumar Senthilnathan made changes -
          Fix Version/s 6.6.0 [ 16787 ]
          arunkumar Arunkumar Senthilnathan made changes -
          Status Resolved [ 5 ] Closed [ 6 ]
          arunkumar Arunkumar Senthilnathan made changes -
          Resolution User Error [ 10100 ]
          Status Closed [ 6 ] Reopened [ 4 ]
          arunkumar Arunkumar Senthilnathan made changes -
          Component/s build [ 10200 ]
          arunkumar Arunkumar Senthilnathan made changes -
          Description Steps:

          1. Login as nonroot user to a ubuntu18 machine
          2. Download ubunut18 deb package for 6.6
          3. git clone non root install script
          4. Run command to install:

          nonroot@ubuntu:~/cb-non-package-installer$ ./cb-non-package-installer --install --install-location /home/nonroot/ --package /home/nonroot/couchbase-server-enterprise-dbg_6.6.0-7853-ubuntu18.04_amd64.deb
          2020/06/29T17:26:00 ERROR: Cannot install Couchbase Server missing dependency: " couchbase-server (= 6.6.0-7853-1)"
          Steps:

          1. Login as nonroot user to a ubuntu18 machine
          2. Download ubunut18 deb package for 6.6
          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-17-221:~/cb-non-package-installer$ ./cb-non-package-installer --install --install-location ../couchbase-home --package ../couchbase-server-enterprise_6.6.0-7853-ubuntu18.04_amd64.deb
          2020/06/30T04:51:49 ERROR: Cannot install Couchbase Server missing dependency: " libc6 (>= 2.27)"

          7. Check to ensure libc6 is installed:

          ubuntu@ip-172-31-17-221:~$ dpkg -l | grep libc6
          ii libc6:arm64 2.27-3ubuntu1 arm64 GNU C Library: Shared libraries
          arunkumar Arunkumar Senthilnathan made changes -
          Comment [ So the script uses dpkg --info to figure out dependencies and for some reason couchbase-server (= 6.6.0-7853-1) is listed as a dependency:

          nonroot@ubuntu:~$ dpkg --info couchbase-server-enterprise-dbg_6.6.0-7853-ubuntu18.04_amd64.deb
           new Debian package, version 2.0.
           size 189631720 bytes: control archive=20480 bytes.
               564 bytes, 16 lines control
             12680 bytes, 148 lines md5sums
           Package: couchbase-server-dbg
           Source: couchbase-server
           Version: 6.6.0-7853-1
           Architecture: amd64
           Maintainer: Couchbase <support@couchbase.com>
           Installed-Size: 739500
           *Depends: couchbase-server (= 6.6.0-7853-1)*
           Section: debug
           Priority: extra
           Homepage: http://couchbase.com
           Description: debugging symbols for couchbase-server
            Couchbase Server is the leading distribution of memcached and
            couchbase, created and supported by top contributors to the memcached
            and couchbase open source projects.
            .
            This package contains the debugging symbols for couchbase-server.

          So this might be a build bug ]
          arunkumar Arunkumar Senthilnathan made changes -
          Comment [ Downloaded dbg build by mistake ]
          arunkumar Arunkumar Senthilnathan made changes -
          Fix Version/s 6.6.0 [ 16787 ]
          arunkumar Arunkumar Senthilnathan made changes -
          Is this a Regression? Unknown [ 10452 ] No [ 10451 ]
          arunkumar Arunkumar Senthilnathan made changes -
          Resolution Fixed [ 1 ]
          Status Reopened [ 4 ] Resolved [ 5 ]
          owend Daniel Owen made changes -
          Assignee Patrick Varley [ pvarley ] Arunkumar Senthilnathan [ arunkumar ]
          till Till Westmann made changes -
          Link This issue blocks MB-38724 [ MB-38724 ]
          till Till Westmann made changes -
          Labels manual_testing approved-for-6.6.0 manual_testing
          arunkumar Arunkumar Senthilnathan made changes -
          Status Resolved [ 5 ] Closed [ 6 ]

            People

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

              Dates

              Created:
              Updated:
              Resolved:

                Gerrit Reviews

                There are no open Gerrit changes

                  PagerDuty