Package: reprepro Version: 5.4.1-1 Severity: important Tags: upstream Hello,
I recently tested an upgrade of reprepro from the version in bullseye
(5.3.0-1.2) to the experimental version (5.4.1-1) to allow us to use
the Limit feature.
After the database migration, no packages are found in the database.
This is a fairly large packages database (around about 4.6GiB on disk)
with a lot of suites etc. After some debugging, I find that during
the upgrade process (in databases.c), this while loop is never actually
entered:
while (cursor_next(legacy_databases, databases_cursor, &Key, &Data)) {
}...
which seems to cause the migration to fail (nothing is done) and new
databases to be created the next time you use a reprepro command
leading to nothing being present in any of the suites.
I've kept a copy of the old packages database but, as mentioned, it's
large so making it available is tricky.
It's been many years since I worked with BDB, so any suggestions as to
how to debug further would be helpful.
Thanks,
Mark
signature.asc
Description: PGP signature

