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

        perry@northscale.com Perry Krug created issue -
        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'
        ingenthr Matt Ingenthron made changes -
        Field Original Value New Value
        issue.field.bugzillaimportkey 2745 12515
        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
        frank Frank Weigel made changes -
        Affects Version/s 1.6.0 beta4 [ 10055 ]
        Affects Version/s 1.6.0beta4 [ 10045 ]
        sean Sean Lynch (Inactive) made changes -
        Fix Version/s 1.6.1 [ 10059 ]
        perry Perry Krug made changes -
        Reporter Perry Krug [ perry@northscale.com ] Perry Krug [ perry ]
        Hide
        perry Perry Krug added a comment -

        tagged: releasenotes

        Show
        perry Perry Krug added a comment - tagged: releasenotes
        perry Perry Krug made changes -
        Issue Type Bug [ 1 ] Improvement [ 4 ]
        Assignee Thuan Nguyen [ thuan@northscale.com ] Sean Lynch [ sean ]
        Priority Minor [ 4 ]
        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.
        sean Sean Lynch (Inactive) made changes -
        Status Open [ 1 ] Resolved [ 5 ]
        Resolution Incomplete [ 4 ]
        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.
        perry Perry Krug made changes -
        Resolution Incomplete [ 4 ]
        Status Resolved [ 5 ] Reopened [ 4 ]
        perry Perry Krug made changes -
        Flagged [Release Note]
        steve Steve Yen made changes -
        Summary Error on Ubuntu installation Error on Ubuntu installation around groupadd/useradd
        steve Steve Yen made changes -
        Fix Version/s Backlog [ 10090 ]
        alkondratenko Aleksey Kondratenko (Inactive) made changes -
        Assignee Sean Lynch [ sean ] Aleksey Kondratenko [ alkondratenko ]
        farshid Farshid Ghods (Inactive) made changes -
        Labels 1.6.0-release-notes
        perry Perry Krug made changes -
        Labels 1.6.0-release-notes 1.6.0-release-notes 1.6.5.3-release-notes 1.7.0-release-notes
        farshid Farshid Ghods (Inactive) made changes -
        Labels 1.6.0-release-notes 1.6.5.3-release-notes 1.7.0-release-notes 1.6.0-release-notes 1.6.5.3-release-notes 1.7.0-release-notes 1.7.1-release-notes
        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
        alkondratenko Aleksey Kondratenko (Inactive) made changes -
        Status Reopened [ 4 ] Resolved [ 5 ]
        Resolution Won't Fix [ 2 ]
        peter peter made changes -
        Component/s installer [ 10221 ]
        Component/s linux_installer [ 10021 ]
        maria Maria McDuff (Inactive) made changes -
        Fix Version/s feature-backlog [ 10342 ]
        Fix Version/s techdebt-backlog [ 10090 ]

          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