apt-get problems
I tried to install ntp through apt-get, but it failed. I dont want to bother messing with it to install it, so i just forgot about it but now when I try to apt-get install anything I get the following
machination-deb:/usr/src/linux-2.6.18-rc3# apt-get install insertpkghere Reading package lists... Done Building dependency tree... Done dpkg is already the newest version. 0 upgraded, 0 newly installed, 0 to remove and 31 not upgraded. 1 not fully installed or removed. Need to get 0B of archives. After unpacking 0B of additional disk space will be used. Setting up ntp (4.2.2+dfsg-1) ... useradd: invalid numeric argument 'ntp' adduser: `/usr/sbin/useradd -d /home/ntp -g ntp -s /bin/false -u 106 ntp' returned error code 3. Exiting. chown: `ntp:ntp': invalid user useradd: invalid numeric argument 'ntp' adduser: `/usr/sbin/useradd -d /home/ntp -g ntp -s /bin/false -u 106 ntp' returned error code 3. Exiting. chown: `ntp:ntp': invalid user /etc/init.d/ntp: user ntp does not exist invoke-rc.d: initscript ntp, action "stop" failed. dpkg: error processing ntp (--configure): subprocess 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) |
Which distro are you using? The debian-package for ntp is called
openntpd, not ntp. Cheers, Tink |
Save yourself some hassles and install ntp-simple
|
well, i wish i could but I cant get rid of that error
|
All times are GMT -5. The time now is 03:33 PM. |