Comment 1 for bug 2020406

Revision history for this message
Dimitri John Ledkov (xnox) wrote :

The proposal is similar to how we deal with PPAs on upgrades. At the upgrade start we disable PPAs, tell user we do this, and then do not re-enable them after the install is completed.

We should do the same with dkms: disable dkms autoinstall, and at the end of the upgrade re-enable autoinstall without attempting to configure/build/enable any dkms packages.

In practical terms it means, at the start of the upgrade we should `touch /etc/dkms/no-autoinstall` and at the end of the upgrade `rm -f /etc/dkms/no-autoinstall`.