On Thu, Aug 08, 2019 at 03:16:31PM +0200, Arne Nordmark wrote: > Package: openafs-fileserver > Version: 1.8.2-1 > Severity: normal > > The stanza > > if [ -r /etc/openafs/server/rxkad.keytab ] ; then > akeyconvert > fi > > in the postinst will fail if openafs-krb5 is not installed or is of version > 1.6. > > This happens for example when doing a partial upgrade from stretch to buster > using apt-get upgrade. > > A dependency on openafs-krb5 should be added to the package.
Thanks for the report; this is quite clearly a bug in the maintainer script. I will think a bit about whether it is better to leave the akeyconvert invocation in openafs-fileserver and make it conditional on akeyconvert's presence, add the openafs-krb5 dependency, or move the call to the openafs-krb5 maintainer script. Adding the hard dependency would break a property that the original packaging split had as a strong requirement, though the incentive to have that requirement is probably much smaller now that it was originally. -Ben