~brian-murray/ubuntu-release-upgrader/patching-get-distro

« back to all changes in this revision

Viewing changes to DistUpgrade/DistUpgradeController.py

  • Committer: Brian Murray
  • Date: 2015-10-21 16:19:32 UTC
  • Revision ID: brian@canonical.com-20151021161932-23yxhe7pdbw4wrdd
data/DistUpgrade.cfg: Update kernel version and types that will be
considered for removal. (LP: #1508539)

Show diffs side-by-side

added added

removed removed

Lines of Context:
1268
1268
            remove_candidates = set([p.name for p in self.installed_demotions])
1269
1269
        remove_candidates |= set(self.forced_obsoletes)
1270
1270
 
1271
 
        # no go for the unused dependencies
 
1271
        # now go for the unused dependencies
1272
1272
        unused_dependencies = self.cache._getUnusedDependencies()
1273
1273
        logging.debug("Unused dependencies: %s" %" ".join(unused_dependencies))
1274
1274
        remove_candidates |= set(unused_dependencies)