def __init__(self, conanfile):
    self._conanfile = conanfile
    self._active_tool = self._conanfile.conf.get('tools.system.package_manager:tool', default=self.get_default_tool())
    self._sudo = self._conanfile.conf.get('tools.system.package_manager:sudo', default=False, check_type=bool)
    self._sudo_askpass = self._conanfile.conf.get('tools.system.package_manager:sudo_askpass', default=False, check_type=bool)
    self._mode = self._conanfile.conf.get('tools.system.package_manager:mode', default=self.mode_check)
    self._arch = (self._conanfile.settings_build.get_safe('arch') if (self._conanfile.context == CONTEXT_BUILD) else self._conanfile.settings.get_safe('arch'))
    self._arch_names = {}
    self._arch_separator = ''
def __init__(self, conanfile):
    self._conanfile = conanfile
    self._active_tool = self._conanfile.conf.get('tools.system.package_manager:tool', default=self.get_default_tool())
    self._sudo = self._conanfile.conf.get('tools.system.package_manager:sudo', default=False, check_type=bool)
    self._sudo_askpass = self._conanfile.conf.get('tools.system.package_manager:sudo_askpass', default=False, check_type=bool)
    self._mode = self._conanfile.conf.get('tools.system.package_manager:mode', default=self.mode_check)
    self._arch = (self._conanfile.settings_build.get_safe('arch') if (self._conanfile.context == CONTEXT_BUILD) else self._conanfile.settings.get_safe('arch'))
    self._arch_names = {}
    self._arch_separator = 