[Bug 1473070] Re: sa-update fails to run

Robie Basak 1473070 at bugs.launchpad.net
Fri Jul 10 12:49:04 UTC 2015


Thank you for taking the time to report this bug and helping to make
Ubuntu better.

The relevant code from samba-common.postinst is:

# Clean up the now-empty dir which our conffile was previously in,
# since it wasn't empty at the time dpkg could automatically remove it
# for us.
if dpkg --compare-versions "$2" lt-nl 2:4.1.4+dfsg-2~
then
	rmdir -p --ignore-fail-on-non-empty /etc/dhcp3/dhclient-enter-hooks.d
fi

and the postinst error is:

rmdir: failed to remove ‘/etc/dhcp3/dhclient-enter-hooks.d’: No such
file or directory

It seems to me that the postinst is missing a test for the directory
first, and the code is still present in Debian VCS master. This needs a
more detailed look.

** Changed in: spamassassin (Ubuntu)
   Importance: Undecided => High

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to the bug report.
https://bugs.launchpad.net/bugs/1473070

Title:
  sa-update fails to run

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



More information about the Ubuntu-server-bugs mailing list