Then do-release-upgrade to move to 14.04 with no issues.
Examining the postinst scripts in current precise ( ), and various trusty versions of the ntp package, the script is always idempotent w.r.t adding the ntp group. It's not clear to me which version of the ntp package had a post-inst script that wasn't idempotent. Getting a copy of the ntp.postinst script that is failing would be most useful.
One workaround to the dist-upgrade issue is to apt-get remove --purge ntp (which will run the postrm hook to remove the ntp group) prior to upgrading.
I booted a precise server image:
ubuntu@ubuntu:~$ cat /etc/issue
Ubuntu 12.04.5 LTS \n \l
ubuntu@ubuntu:~$ uname -a
Linux ubuntu 3.2.0-88-virtual #126-Ubuntu SMP Mon Jul 6 21:50:59 UTC 2015 x86_64 x86_64 x86_64 GNU/Linux
Installed ntp:
% sudo apt-get install ntp archive. ubuntu. com/ubuntu/ precise- updates/ main ntp amd64 1:4.2.6. p3+dfsg- 1ubuntu3. 4
...
http://
ubuntu@ubuntu:~$ grep ntp /etc/group
ntp:x:112:
Then do-release-upgrade to move to 14.04 with no issues.
Examining the postinst scripts in current precise ( ), and various trusty versions of the ntp package, the script is always idempotent w.r.t adding the ntp group. It's not clear to me which version of the ntp package had a post-inst script that wasn't idempotent. Getting a copy of the ntp.postinst script that is failing would be most useful.
One workaround to the dist-upgrade issue is to apt-get remove --purge ntp (which will run the postrm hook to remove the ntp group) prior to upgrading.