mirror of
https://github.com/kevingruesser/bootstrap-vz.git
synced 2025-08-22 18:00:35 +00:00
AptUpgrade depends on GenerateLocale to avoid error messages
This commit is contained in:
parent
6628429732
commit
93cd8dae67
1 changed files with 2 additions and 1 deletions
|
@ -2,6 +2,7 @@ from base import Task
|
|||
from common import phases
|
||||
from common.tools import log_check_call
|
||||
import os
|
||||
from locale import GenerateLocale
|
||||
|
||||
|
||||
class AptSources(Task):
|
||||
|
@ -24,7 +25,7 @@ class AptSources(Task):
|
|||
class AptUpgrade(Task):
|
||||
description = 'Upgrading packages and fixing broken dependencies'
|
||||
phase = phases.system_modification
|
||||
after = [AptSources]
|
||||
after = [GenerateLocale, AptSources]
|
||||
|
||||
def run(self, info):
|
||||
rc_policy_path = os.path.join(info.root, 'usr/sbin/policy-rc.d')
|
||||
|
|
Loading…
Add table
Reference in a new issue