Your message dated Sat, 03 Aug 2024 16:05:27 +0000
with message-id <[email protected]>
and subject line Bug#1017983: fixed in reprepro 5.4.5-1
has caused the Debian Bug report #1017983,
regarding reprepro: upgrade from 5.3.0-1.2 to 5.4.1-1 loses data
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
1017983: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1017983
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
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

Attachment: signature.asc
Description: PGP signature


--- End Message ---
--- Begin Message ---
Source: reprepro
Source-Version: 5.4.5-1
Done: Bastian Germann <[email protected]>

We believe that the bug you reported is fixed in the latest version of
reprepro, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to [email protected],
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Bastian Germann <[email protected]> (supplier of updated reprepro package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [email protected])


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Format: 1.8
Date: Sat, 03 Aug 2024 15:36:04 +0000
Source: reprepro
Architecture: source
Version: 5.4.5-1
Distribution: experimental
Urgency: medium
Maintainer: Bastian Germann <[email protected]>
Changed-By: Bastian Germann <[email protected]>
Closes: 1017983 1071195
Changes:
 reprepro (5.4.5-1) experimental; urgency=medium
 .
   * Import new upstream version 5.4.5
 .
   [ Simon Richter ]
   * Print complains about lockfile on stderr (Closes: #1071195)
 .
   [ Serge Schneider ]
   * database.c: Use DB_ENV->dbrename() and DB_ENV->dbremove() in
     database_translate_legacy_packages (Closes: #1017983)
Checksums-Sha1:
 fb82c5407ffcca7c923282f63fa246c1699896b6 1757 reprepro_5.4.5-1.dsc
 66f9dabb1d785cd97e3ea6c923a575499861b0cd 461776 reprepro_5.4.5.orig.tar.xz
 a4b8fdc6e05e508b3bbdc2ca2f8233dd48396ac6 15052 reprepro_5.4.5-1.debian.tar.xz
 11c376d46802d23a8e404715540be7ff6d269824 6927 reprepro_5.4.5-1_source.buildinfo
Checksums-Sha256:
 ee5f59205057c1443300b3a33c942510f7ff52536b5ead043d23433676c15c68 1757 
reprepro_5.4.5-1.dsc
 3d711d721984b0a841083542664ae99760c968e429e45a6afaeb48c47466d5c2 461776 
reprepro_5.4.5.orig.tar.xz
 9ba07710b4548cb1f0df2ebaba5ded05a2ceb3124285ff5e683a6dd0e50c4de0 15052 
reprepro_5.4.5-1.debian.tar.xz
 3892eed9dd49975d864194332c768b262ea2d7bd34f8b95f55a67ed7d8c7be61 6927 
reprepro_5.4.5-1_source.buildinfo
Files:
 7013990f6d68ad4254332138cbc9a97c 1757 utils optional reprepro_5.4.5-1.dsc
 19f2733879366aaae16fa3637035c234 461776 utils optional 
reprepro_5.4.5.orig.tar.xz
 7eaf9b309e24f0b387c209b7f57a18b3 15052 utils optional 
reprepro_5.4.5-1.debian.tar.xz
 e293bb475fdb965544c8157d128da9cb 6927 utils optional 
reprepro_5.4.5-1_source.buildinfo

-----BEGIN PGP SIGNATURE-----

iQHEBAEBCgAuFiEEQGIgyLhVKAI3jM5BH1x6i0VWQxQFAmauURwQHGJhZ2VAZGVi
aWFuLm9yZwAKCRAfXHqLRVZDFGv8DADDTTds7bttQrgshd27BJ2U0UQ++5j4u6HZ
xSn9GgVxIdNo0WBCs9bpiBwSVapiULzs/jGRFKaUtXMWFSgnsAMCNG9Vh5lpmT+V
ayM0zI4B7PiaTuhigHE2RyncEA4zqRZcMKddPY1fMc9Wi/mvQgWpqFosSeMTPWB2
V4TOmIwmU7lNxW9vL4GhMC3zNLdg7enJizQC0tdr6kkq1pvFjtv6hfAWdWbHBgQf
sB+9be3AOllfTq1URItBIElPhbCoRIA7/86bt52pa1vJINTVFswGK4pKsyO0ovgF
w2xp53zEQL5OKo+ELjR96AWC8hCuVoIJLXtwZYUfcch560vBM3Twon6REELU62St
zr9zbz7GLMMvlGM9x5yntLnm0porM4vbsnQZnEJx2vF96WZj43M/hbhaubr8rgpL
449SkmbvO/6lW7neJYnJmZJAb3tSO2IVhnyKAhcNCtzT1ud3ovpGVv086fVZJDLM
9H/Cb+4NF2yGRV5YiXKL0PErGjt3CTc=
=81yx
-----END PGP SIGNATURE-----

Attachment: pgp5eaD1pcYws.pgp
Description: PGP signature


--- End Message ---

Reply via email to