Package: mini-buildd
Version: 2.0.12~bpo12+1

E: Cronjob 'cronjob_setup_inspect': Failed: No public details (see <a href='/
mini_buildd/log/daemon.log'>daemon.log</a>) (HTTP 500 Server got itself in 
trouble): get() returned more than one Source -- it return
ed 2! [mini_buildd.cron:182]

The direct cause is

  File "/usr/lib/python3/dist-packages/mini_buildd/api.py", line 1754, in 
__run
    
base_source=util.models().Source.mbd_get_or_none(codename=codename.codename))

The problem is that we have added Origin: Node Source (from 
deb.nodesource.com) as sources, and they use the same codename as the releases 
they build for, so e.g. bullseye and bookworm.

If the aim here is to find the base source for a given distribution, shouldn't 
it be possible to do that by mini_buildd_source.id = 
mini_buildd_distribution.base_source_id rather than the codename?

(I also had a similar problem with "more than one AptKey" due to somehow 
having added the same key three times. I haven't tested if it's (still) 
possible to do that, but if possible, it should be prevented. Either way, when 
looking up a single record, it should be done via the primary key, I'm sure 
you agree.)

Regards,
-- 
Magnus Holmgren

Reply via email to