Univention Bugzilla – Bug 42481
Empty sources.list may result in unwanted package operations
Last modified: 2017-04-04 18:29:27 CEST
The fix needs to be merged to UCS 4.2. +++ This bug was initially created as a clone of Bug #42450 +++ We found in /etc/apt/sources.list.d/15_ucs-online-version.list # 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.7/univention/updater/tools.py", line 579, in __init__ # self.ucr_reinit() # File "/usr/lib/pymodules/python2.7/univention/updater/tools.py", line 660, in ucr_reinit # assert self.server.access(None, '') # File "/usr/lib/pymodules/python2.7/univention/updater/tools.py", line 488, in access # raise ConfigurationError(uri, reason) # ConfigurationError: Configuration error: host is unresolvable Only 4.1-3-errata was included in 20_ucs-online-component.list This resulted in the following apt-get operation set: Statusinformationen werden eingelesen.... Die folgenden Pakete werden ENTFERNT: univention-management-console univention-management-console-module-setup univention-server-master Die folgenden NEUEN Pakete werden installiert: univention-nagios-samba Die folgenden Pakete sind zurückgehalten worden: python-univention-appcenter Die folgenden Pakete werden aktualisiert (Upgrade): libidn11 libpython2.7 libxslt1.1 python-univention-connector-s4 [...] The problem came from added dependencies in univention-management-console-module-setup and python-univention-appcenter in the latest 4.1-3 errata updates. These dependencies could not be found and thus the packages were not installed / had to be removed. The updater should not operate under these conditions. Also, the sources.list should rewrite itself. We got feedback that later on, the error messages disappeared.
r72769 | Bug #42450 up: Assert valid /etc/apt/sources.list.d/15_ucs-online-version.list
OK, looks good. Changelog entry is not required.
UCS 4.2 has been released: https://docs.software-univention.de/release-notes-4.2-0-en.html https://docs.software-univention.de/release-notes-4.2-0-de.html If this error occurs again, please use "Clone This Bug".