[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Installation of openssh-client stops with error in groupadd



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


Reply to: