ntp postinst user/group add commands are not idempotent
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
ntp (Ubuntu) |
Invalid
|
Low
|
Unassigned |
Bug Description
At do release upgrade from 12.04.05 to 14.04.01, the ntp package failed:
Errors were encountered while processing:
ntp
Error in function:
A fatal error occurred
Please report this as a bug and include the files
/var/log/
your report. The upgrade has aborted.
Your original sources.list was saved in
/etc/apt/
SystemError: E:Sub-process /usr/bin/dpkg returned an error code (1)
Could not install the upgrades
The upgrade has aborted. Your system could be in an unusable state. A
recovery will run now (dpkg --configure -a).
Please report this bug in a browser at
http://
and attach the files in /var/log/
installArchives() failed
Setting up ntp (1:4.2.
dpkg: error processing package ntp (--configure):
subprocess installed post-installation script returned error exit status 1
Errors were encountered while processing:
ntp
Upgrade complete
The upgrade has completed but there were errors during the upgrade
process.
In /var/lib/
Appended “ || /bin/true” to those lines, and “dpkg —configure ntp” succeeded.
Changed in ntp (Ubuntu): | |
assignee: | nobody → Ryan Harper (raharper) |
Same error happened now when "apt-get upgrade" tried to upgrade the ntp package to 4.2.6.p5+ dfsg-3ubuntu2.