[MB-2506] Error on Ubuntu installation around groupadd/useradd Created: 09/Oct/10 Updated: 23/Jul/12 Resolved: 07/Feb/12 |
|
| Status: | Resolved |
| Project: | Couchbase Server |
| Component/s: | installer |
| Affects Version/s: | 1.6.0 beta4 |
| Fix Version/s: | Backlog |
| Type: | Improvement | Priority: | Minor |
| Reporter: | Perry Krug | Assignee: | Aleksey Kondratenko |
| Resolution: | Won't Fix | Votes: | 0 |
| Labels: | 1.6.0-release-notes, 1.6.5.3-release-notes, 1.7.0-release-notes, 1.7.1-release-notes | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Environment: |
Operating System: All
Platform: All |
||
| 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? |
| Comments |
| Comment by Sharon Barr [ 09/Oct/10 ] |
| Tony, is this reproducible on the latest build? |
| Comment by Perry Krug [ 09/Oct/10 ] |
| I'm thinking it may be a particular dependency within the Ubuntu system...or perhaps an older OS. |
| Comment by Steve Yen [ 09/Oct/10 ] |
|
wondering why there is a double ".deb.deb" suffix? northscale-server_1.6.0beta4_x86_64.deb.deb |
| Comment by Perry Krug [ 09/Oct/10 ] |
| 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' |
| Comment by thuan@northscale.com [ 09/Oct/10 ] |
| I don't get this error when I install latest build 1.6.0beta4-84 on 2 ubuntu 9.04 64bit. |
| Comment by Perry Krug [ 09/Oct/10 ] |
| 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. |
| Comment by thuan@northscale.com [ 09/Oct/10 ] |
|
I install beta4 release build on ubuntu 9.04 64bit server and I can not reproduce this error. http://screencast.com/t/9uisV1lC |
| Comment by Perry Krug [ 09/Oct/10 ] |
| 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? |
| Comment by thuan@northscale.com [ 09/Oct/10 ] |
|
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 |
| Comment by thuan@northscale.com [ 09/Oct/10 ] |
|
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 |
| Comment by Perry Krug [ 16/Nov/10 ] |
| tagged: releasenotes |
| Comment by Sean Lynch [ 18/Nov/10 ] |
| Resolving as incomplete because we need to get more information before we can fix - suspect older Ubuntu version. |
| Comment by Perry Krug [ 07/Dec/10 ] |
| Not sure what "more information" is needed. This was reproduced. Yes, it is on an unsupported version but it is still a bug. |
| Comment by Aleksey Kondratenko [ 07/Feb/12 ] |
| We don't care about that much old OSes anymore |