Bug 38112 - SystemError: Could not open file Packages.gz - open (2: No such file or directory)
SystemError: Could not open file Packages.gz - open (2: No such file or direc...
Status: CLOSED FIXED
Product: UCS
Classification: Unclassified
Component: UMC - App-Center
UCS 4.0
Other Linux
: P5 normal (vote)
: UCS 4.0-2-errata
Assigned To: Florian Best
Dirk Wiesenthal
:
: 36951 (view as bug list)
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2015-03-23 09:30 CET by Florian Best
Modified: 2015-05-28 16:49 CEST (History)
2 users (show)

See Also:
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
Max CVSS v3 score:


Attachments
SystemError.py (5.21 KB, text/x-python)
2015-05-12 13:12 CEST, Florian Best
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Florian Best univentionstaff 2015-03-23 09:30:10 CET
Execution of command 'appcenter/query' has failed:

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/appcenter/__init__.py", line 106, in query
    self.package_manager.reopen_cache()
  File "%PY2.7%/univention/lib/package_manager.py", line 648, in reopen_cache
    self.cache.open()
  File "/usr/lib/python2.7/dist-packages/apt/cache.py", line 147, in open
    self._records = apt_pkg.PackageRecords(self._cache)
SystemError: E:Could not open file /var/lib/apt/lists/updates.software-univention.de_4.0_unmaintained_4.0-1_all_Packages - open (2: No such file or directory), E:Could not open
file /var/lib/apt/lists/updates.software-univention.de_4.0_maintained_4.0-1_amd64_Packages - open (2: No such file or directory), E:Could not open file
/var/lib/apt/lists/updates.software-univention.de_4.0_maintained_4.0-1_all_Packages - open (2: No such file or directory), E:Could not open file
/var/lib/apt/lists/updates.software-univention.de_4.0_unmaintained_4.0-0_amd64_Packages - open (2: No such file or directory), E:Could not open file
/var/lib/apt/lists/updates.software-univention.de_4.0_unmaintained_4.0-0_all_Packages - open (2: No such file or directory), E:Could not open file
/var/lib/apt/lists/updates.software-univention.de_4.0_maintained_4.0-0_amd64_Packages - open (2: No such file or directory), E:Could not open file
/var/lib/apt/lists/updates.software-univention.de_4.0_maintained_4.0-0_all_Packages - open (2: No such file or directory), E:Could not open file
/var/lib/apt/lists/ucc.software-univention.de_unmaintained_component_ucc-coolsolutions_amd64_Packages - open (2: No such file or directory)

Remark:
Just uninstalled owncloud from it25

Version:
4.0-1 errata113 (Walle)
Comment 1 Florian Best univentionstaff 2015-03-23 09:31:13 CET
See also Bug #37230, Bug #36915
Comment 2 Florian Best univentionstaff 2015-05-12 13:12:05 CEST
Created attachment 6898 [details]
SystemError.py

Attaching a scripts which shows human readable error messages for every SystemError we collected via the feedback mails. (Works only with the still uncommited package manager changes).
Comment 3 Florian Best univentionstaff 2015-05-13 12:24:56 CEST

*** This bug has been marked as a duplicate of bug 36951 ***
Comment 4 Alexander Kläser univentionstaff 2015-05-26 13:32:09 CEST
(In reply to Florian Best from comment #3)
> 
> *** This bug has been marked as a duplicate of bug 36951 ***

OK, duplicate.
Comment 5 Florian Best univentionstaff 2015-05-27 10:36:14 CEST
*** Bug 36951 has been marked as a duplicate of this bug. ***
Comment 6 Janek Walkenhorst univentionstaff 2015-05-28 16:46:39 CEST
<http://errata.univention.de/ucs/4.0/196.html>
Comment 7 Janek Walkenhorst univentionstaff 2015-05-28 16:49:54 CEST
<http://errata.univention.de/ucs/4.0/203.html>