Files
entropy/lib
Mario Fetka d7ddf15fac rescue spmsync: fix handlePackage failure when installed DB is missing
Two fixes for `equo rescue spmsync` on a system without an existing
installed packages DB:

1. client/interfaces/methods.py: Stop falling back to a GenericRepository
   (in-memory, read-only for handlePackage) when the DB file is absent.
   Instead let SQLite create the file; call initializeRepository() on a
   freshly created DB so validate() succeeds.  Corrupted DBs still fall
   back to RAM via the existing DatabaseError/SystemDatabaseError path.

2. spm/portage_plugin: Also catch OSError (not just tarfile.ReadError)
   when uncompress_tarball fails on a pure-XPAK temp file; Python 3.14
   raises OSError in this case rather than tarfile.ReadError.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-07-02 00:04:31 +02:00
..