Univention Bugzilla – Full Text Bug Listing |
Summary: | SystemError: E:Problem renaming the file - rename (2: No such file or directory) | ||
---|---|---|---|
Product: | UCS | Reporter: | Florian Best <best> |
Component: | UMC - App-Center | Assignee: | Florian Best <best> |
Status: | CLOSED FIXED | QA Contact: | Dirk Wiesenthal <wiesenthal> |
Severity: | normal | ||
Priority: | P5 | CC: | gohmann, walkenhorst |
Version: | UCS 4.0 | ||
Target Milestone: | UCS 4.0-2-errata | ||
Hardware: | Other | ||
OS: | Linux | ||
See Also: |
https://forge.univention.org/bugzilla/show_bug.cgi?id=35352 https://forge.univention.org/bugzilla/show_bug.cgi?id=38112 |
||
What kind of report is it?: | --- | What type of bug is this?: | --- |
Who will be affected by this bug?: | --- | How will those affected feel about the bug?: | --- |
User Pain: | Enterprise Customer affected?: | ||
School Customer affected?: | ISV affected?: | ||
Waiting Support: | Flags outvoted (downgraded) after PO Review: | ||
Ticket number: | Bug group (optional): | Error handling, External feedback, Usability | |
Max CVSS v3 score: |
Description
Florian Best
2014-12-08 12:08:00 CET
Reported again, 4.0-0 errata0 (Walle). Traceback: Traceback (most recent call last): File "/usr/lib/pymodules/python2.7/univention/management/console/protocol/modserver.py", line 265, in handle self.__handler.init() File "/usr/lib/pymodules/python2.7/univention/management/console/modules/apps/__init__.py", line 57, in init always_noninteractive=True, File "/usr/lib/pymodules/python2.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 145, in open self._cache = apt_pkg.Cache(progress) SystemError: E:Problem beim Umbenennen der Datei /var/cache/apt/srcpkgcache.bin.954KLM nach /var/cache/apt/srcpkgcache.bin - rename (2: Datei oder Verzeichnis nicht gefunden), E:Problem beim Umbenennen der Datei /var/cache/apt/pkgcache.bin.f02tYU nach /var/cache/apt/pkgcache.bin - rename (2: Datei oder Verzeichnis nicht gefunden), E:Die Paketliste oder die Statusdatei konnte nicht eingelesen oder ge?ffnet werden. And another one, 4.0-1 errata193 (Walle). Traceback (most recent call last): File "%PY2.7%/univention/management/console/protocol/modserver.py", line 266, in handle self.__handler.init() File "%PY2.7%/univention/management/console/modules/appcenter/__init__.py", line 86, in init lock=False, 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 145, in open self._cache = apt_pkg.Cache(progress) SystemError: W:Ignoring file '20_ucs-online-component.list.old' in directory '/etc/apt/sources.list.d/' as it has an invalid filename extension, W:Ignoring file '20_ucs-online-component.list.old' in directory '/etc/apt/sources.list.d/' as it has an invalid filename extension, W:Ignoring file '20_ucs-online-component.list.old' in directory '/etc/apt/sources.list.d/' as it has an invalid filename extension, E:Problem renaming the file /var/cache/apt/pkgcache.bin.i85lEb to /var/cache/apt/pkgcache.bin - rename (2: No such file or directory), W:You may want to run apt-get update to correct these problems I could not provoke this error (tried e.g.:) from univention.lib.package_manager import PackageManager; from time import sleep; import subprocess; subprocess.call('ucr commit /etc/apt/sources.list.d/* &', shell=True); subprocess.call('apt-get update &', shell=True); sleep(0.5); p = PackageManager() The error message is now replaced by a more meaningful one. YAML: 2015-05-12-univention-management-console-module-appcenter.yaml Package: univention-management-console-module-appcenter Version: 4.1.20-27.354.201505131459 Reported again, 4.0-2 errata194 (Walle) Remark: Aufruf Appcenter nach Einspielen des letzten Errata Levels Traceback (most recent call last): File "%PY2.7%/univention/management/console/protocol/modserver.py", line 266, in handle self.__handler.init() File "%PY2.7%/univention/management/console/modules/appcenter/__init__.py", line 86, in init lock=False, 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 145, in open self._cache = apt_pkg.Cache(progress) SystemError: E:Problem beim Umbenennen der Datei /var/cache/apt/pkgcache.bin.Pq0wV7 nach /var/cache/apt/pkgcache.bin - rename (2: Datei oder Verzeichnis nicht gefunden), W:Probieren Sie >>apt-get update<<, um diese Probleme zu korrigieren. Reported again, 4.0-2 errata194 (Walle) Remark: Start App Center OK, cannot reproduce either. Initialization of the apt.Cache is retried 10 times. This feels like a timing issue and should go away by this workaround... |