On Sat, 8 Feb 2025 14:02:37 +0100 Slavko <li...@slavino.sk> wrote: > after upgrade od reprepro in trixie i noticed this at add (new > version) package: > > Error: database uses deprecated format. > Please run translatelegacyreferences to update to the new format > first. There have been errors! >
I tried to recovery packages.db as described in recovery file, but it ends with the same error:: reprepro -Vb . update aptmethod got 'copy:/home/slavko/tmp/dist_mv/dists/trixie/InRelease' aptmethod got 'copy:/home/slavko/tmp/dist_mv/dists/bookworm/InRelease' aptmethod got 'copy:/home/slavko/tmp/dist_mv/dists/bullseye/InRelease' aptmethod got 'copy:/home/slavko/tmp/dist_mv/dists/buster/InRelease' Calculating packages to get... processing updates for 'buster|non-free|source' reading './lists/localreadd_buster_non-free_Sources' processing updates for 'buster|non-free|amd64' reading './lists/localreadd_buster_non-free_amd64_Packages' processing updates for 'buster|main|source' packages.db/buster|main|source: BDB0088 DB_SECONDARY_BAD: Secondary index inconsistent with primary Internal error of the underlying BerkeleyDB database: Within packages.db subtable buster|main|source at c_get(DB_???NEXT): BDB0088 DB_SECONDARY_BAD: Secondary index inconsistent with primary There have been errors! It is not tied with particular suite/codename, as when i comment one, the error is raised in another. regards -- Slavko https://www.slavino.sk