Univention Bugzilla – Bug 33944
Updater generates broken sources.list?
Last modified: 2018-04-14 13:51:14 CEST
Reported by traceback feedback: Die Ausführung des Kommandos appcenter/packages/sections ist fehlgeschlagen: Traceback (most recent call last): File "/usr/lib/pymodules/python2.6/univention/management/console/modules/__init__.py", line 204, in execute func( request ) File "/usr/lib/pymodules/python2.6/univention/management/console/modules/decorators.py", line 305, in _response result = _multi_response(self, request) File "/usr/lib/pymodules/python2.6/univention/management/console/modules/decorators.py", line 432, in _response for res in function(self, iterator, *nones): File "/usr/lib/pymodules/python2.6/univention/management/console/modules/decorators.py", line 271, in _fake_func yield function(self, *args) File "/usr/lib/pymodules/python2.6/univention/management/console/modules/appcenter/__init__.py", line 313, in packages_sections cache = apt.Cache() File "/usr/lib/python2.6/dist-packages/apt/cache.py", line 88, in __init__ self.open(progress) File "/usr/lib/python2.6/dist-packages/apt/cache.py", line 130, in open self._list.read_main_list() SystemError: E:Typ >>t<< in Zeile 22 der Quellliste /etc/apt/sources.list.d/20_ucs-online-component.list ist unbekannt Seems like there in line 22 of /etc/apt/sources.list.d/20_ucs-online-component.list a "t" is the first word (normally: "deb"). As this file is generated by UCR, this is either an error of UniventionUpdater.print_component_repositories() or someone manually changed the file. One possible cause for this may be a "\r" in a component name? Sounds unreasonable. apt-get update does also show this error. Only fix here is to repair the broken file.
Again reported with the string "eb": SystemError: E:Typ »eb« in Zeile 14 der Quellliste /etc/apt/sources.list.d/20_ucs-online-component.list ist unbekannt Ticket #2014021321004475
(In reply to comment #1) The system was 3.2-0 errata61 (Borgfeld)
Reported again, 4.0-2 errata193 (Walle): Die Ausführung des Kommandos setup/apps/query wizard ist fehlgeschlagen: Traceback (most recent call last): File "%PY2.7%/univention/management/console/modules/__init__.py", line 176, in _decorated return function(self, request, *args, **kwargs) File "%PY2.7%/univention/management/console/modules/decorators.py", line 316, in _response result = _multi_response(self, request) File "%PY2.7%/univention/management/console/modules/decorators.py", line 460, in _response return list(function(self, iterator, *nones)) File "%PY2.7%/univention/management/console/modules/decorators.py", line 282, in _fake_func yield function(self, *args) File "%PY2.7%/univention/management/console/modules/setup/__init__.py", line 710, in apps_query return util.get_apps(True) File "%PY2.7%/univention/management/console/modules/setup/util.py", line 701, in get_apps always_noninteractive=True, File "%PY2.7%/univention/lib/package_manager.py", line 264, in __init__ self.cache = apt.Cache() File "/usr/lib/python2.7/dist-packages/apt/cache.py", line 102, in __init__ self.open(progress) File "/usr/lib/python2.7/dist-packages/apt/cache.py", line 149, in open self._list.read_main_list() SystemError: E:Typ »/dev/mapper/vg_ucs-lv_root« in Zeile 1 der Quellliste /etc/apt/sources.list.d/15_ucs-online-version.list ist unbekannt.
(In reply to Florian Best from comment #3) > Reported again, 4.0-2 errata193 (Walle): […] > SystemError: E:Typ »/dev/mapper/vg_ucs-lv_root« in Zeile 1 der Quellliste > /etc/apt/sources.list.d/15_ucs-online-version.list ist unbekannt. Sounds like the /etc/fstab has been copied to /etc/apt/sources.list.d/ accidently.
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.
This issue has been filed against UCS 3.2. UCS 3.2 is out of maintenance and many UCS components have vastly changed in later releases. Thus, this issue is now being closed. If this issue still occurs in newer UCS versions, please use "Clone this bug" or reopen this issue. In this case please provide detailed information on how this issue is affecting you.