Status confirmed.
Problem is related to previusly installed ntp package. 

Commandline: apt-get install openntpd
Install: openntpd:amd64 (3.9p1+debian-9)
Upgrade: aiccu:amd64 (20070115-14.1ubuntu3, 20070115-14.1ubuntu3)
Remove: ntp:amd64 (4.2.6.p3+dfsg-1ubuntu3.1)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Error: Sub-process /usr/bin/dpkg returned an error code (2)

Syslog:
type=1400 audit(1339489779.835:36): apparmor="DENIED" operation="open" 
parent=4844 profile="/usr/sbin/ntpd" name="/etc/openntpd/ntpd.conf" pid=4846 
comm="ntpd" requested_mask="r" denied_mask="r" fsuid=0 ouid=0

During instalation of ntp package in apparmor is instaled profile for ntpd from 
ntp package daemon.
During openntp package instalation files related to ntp package are removed 
(including profile file in apparmor) but this profile is not removed from 
apparmor daemon.
As workaround for installation openntp if ntp has been previusly installed 
1 - remove ntp package with installation
2 - reload system
3 - install openntp

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1011998

Title:
  package openntpd 3.9p1+debian-9 failed to install/upgrade: subprocess
  installed post-installation script returned error exit status 1

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/openntpd/+bug/1011998/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to