On 14. 11. 18 08:38, Tomáš Golembiovský wrote:
However, it seems there is no way to roll-back installation done withdpkg in case of failure.
"dpkg --purge foo" should remove any installation of "foo", including in the case when package configuration failed due to missing dependencies.
For any sane .deb the system after --purge should be in the same state as before installation.
Best regards Tomaž