Skip to content

Packages are restored in alphabetical order which can break interdependent packages. #196

@gtjoseph

Description

@gtjoseph

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.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions