Bug#1122637: APT incorrectly attempts to downgrade sgml-base when CloudPanel repository is enabled on Debian 13 (Trixie)
David Kalnischkies <[email protected]> Sat, 13 Dec 2025 16:03:39 +0100
| Newsgroups | gmane.linux.debian.apt.devel |
|---|---|
| Message-ID | <dzb333zyt6mprdrfge3y5ij6n5r4s6zbp4xoolq3cqm57utzc5__15430.9542778478$1765638687$gmane$org@2phhae2o4csn> |
Am Thu, Dec 11, 2025 at 11:44:31PM -0300, schrieb Olegário A. Filho: > 2) apt policy output for the affected package > > # apt policy sgml-base > sgml-base: > Installed: 1.31+nmu1 > Candidate: 1.31+nmu1 > Version table: > *** 1.31+nmu1 500 > 500 mirror+file:/etc/apt/mirrors/debian.list trixie/main amd64 > Packages > 100 /var/lib/dpkg/status > 1.31+nmu1 1000 > 1000 https://d17k9fuiwb52nc.cloudfront.net trixie/main amd64 > Packages > > Note: the same version (1.31+nmu1) is available from both Debian’s mirror > and CloudPanel’s “trixie main” repository. That isn't the same version. It has the same version number, yes, but libapt has detected a subtil difference in those packages. Their hashes might be different if the package doesn't build reproducibly or the dependencies (versions) differ. Are you sure the packages are "copied" and not also (re)build there? Its "easiest" to look at the stanzas in the Packages files and compare those for EXACT match. libapt does slight massaging, but even a spurious 0:-epoch can throw it off (not all fields are compared, but without looking I suspect a dependency with a non- canonical version number that is differently formatted by different tools. libapt does not canonicalize version numbers – too expensive). Given the versions are different and apt detects the installed one as the one from Debian (also hinting at a small difference caused by different repository generators) the behaviour you encounter is actually the one you have configured to happen and is correct. If the versions are detected as the same, they are grouped together under the same version number, like the Debian version and the installed version are grouped together. The other one would be the third line in this group – if they were detected as the same. Best regards David Kalnischkies
signature.asc
(application/pgp-signature, 833 B)
-----BEGIN PGP SIGNATURE----- iQIyBAABCgAdFiEE5sn+Q4uCja/tn0GrMRvlz3HQeIMFAmk9gEMACgkQMRvlz3HQ eIMbyg/0CLbbcJzBB1AIGIyqOw83iOPzGsmXlbUW5M7usYvGQIUye8qbwPdgG3ps +3EsPFKIXamytySPJUgMZ1GFt/hmfbsRLx1lDcz3HfiEBuVJQjG5lyzIrhRaWh+3 4IZdxUueMtXn8w830NKc65DYhHaCbWv+wbGKKZPITqLVU/DmnP2dut9e5IytnUmY oXfj8BteyAC7rK6z2Ync4KzorJnV9LB4VOfm0TdUEt/05YoJ3zIjMN7sF3b2xWgX r5vyx2Zgb/mpM6Td4of8WSkyq63wuLeSMnQBCzKOHPdOVsWuVsynO7dQ0V5/NMsf XezIw4Bb8RV2qyHwbYOrC8VbVq7uMiizC7MZRcen7y7zOBueNDuzKlSt8v5u0J8R 8hVKYkVzDELUy9hMlC5aY5WjOPU0cHF6KbqGzh1QDnbEG1pWcTudcZ3A65yCxTpz ey74bhP0MtRCyDhBP098PW4xMMIXp9FGJXCuiE+SP0hWf6TsMw1brZi1hBDuKMyd iz9K+k/bOzVoss9T+wd3GlNZUo+OfpWOmXCDKuq4XnDkEQf0QKcplLRg+xhUaFLV 36EYWhISNlShVXHHgx2ZIFNxsbtJTPfWZLZfPiiOJXb66qOPXra/qWJnLJo836ok JWxygB0kXvKistiBYOiuN5S1zFmUXOKJCxw7MfTEqVV74BR6eA== =+9uY -----END PGP SIGNATURE-----