Reported by valleegr on 12 Feb 2011 05:02 UTC
The old ''setup'' script for OSCAR packages is specified as being ''api-pre-install'' with the new API. However, how is it possible to call a script from a package before the package is actually installed?
It seems to me that it should be ''api-post-install''.
We have this problem on Debian with ODA:
Unpacking opkg-oda (from .../opkg-oda_1.32.2-1_all.deb) ...
/var/lib/dpkg/ tmp.ci/preinst : 2:
/var/lib/oscar/packages/oda/api-pre-install: not found
dpkg: error processing
/var/cache/apt/archives/opkg-oda_1.32.2-1_all.deb (--unpack):
subprocess new pre-installation script returned error exit status 127
Errors were encountered while processing:
/var/cache/apt/archives/opkg-oda_1.32.2-1_all.deb
I guess the doc is off and script to convert packages is wrong.
Comment by valleegr on 14 Feb 2011 17:27 UTC
I renamed the ODA script to api-post-install and it works like a charm. The documentation is also updated. I close the ticket.
Reported by valleegr on 12 Feb 2011 05:02 UTC The old ''setup'' script for OSCAR packages is specified as being ''api-pre-install'' with the new API. However, how is it possible to call a script from a package before the package is actually installed? It seems to me that it should be ''api-post-install''.
We have this problem on Debian with ODA:
I guess the doc is off and script to convert packages is wrong.