Example:
Package odbc-postgresql need to run odbcinst in its postinst script and therefore requires the odbcinst package to be installed before it. odbcinst in turn requires unixodbc-common and libodbcinst2. When apt is requested to install odbc-postgresql, it installs unixodbc-common, libodbcinst2, odbcinst and finally odbc-postgresql in that order.
Unfortunately, when this action restores the same packages it does so in alphabetical order libodbcinst2, odbc-postgresql, odbcinst, unixodbc-common which causes the odbc-postgresql postinst script to fail because odbcinst hasn't been installed yet.
PR forthcoming.
Example:
Package odbc-postgresql need to run
odbcinstin its postinst script and therefore requires the odbcinst package to be installed before it. odbcinst in turn requires unixodbc-common and libodbcinst2. When apt is requested to install odbc-postgresql, it installs unixodbc-common, libodbcinst2, odbcinst and finally odbc-postgresql in that order.Unfortunately, when this action restores the same packages it does so in alphabetical order libodbcinst2, odbc-postgresql, odbcinst, unixodbc-common which causes the odbc-postgresql postinst script to fail because odbcinst hasn't been installed yet.
PR forthcoming.