upgrades: Run dpkg/apt fixes before dist upgrade

Closes: #2490 (closed)

Tests:

  • Unit tests works.

  • On a fresh stable container, enable auto updates. Run 'apt install mumble-server' and kill the apt process when it is unpacking. After this any apt install command will ask for running dpkg --configure -a. At this time, run the Testing dist upgrade. Dist upgrade starts successfully and then shows the message 'Fixing any broken apt/dpkg states...'. It also shows that packages that were not setup have been setup. Dist upgrades proceeds after that.

Signed-off-by: Sunil Mohan Adapa sunil@medhas.org

Merge request reports

Loading