Mantis - amavisd_new
Viewing Issue Advanced Details
4137 packaging major random 2010-01-10 23:29 2010-04-18 11:22
skayser  
ihsan  
normal  
closed  
fixed  
none    
none  
0004137: Missing dependency to CSWbdb44, postinstall fails
The postinstall script makes use of /opt/csw/bdb44/bin/db_* tools, but CSWamavisdnew doesn't declare a dependency on CSWbdb44. As a result, the required tools might not be available on a system and postinstall will fail.

Just reported from a user on #opencsw

22:26 < yurda> [ verifying class <cswinitsmf> ]
22:26 < yurda> ## Executing postinstall script.
22:26 < yurda> pkgadd: ERROR: postinstall script did not complete successfully
22:26 < yurda> Installation of <CSWamavisdnew> failed.
22:26 < yurda> ERROR: could not add CSWamavisdnew.
22:28 < yurda> text above is output from pkg-get -i amavisd_new
...
23:13 <@skayser> do you have /opt/csw/bdb44/bin/db_verify?
23:13 < yurda> no such file or directory: /opt/csw/bdb44/bin/db_verify
23:14 < yurda> no
23:14 < yurda> i have not
2.6.3,REV=2009.04.23
Issue History
2010-01-10 23:29 skayser New Issue
2010-01-11 07:31 yurd4 Note Added: 0007205
2010-01-17 17:40 ihsan Status new => assigned
2010-01-17 17:40 ihsan Assigned To => ihsan
2010-01-17 17:40 ihsan Status assigned => acknowledged
2010-01-17 17:46 ihsan Status acknowledged => confirmed
2010-01-17 17:49 ihsan Note Added: 0007273
2010-01-17 17:49 ihsan Status confirmed => resolved
2010-01-17 17:49 ihsan Resolution open => fixed
2010-04-18 11:22 ihsan Note Added: 0007872
2010-04-18 11:22 ihsan Status resolved => closed

Notes
(0007205)
yurd4   
2010-01-11 07:31   
Because time pressure, i did rollback to the snapshot before upgrade and check if /opt/csw/bdb44/bin/db_verify exists, and it exists. Because amavis didnt work corecctly after upgrade a tryied uninstall packages and install again and this is why bdb44 was missing.
(0007273)
ihsan   
2010-01-17 17:49   
Fixed in SVN revision 8045.
(0007872)
ihsan   
2010-04-18 11:22   
amavisd_new 2.6.4 2010.04.16 is released and fixes this issue.