Error base-passwd
Hello,
when i try apt-get upgrade on a server (potato) i
get
1 packages not fully installed or
removed.
Need to get 0B/5207kB of archives. After unpacking
773kB will be used.
Do you want to continue?
[Y/n]
Configuring packages
...
Setting up base-passwd (3.1.10)
...
Error reading shadow file /etc/group: Numerical
result out of range
update-passwd has found some differences between
your system accounts
and the current Debian defaults. It is advisable
to allow update-passwd
to change your system; without those changes some
packages might not work
correctly. For more documentation on the Debian
account policies please
see
/usr/share/doc/base-passwd/README.
The last of proposed changes
is:
It is highly recommend that you allow
update-passwd to make these changes
(a backup file of modified files is made with the
extension .old so you can
always restore the current
settings).
May I update your system?
[Y/n]
Okay, I am going to make the necessary updates
now
Reading passwd from
/usr/share/base-passwd/passwd.master
Reading group from
/usr/share/base-passwd/group.master
Reading passwd from
/etc/passwd
Reading shadow from
/etc/shadow
Reading group from
/etc/group
Error reading shadow file /etc/group: Numerical
result out of range
dpkg: error processing base-passwd
(--configure):
subprocess post-installation script returned
error exit status 2
Errors were encountered while
processing:
base-passwd
W: Couldn't stat source package list 'file:
potato/local Packages' (/var/state/a
pt/lists/_mnt_potato_dists_potato_local_binary-i386_Packages)
- stat (2 No such
file or
directory)
W: You may want to run apt-get update to correct
these missing files
E: Sub-process /usr/bin/dpkg returned an error
code (1)
I've many users define on this servers, how can i
do to upgrade without such problems
Thanks,
Vincent
Reply to: