diff --git a/lib/entropy/db/sqlite.py b/lib/entropy/db/sqlite.py index 8eb343050..cbb121a28 100644 --- a/lib/entropy/db/sqlite.py +++ b/lib/entropy/db/sqlite.py @@ -2475,7 +2475,7 @@ class EntropySQLiteRepository(EntropySQLRepository): ALTER TABLE needed_libs_temp RENAME TO needed_libs; DROP TABLE IF EXISTS neededreference; - DROP TABLE IF EXISTS needed; + DELETE FROM needed; COMMIT; """) self._clearLiveCache("_doesTableExist")