summaryrefslogtreecommitdiff
path: root/DistUpgrade/DistUpgradeControler.py
diff options
context:
space:
mode:
Diffstat (limited to 'DistUpgrade/DistUpgradeControler.py')
-rw-r--r--DistUpgrade/DistUpgradeControler.py6
1 files changed, 1 insertions, 5 deletions
diff --git a/DistUpgrade/DistUpgradeControler.py b/DistUpgrade/DistUpgradeControler.py
index ad4e5335..0b822022 100644
--- a/DistUpgrade/DistUpgradeControler.py
+++ b/DistUpgrade/DistUpgradeControler.py
@@ -165,12 +165,8 @@ class DistUpgradeControler(object):
# enable main (we always need this!)
distro = Distribution()
distro.get_sources(self.sources)
- # we need both main + restricted for a real upgrade
- # restricted is required for the kernel upgrade (otherwise
- # it will just keep the kernel because linux-$arch depends on
- # linux-restricted-modules from restricted)
+ # make sure that main is enabled
distro.enable_component(self.sources, "main")
- distro.enable_component(self.sources, "restricted")
# this must map, i.e. second in "from" must be the second in "to"
# (but they can be different, so in theory we could exchange