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

Error on Ubuntu installation around groupadd/useradd

    Details

    • Flagged:
      Release Note

      Description

      This is from the forums...

      Hello,

      I am trying to install the membase binary on a ubuntu machine (64 bit) by typing:
      sudo dpkg -i northscale-server_1.6.0beta4_x86_64.deb.deb

      Error messages:
      Unpacking northscale-server (from northscale-server_1.6.0beta4_x86_64.deb.deb) ...
      groupadd: invalid option – r

      dpkg: error processing northscale-server_1.6.0beta4_x86_64.deb.deb (--install):
      subprocess pre-installation script returned error exit status 1

      The solution was:
      You should create manually group and user befrore install binary:
      groupadd northscale
      useradd -g northscale -d /opt/NorthScale -s /bin/bash -c "NorthScale system user" northscale

      That solved the problem.

      Can we look at the code and see if we are using a possibly invalid option with 'groupadd' during the debian package installation?

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

        Activity

        Hide
        sharon.barr@northscale.com sharon.barr@northscale.com added a comment -

        Tony, is this reproducible on the latest build?

        Show
        sharon.barr@northscale.com sharon.barr@northscale.com added a comment - Tony, is this reproducible on the latest build?
        Hide
        perry@northscale.com Perry Krug added a comment -

        I'm thinking it may be a particular dependency within the Ubuntu system...or perhaps an older OS.

        Show
        perry@northscale.com Perry Krug added a comment - I'm thinking it may be a particular dependency within the Ubuntu system...or perhaps an older OS.
        Hide
        steve.yen@northscale.com Steve Yen added a comment -

        wondering why there is a double ".deb.deb" suffix?

        northscale-server_1.6.0beta4_x86_64.deb.deb

        Show
        steve.yen@northscale.com Steve Yen added a comment - wondering why there is a double ".deb.deb" suffix? northscale-server_1.6.0beta4_x86_64.deb.deb
        Hide
        perry@northscale.com Perry Krug added a comment -

        I don't think that's causing a problem, though it was throwing me off too. Looks like the workaround fixed the issue even with the double '.deb'

        Show
        perry@northscale.com Perry Krug added a comment - I don't think that's causing a problem, though it was throwing me off too. Looks like the workaround fixed the issue even with the double '.deb'
        Hide
        thuan@northscale.com thuan@northscale.com added a comment -

        I don't get this error when I install latest build 1.6.0beta4-84 on 2 ubuntu 9.04 64bit.

        Show
        thuan@northscale.com thuan@northscale.com added a comment - I don't get this error when I install latest build 1.6.0beta4-84 on 2 ubuntu 9.04 64bit.
        Hide
        perry@northscale.com Perry Krug added a comment -

        Thanks Tony. Can you try the beta 4 released build? I'd like to make sure that we are actually reproducing the problem and now working around it some other way.

        Show
        perry@northscale.com Perry Krug added a comment - Thanks Tony. Can you try the beta 4 released build? I'd like to make sure that we are actually reproducing the problem and now working around it some other way.
        Hide
        thuan@northscale.com thuan@northscale.com added a comment -

        I install beta4 release build on ubuntu 9.04 64bit server and I can not reproduce this error.
        http://screencast.com/t/9uisV1lC

        Show
        thuan@northscale.com thuan@northscale.com added a comment - I install beta4 release build on ubuntu 9.04 64bit server and I can not reproduce this error. http://screencast.com/t/9uisV1lC
        Hide
        perry@northscale.com Perry Krug added a comment -

        Thanks Tony. So again, we need to reproduce the error so we can tell whether it's been fixed or not. I suspect there is something else at work here, can you try on Ubuntu 8.x?

        Show
        perry@northscale.com Perry Krug added a comment - Thanks Tony. So again, we need to reproduce the error so we can tell whether it's been fixed or not. I suspect there is something else at work here, can you try on Ubuntu 8.x?
        Hide
        thuan@northscale.com thuan@northscale.com added a comment -

        I can reproduce the groupadd: invalid option --r error on ubuntu 8.04 64bit.
        But not the double ".deb.deb"
        http://screencast.com/t/2C75u9psbsR

        Show
        thuan@northscale.com thuan@northscale.com added a comment - I can reproduce the groupadd: invalid option --r error on ubuntu 8.04 64bit. But not the double ".deb.deb" http://screencast.com/t/2C75u9psbsR
        Hide
        thuan@northscale.com thuan@northscale.com added a comment -

        I install beta4 release build on ubuntu 10.04 64bit server and I can not
        reproduce this error. So I think it only happens in ubuntu 8.04 64bit version
        http://screencast.com/t/grlKFqQq4gY6

        Show
        thuan@northscale.com thuan@northscale.com added a comment - I install beta4 release build on ubuntu 10.04 64bit server and I can not reproduce this error. So I think it only happens in ubuntu 8.04 64bit version http://screencast.com/t/grlKFqQq4gY6
        Hide
        perry Perry Krug added a comment -

        tagged: releasenotes

        Show
        perry Perry Krug added a comment - tagged: releasenotes
        Hide
        sean Sean Lynch (Inactive) added a comment -

        Resolving as incomplete because we need to get more information before we can fix - suspect older Ubuntu version.

        Show
        sean Sean Lynch (Inactive) added a comment - Resolving as incomplete because we need to get more information before we can fix - suspect older Ubuntu version.
        Hide
        perry Perry Krug added a comment -

        Not sure what "more information" is needed. This was reproduced. Yes, it is on an unsupported version but it is still a bug.

        Show
        perry Perry Krug added a comment - Not sure what "more information" is needed. This was reproduced. Yes, it is on an unsupported version but it is still a bug.
        Hide
        alkondratenko Aleksey Kondratenko (Inactive) added a comment -

        We don't care about that much old OSes anymore

        Show
        alkondratenko Aleksey Kondratenko (Inactive) added a comment - We don't care about that much old OSes anymore

          People

          • Assignee:
            alkondratenko Aleksey Kondratenko (Inactive)
            Reporter:
            perry Perry Krug
          • Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Gerrit Reviews

              There are no open Gerrit changes