LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 08-05-2006, 11:10 PM   #1
android6011
Member
 
Registered: May 2005
Posts: 255

Rep: Reputation: 30
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)
 
Old 08-05-2006, 11:23 PM   #2
Tinkster
Moderator
 
Registered: Apr 2002
Location: earth
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

Rep: Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928
Which distro are you using? The debian-package for ntp is called
openntpd, not ntp.


Cheers,
Tink
 
Old 08-05-2006, 11:47 PM   #3
rickh
Senior Member
 
Registered: May 2004
Location: Albuquerque, NM USA
Distribution: Debian-Lenny/Sid 32/64 Desktop: Generic AMD64-EVGA 680i Laptop: Generic Intel SIS-AC97
Posts: 4,250

Rep: Reputation: 62
Save yourself some hassles and install ntp-simple
 
Old 08-06-2006, 12:51 AM   #4
android6011
Member
 
Registered: May 2005
Posts: 255

Original Poster
Rep: Reputation: 30
well, i wish i could but I cant get rid of that error
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
apt problems? microsoft/linux Debian 3 12-29-2005 02:21 PM
Apt-get problems! Illidan Linux - Software 2 08-16-2005 01:40 AM
apt-get problems curly08 Ubuntu 4 05-06-2005 03:51 AM
apt-get problems PDD Linux - Software 1 11-11-2004 05:44 AM
APT problems Bigun Linux - Software 2 06-25-2003 12:11 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 09:17 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration