--- /usr/share/pyshared/univention/updater/tools.py.ORIG 2011-12-02 13:23:19.000000000 +0100 +++ /usr/share/pyshared/univention/updater/tools.py 2011-12-02 12:25:52.000000000 +0100 @@ -726,12 +726,13 @@ except IOError, e: return self.COMPONENT_UNKNOWN rePath = re.compile('(un)?maintained/component/ ?%s/' % name) + reDenied = re.compile('credentials not accepted: %s$' % name) try: for line in comp_file: if line.startswith('deb ') and rePath.search(line): # stop immediately if at least one repo has been found return self.COMPONENT_AVAILABLE - elif 'credentials not accepted' in line: + elif reDenied.search(line): # stop immediately if at least one repo has authentication problems return self.COMPONENT_PERMISSION_DENIED # file contains no valid repo entry