Comment 5 for bug 1372051

Revision history for this message
Ryan Harper (raharper) wrote :

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
...
http://archive.ubuntu.com/ubuntu/ precise-updates/main ntp amd64 1:4.2.6.p3+dfsg-1ubuntu3.4

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.