ssl-cert (1.0.11.0ubuntu1) postinst is broken
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
ssl-cert (Ubuntu) |
Fix Released
|
Medium
|
Unassigned | ||
Hardy |
Invalid
|
Medium
|
Unassigned |
Bug Description
From an attempt to install postfix in aptitude:
Preconfiguring packages ...
Selecting previously deselected package ssl-cert.
(Reading database ... 81915 files and directories currently installed.)
Unpacking ssl-cert (from .../ssl-
Selecting previously deselected package postfix.
Unpacking postfix (from .../postfix_
Setting up ssl-cert (1.0.11.0ubuntu1) ...
chgrp: cannot access `/etc/ssl/
chmod: cannot access `/etc/ssl/
dpkg: error processing ssl-cert (--configure):
subprocess post-installation script returned error exit status 1
dpkg: dependency problems prevent configuration of postfix:
postfix depends on ssl-cert; however:
Package ssl-cert is not configured yet.
dpkg: error processing postfix (--configure):
dependency problems - leaving unconfigured
Errors were encountered while processing:
ssl-cert
postfix
E: Sub-process /usr/bin/dpkg returned an error code (1)
A package failed to install. Trying to recover:
Setting up ssl-cert (1.0.11.0ubuntu1) ...
chgrp: cannot access `/etc/ssl/
chmod: cannot access `/etc/ssl/
dpkg: error processing ssl-cert (--configure):
subprocess post-installation script returned error exit status 1
dpkg: dependency problems prevent configuration of postfix:
postfix depends on ssl-cert; however:
Package ssl-cert is not configured yet.
dpkg: error processing postfix (--configure):
dependency problems - leaving unconfigured
Errors were encountered while processing:
ssl-cert
postfix
Press return to continue.
Changed in postfix: | |
status: | Unconfirmed → Confirmed |
FWIW: Running `sudo make-ssl-cert generate- default- snakeoil` and then reinstalling the ssl-cert and postfix packages seems to solve this issue.