Beim Eintragen eines neuen Repositories ist folgende Fehlermeldung in /etc/apt/sources.list.d/20_ucs-online-component.list aufgetaucht:
[code]# An error occurred during the repository check. The error message:
<class ‘univention.updater.errors.ConfigurationError’>: Configuration error: host is unresolvable
#[/code]
Nach einer Viertelstunde erfolgloser Fehlersuche (resolv.conf, dig, etc.) habe ich mir dann das verantwortliche Skript rausgesucht. Es war sehr hilfreich:
/usr/lib/pymodules/python2.6/univention/updater/tools.py
if res.code in (httplib.BAD_GATEWAY, httplib.GATEWAY_TIMEOUT): # 502 504
self.failed_hosts.add(req.get_host())
raise ConfigurationError(uri, 'host is unresolvable')
Bitte formulieren Sie die Fehlermeldung eindeutiger.