diff options
| author | Michael Vogt <michael.vogt@ubuntu.com> | 2006-09-26 23:49:15 +0200 |
|---|---|---|
| committer | Michael Vogt <michael.vogt@ubuntu.com> | 2006-09-26 23:49:15 +0200 |
| commit | a1ec5a007953cdd84e0ac6a0ee24e4252b724ca8 (patch) | |
| tree | b433995c652e2c248f8d0e09c1362e4ccfc5319f /DistUpgrade | |
| parent | a7d1b0dd42e27785636db09b94a8fed834edebab (diff) | |
| download | python-apt-a1ec5a007953cdd84e0ac6a0ee24e4252b724ca8.tar.gz | |
* DistUpgrade/DistUpgradeControler.py:
- no need to enable restricted by default, things will still work
without it and it may well be a conscious decision
Diffstat (limited to 'DistUpgrade')
| -rw-r--r-- | DistUpgrade/DistUpgradeControler.py | 6 |
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 |
