Here-s my uninstall and reinstall... still problems

gdeer...@ubuntults-desktop:~$ sudo apt-get --purge remove postfix
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following packages will be REMOVED:
  postfix*
0 upgraded, 0 newly installed, 1 to remove and 1 not upgraded.
2 not fully installed or removed.
After this operation, 3,572kB disk space will be freed.
Do you want to continue [Y/n]? y
(Reading database ... 286145 files and directories currently installed.)
Removing postfix ...
Purging configuration files for postfix ...
Processing triggers for man-db ...
Processing triggers for ufw ...
Processing triggers for ureadahead ...
ureadahead will be reprofiled on next reboot
Processing triggers for libc-bin ...
ldconfig deferred processing now taking place
Setting up ntp (1:4.2.4p8+dfsg-1ubuntu2) ...
useradd: cannot lock /etc/passwd; try again later.
adduser: `/usr/sbin/useradd -d /home/ntp -g ntp -s /bin/false -u 118 ntp' 
returned error code 1. Exiting.
chown: invalid user: `ntp:ntp'
dpkg: error processing ntp (--configure):
 subprocess installed post-installation script returned error exit status 1
Errors were encountered while processing:
 ntp
E: Sub-process /usr/bin/dpkg returned an error code (1)
gdeer...@ubuntults-desktop:~$ sudo apt-get install postfix
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Suggested packages:
  procmail postfix-mysql postfix-pgsql postfix-ldap postfix-pcre sasl2-bin
  resolvconf postfix-cdb
The following NEW packages will be installed:
  postfix
0 upgraded, 1 newly installed, 0 to remove and 1 not upgraded.
1 not fully installed or removed.
Need to get 1,403kB of archives.
After this operation, 3,572kB of additional disk space will be used.
Get:1 http://au.archive.ubuntu.com/ubuntu/ lucid/main postfix 2.7.0-1 [1,403kB]
Fetched 1,403kB in 9s (150kB/s)                                                
Preconfiguring packages ...
Selecting previously deselected package postfix.
(Reading database ... 285971 files and directories currently installed.)
Unpacking postfix (from .../postfix_2.7.0-1_amd64.deb) ...
Processing triggers for ureadahead ...
Processing triggers for ufw ...
Processing triggers for man-db ...
Setting up ntp (1:4.2.4p8+dfsg-1ubuntu2) ...
useradd: cannot lock /etc/passwd; try again later.
adduser: `/usr/sbin/useradd -d /home/ntp -g ntp -s /bin/false -u 118 ntp' 
returned error code 1. Exiting.
chown: invalid user: `ntp:ntp'
dpkg: error processing ntp (--configure):
 subprocess installed post-installation script returned error exit status 1
Setting up postfix (2.7.0-1) ...
Adding group `postfix' (GID 127) ...
Done.
Adding system user `postfix' (UID 118) ...
Adding new user `postfix' (UID 118) with group `postfix' ...
useradd: cannot lock /etc/passwd; try again later.
adduser: `/usr/sbin/useradd -d /var/spool/postfix -g postfix -s /bin/false -u 
118 postfix' returned error code 1. Exiting.
dpkg: error processing postfix (--configure):
 subprocess installed post-installation script returned error exit status 1
Processing triggers for libc-bin ...
ldconfig deferred processing now taking place
Errors were encountered while processing:
 ntp
 postfix
E: Sub-process /usr/bin/dpkg returned an error code (1)

-- 
package ntp 1:4.2.4p8+dfsg-1ubuntu2 failed to install/upgrade: subprocess 
installed post-installation script returned error exit status 1
https://bugs.launchpad.net/bugs/631324
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to ntp in ubuntu.

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs

Reply via email to