From a1ec5a007953cdd84e0ac6a0ee24e4252b724ca8 Mon Sep 17 00:00:00 2001 From: Michael Vogt Date: Tue, 26 Sep 2006 23:49:15 +0200 Subject: * DistUpgrade/DistUpgradeControler.py: - no need to enable restricted by default, things will still work without it and it may well be a conscious decision --- DistUpgrade/DistUpgradeControler.py | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) (limited to 'DistUpgrade/DistUpgradeControler.py') 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 -- cgit v1.2.3