Testing an upgrade from T to X with the the -lts-xenial stack installed we can find out the following using ipdb in checkFreeSpace.
ipdb> pkg.name 'linux-image-4.4.0-47-generic' ipdb> pkg.installed <Version: package:'linux-image-4.4.0-47-generic' version:'4.4.0-47.68~14.04.1'> ipdb> pkg.marked_upgrade True So it seems like we should check to see if the pkg is marked_upgrade. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1640645 Title: subprocess installed post-installation script returned error exit status 2 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/ubuntu-release-upgrader/+bug/1640645/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs