postgrey 1.36-1 should depend on libnetaddr-ip-perl but does not
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
postgrey (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
This causes postgrey to fail to start on installation:
Setting up postgrey (1.36-1) ...
Job for postgrey.service failed because the control process exited with error code.
See "systemctl status postgrey.service" and "journalctl -xe" for details.
invoke-rc.d: initscript postgrey, action "start" failed.
● postgrey.service - LSB: Start/stop the postgrey daemon
Loaded: loaded (/etc/init.
Active: failed (Result: exit-code) since Thu 2016-08-18 17:59:59 EDT; 4ms ago
Docs: man:systemd-
Process: 14797 ExecStart=
Aug 18 17:59:59 michaelmarley.com systemd[1]: Starting LSB: Start/stop the postgrey daemon...
Aug 18 17:59:59 michaelmarley.com postgrey[14797]: * Starting postfix greylisting daemon postgrey
Aug 18 17:59:59 michaelmarley.com postgrey[14797]: Can't locate NetAddr/IP.pm in @INC (you may need to install the NetAddr::IP modul...
Aug 18 17:59:59 michaelmarley.com postgrey[14797]: BEGIN failed--compilation aborted at /usr/sbin/postgrey line 14.
Aug 18 17:59:59 michaelmarley.com systemd[1]: postgrey.service: Control process exited, code=exited status=2
Aug 18 17:59:59 michaelmarley.com systemd[1]: Failed to start LSB: Start/stop the postgrey daemon.
Aug 18 17:59:59 michaelmarley.com systemd[1]: postgrey.service: Unit entered failed state.
Aug 18 17:59:59 michaelmarley.com systemd[1]: postgrey.service: Failed with result 'exit-code'.
Hint: Some lines were ellipsized, use -l to show in full.
dpkg: error processing package postgrey (--configure):
subprocess installed post-installation script returned error exit status 1
Errors were encountered while processing:
postgrey
Installing the libnetaddr-ip-perl package fixes the problem.