def __init__(self, conf=None, options=None):
        super(PacmanConfig, self).__init__()
        self['options'] = collections.OrderedDict()
        self.options = self['options']
        self.repos = collections.OrderedDict()
        self.options["RootDir"] = "/"
        self.options["DBPath"] = "/var/lib/pacman"
        self.options["GPGDir"] = "/etc/pacman.d/gnupg/"
        self.options["LogFile"] = "/var/log/pacman.log"
        self.options["Architecture"] = os.uname()[-1]
        if conf is not None:
            self.load_from_file(conf)
        if options is not None:
            self.load_from_options(options)