[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Guidance on version-identical source packages with different checksums



Hi,

On 2025-10-21 14:00, MOESSBAUER, Felix wrote:
Our assumption was, that a Debian source package is precisely
identified by its name and version, but this does not seem to be true.
Is this indeed not required by the policies, or are these findings
bugs?

At my work we identified these by dsc hash instead, because that's the hash dictionary for all the other files. I think that's the right way for all Debian artifacts.

We just found another package where the .dsc file is listed multiple
times, this time semantically identical, but with an updated signature
(same key, different timestamp). One of the artifacts is also found in
the current bookworm release [3]. Adding the key owners in CC.

Snapshot by design is able to serve any content, any artifact can change. For instance debian-security and debian proper are technically separate archive instances and there is a copy process from security to the main archive. Sometimes that fails and a new dsc is signed for the main archive upload. Most of the time we try to reinject the original artifact though.

So yes, that can happen - especially if the archive has forgotten about the artifact (reupload of an old, removed version - even though that'd be heavily discouraged) or if there are separate archives. If you are supporting archives outside of Debian proper, you already need to be able to handle changes in the files, I think.

Kind regards
Philipp Kern


Reply to: