Univention Bugzilla – Bug 38810
univention-repository-update fails with "Configuration error: host is unresolvable" for errata component
Last modified: 2019-01-03 07:07:55 CET
We have a member server as UCS repository mirror (repository/mirror: yes) If a new patch release comes, a system upgrade (univention-upgrade) will create the corresponding UCR variables for the errata component. Say: repository/online/component/3.2-<lastminor>-errata: enabled repository/online/component/3.2-<lastminor>-errata/description: Errata updates for UCS 3.2-<lastminor> repository/online/component/3.2-<lastminor>-errata/version: 3.2 But that is not enough for univention-repository-update. It will fail with this backtrace in the /etc/apt/mirror.list file: # An error occurred during the repository check. The error message: # Traceback (most recent call last): # File "<stdin>", line 13, in <module> # File "/usr/lib/pymodules/python2.6/univention/updater/mirror.py", line 49, in __init__ # UniventionUpdater.__init__(self, check_access) # File "/usr/lib/pymodules/python2.6/univention/updater/tools.py", line 556, in __init__ # self.ucr_reinit() # File "/usr/lib/pymodules/python2.6/univention/updater/tools.py", line 611, in ucr_reinit # assert self.server.access('/univention-repository/') # File "/usr/lib/pymodules/python2.6/univention/updater/tools.py", line 481, in access # raise ConfigurationError(uri, reason) # ConfigurationError: Configuration error: host is unresolvable # # After fixing this issue, you should rewrite this file with the following command: # univention-config-registry commit /etc/apt/mirror.list # *Workaround* Explicitly set the server UCRV for the errata component, each time there is a new patch release: ~# ucr set repository/online/component/3.2-<lastminor>-errata/server="updates.software-univention.de" After that univention-repository-update will work as expected.
This issue has been filed against UCS 3. UCS 3 is out of the normal maintenance and many UCS components have vastly changed in UCS 4. If this issue is still valid, please change the version to a newer UCS version otherwise this issue will be automatically closed in the next weeks.
There is a Customer ID set so I set the flag "Enterprise Customer affected".
This issue has been filled against UCS 3.2. The maintenance with bug and security fixes for UCS 3.2 has ended on 30st of November 2016. Customers still on UCS 3.2 are encouraged to update to UCS 4.3. Please contact your partner or Univention for any questions. If this issue still occurs in newer UCS versions, please use "Clone this bug" or simply reopen the issue. In this case please provide detailed information on how this issue is affecting you.