Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.user > #167096

Installation of openssh-client stops with error in groupadd

From Michael Luecke <ml2016@mluecke.eu>
Newsgroups linux.debian.user
Subject Installation of openssh-client stops with error in groupadd
Date 2016-04-25 22:00 +0200
Message-ID <rrUPM-2VC-11@gated-at.bofh.it> (permalink)
Organization linux.* mail to news gateway

Show all headers | View raw


Hello,

I have a fresh installation of Debian jessie. As I wanted to install 
'openssh-client' it stops with an error in groupadd. It seems that I 
cannot add any groups, because I get the error also when I try to add 
the group manually. In /etc there are two files, group and group+. Their 
difference is the ssh group I and apt tried to add before.

++++++++++++++++++++++++++++++
michael@michael-wst:~$ sudo apt-get install openssh-client
Reading package lists... Done
Building dependency tree
Reading state information... Done
Suggested packages:
   ssh-askpass libpam-ssh keychain monkeysphere
The following NEW packages will be installed:
   openssh-client
0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
Need to get 691 kB of archives.
After this operation, 3,765 kB of additional disk space will be used.
Get:1 http://security.debian.org/ jessie/updates/main openssh-client 
amd64 1:6.7p1-5+deb8u2 [691 kB]
Fetched 691 kB in 0s (2,823 kB/s)
Selecting previously unselected package openssh-client.
(Reading database ... 57582 files and directories currently installed.)
Preparing to unpack .../openssh-client_1%3a6.7p1-5+deb8u2_amd64.deb ...
Unpacking openssh-client (1:6.7p1-5+deb8u2) ...
Processing triggers for man-db (2.7.0.2-5) ...
Setting up openssh-client (1:6.7p1-5+deb8u2) ...
groupadd: failure while writing changes to /etc/group
addgroup: `/usr/sbin/groupadd -g 117 ssh' returned error code 10. Exiting.
dpkg: error processing package openssh-client (--configure):
  subprocess installed post-installation script returned error exit status 1
Errors were encountered while processing:
  openssh-client
E: Sub-process /usr/bin/dpkg returned an error code (1)
++++++++++++++++++++++++++++++
root@michael-wst:/etc# /usr/sbin/groupadd -g 117 ssh
groupadd: failure while writing changes to /etc/group
++++++++++++++++++++++++++++++
root@michael-wst:/etc# ls -lh group*
-rw-r--r-- 1 root root 813 Apr 25 20:45 group
-rw------- 1 root root 813 Apr 25 20:45 group-
-rw-r--r-- 1 root root 824 Apr 25 21:27 group+
++++++++++++++++++++++++++++++
root@michael-wst:/etc# diff group group+
56a57
 > ssh:x:117:
++++++++++++++++++++++++++++++

//Michael

Back to linux.debian.user | Previous | Next — Next in thread | Find similar | Unroll thread


Thread

Installation of openssh-client stops with error in groupadd Michael Luecke <ml2016@mluecke.eu> - 2016-04-25 22:00 +0200
  Re: Installation of openssh-client stops with error in groupadd <tomas@tuxteam.de> - 2016-04-25 22:10 +0200
  Re: Installation of openssh-client stops with error in groupadd Reco <recoverym4n@gmail.com> - 2016-04-25 22:10 +0200
    Re: Installation of openssh-client stops with error in groupadd Reco <recoverym4n@gmail.com> - 2016-04-25 23:00 +0200
      Re: Installation of openssh-client stops with error in groupadd Michael Luecke <ml@mluecke.eu> - 2016-04-26 19:50 +0200
        Re: Installation of openssh-client stops with error in groupadd Reco <recoverym4n@gmail.com> - 2016-04-26 20:10 +0200
          Re: Installation of openssh-client stops with error in groupadd Michael Luecke <ml@mluecke.eu> - 2016-04-26 20:40 +0200
            Re: Installation of openssh-client stops with error in groupadd Reco <recoverym4n@gmail.com> - 2016-04-26 21:00 +0200
              Re: Installation of openssh-client stops with error in groupadd Michael Luecke <lists-2016@mluecke.eu> - 2016-04-26 21:10 +0200
                Re: Installation of openssh-client stops with error in groupadd Michael Luecke <ml@mluecke.eu> - 2016-04-27 20:40 +0200

csiph-web