Univention Bugzilla – Bug 38129
SystemError: E:Write error - write (28: No space left on device)
Last modified: 2015-05-28 16:49:58 CEST
Reported by traceback feedback: 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:Write error - write (28: No space left on device), E:IO Error saving source cache, E:The package lists or status file could not be parsed or opened. Version: 4.0-1 errata113 (Walle)
This similar traceback has been reported: 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:Datei >>20_ucs-online-component.list.old<< in Verzeichnis >>/etc/apt/sources.list.d/<< wird ignoriert, da sie eine ung?ltige Dateinamen-Erweiterung hat., E:Schreibfehler - write (28: Auf dem Ger?t ist kein Speicherplatz mehr verf?gbar), E:E/A-Fehler beim Speichern des Quell-Zwischenspeichers, E:Die Paketliste oder die Statusdatei konnte nicht eingelesen oder ge?ffnet werden. Remark: Beim Installieren von zusätzlichen App (Software) Paketen ist dieser Fehler aufgetreten. Version: 4.0-1 errata142 (Walle)
The following error message is shown now: """ Could not initialize package manager. There is no free hard disk space left on the device. Further information regarding the error: Error: IO Error saving source cache. Error: The package lists or status file could not be parsed or opened. """ Should I strip the further information (patch=one additional line)? IMHO they are OK. YAML: 2015-05-12-univention-lib.yaml Package: univention-lib Version: 4.0.5-16.300.201505131140
Created attachment 6922 [details] Screenshot error message I would like to point out the following points: * IMHO there are too many empty lines before "Further information...". * The last two lines are in German, although my session is in English. * Little rewording → "Further information regarding this error:" * "Could not initialize the package manager" → OK, it helps us as developers, but it does not really help the user (what is a "package manger")... Otherwise, I think this is very nice. The recipe for reproducing this error is as follows... dd if=/dev/zero of=floppy.img bs=512 count=100000 losetup /dev/loop0 floppy.img mkfs -t ext2 /dev/loop0 mount -t ext2 /dev/loop0 /var/cache/apt/ apt-get update This setup yiels a 50MB partition for /var/cache/apt ... maybe a bit more would be even better, nevertheless, after trying to install some applications, calling "apt-get clean" as well as "pkill -f http" (→ apt-get might stall during download) here and there, I could provoke this error message.
(In reply to Alexander Kläser from comment #3) > * IMHO there are too many empty lines before "Further information...". Yes, one line has been removed. > * The last two lines are in German, although my session is in English. Should be fixed again with latest UMC-Server packages. > * Little rewording → "Further information regarding this error:" done > * "Could not initialize the package manager" → OK, it helps us as > developers, but it does not really help the user (what is a "package > manger")... I leave it this way as there are also messages which don't have additional text. It is also an indicator for us where the error comes from.
(In reply to Florian Best from comment #4) > (In reply to Alexander Kläser from comment #3) > > * IMHO there are too many empty lines before "Further information...". > Yes, one line has been removed. Looks good now. > > * The last two lines are in German, although my session is in English. > Should be fixed again with latest UMC-Server packages. Hm... not really. I still experience this problem (on 2 different VMs). We observed that we have different locales on our VMs, Florian (as you did not observe this problem): locale/default: de_DE.UTF-8:UTF-8 locale: de_DE.UTF-8:UTF-8 en_US.UTF-8:UTF-8 Curiously, the /proc/XYZ/environ file contains: LANG=de_DE.UTF-8 → but this is a different bug. > > * Little rewording → "Further information regarding this error:" > done > > * "Could not initialize the package manager" → OK, it helps us as > > developers, but it does not really help the user (what is a "package > > manger")... > I leave it this way as there are also messages which don't have additional > text. It is also an indicator for us where the error comes from. OK. → VERIFIED
<http://errata.univention.de/ucs/4.0/196.html>
<http://errata.univention.de/ucs/4.0/203.html>