On a clean Jessie box I just got:

Error: The new file /usr/share/doc/aegir3-provision/examples/example.sudoers does not exist!
dpkg: error processing package aegir3-provision (--configure):
 subprocess installed post-installation script returned error exit status 1

dpkg -L aegir3-provision claims that the file should be included ... but ls does not agree.

CommentFileSizeAuthor
#4 sudo_example_for_debian-2539124-4.patch1.57 KBhelmo
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

helmo’s picture

Issue summary: View changes

Only the directories for the examples exist... not the files .

I do get them with:
dpkg -x /var/cache/apt/archives/aegir3-provision_3.0.1_all.deb /tmp/foo

helmo’s picture

Doh,

Seems to be a result of this line in /etc/apt/apt.conf.d
APT::Install-Recommends "false";

A openstack powered server had this as default, and because of this no mysql server was installed.

helmo’s picture

felt too good to be true... still same error.

helmo’s picture

Status: Active » Needs review
FileSize
1.57 KB

It turned out to be a well intentioned disk space saving option in /etc/dpkg/dpkg.cfg.d/01_nodoc included:

path-exclude /usr/share/doc/*

Which made the file unavailable.

This could be the patch for it... but I don't have time to test it :(
If it works then the same change should be done to the aegir3-cluster-slave package.

helmo’s picture

Title: Sudo example for debian package missing? » Sudo example missing in minimalistic debian install
gboudrias’s picture

Was this pushed to dev already? I don't remember having this specific error with the unstable package on Jessie.

gboudrias’s picture

Ok, so this clearly hasn't been committed yet, maybe obscured by #2347557: No systemd service file for queue runner?

Any clues on how to test this? I'm still not familiar enough with debian packages.

helmo’s picture

To test we'd have to (manually) build a package and try to install it I guess.

  • helmo committed cd5ce3e on 7.x-3.x
    Issue #2539124 by helmo: Sudo example missing in minimalistic debian...

  • helmo committed 355cd01 on 7.x-3.x
    Revert "Issue #2539124 by helmo: Sudo example missing in minimalistic...
helmo’s picture

Status: Needs review » Closed (won't fix)

I tried and it broke the package build.

Calling this won't fix... #4 is a good enough workaround for now... unless someone comes up with a proper solution.