Postgresql Database Error
by peng chen
hello, fedora-buildsys-list:
when I requset a build task for pakcage "anaconda" to koji,
one errie error come out.
It detailed as follow:
pg.DatabaseError: error ' ERROR: new row for relation "task" violates
check constraint "task_weight_check" '
in ' UPDATE task SET weight=-0.9838856091396 WHERE id = 16296 '
I'm sure that the source rpm of anaconda is OK,because I succed to build
it in local mock environment. and
the repo is the same as the koji build server.
hope you do me a favor sincerely!
14 years
Signing RPMs
by Jitesh Shah
So, I picked up the sign_unsigned.py script from releng. I replaced the keys in there with our keys, tweaked some minor stuff here and there and managed to get it running.
I use it as
"./sign_unsigned.py --level <level> <tag-name>"
and it runs alright. I can see that the signatures are cached under the sigcache directory (but NOT embedded in the rpms themselves, which makes sense since the rpm can probably be a part of different tags and might be signed differently within each tag)
So, I thought, well, mash would be the one which'll embed the keys in the rpms. So, I set strict_keys to True.. added my key to the keys list in my .mash file. mash has no problems with the rpms and it can verify the signatures alright. But, it still doesn't embed the signatures in the rpm (is it supposed to?). So, the created repository still has all rpms unsigned.
What am I missing here? where to the rpms get signed actually?
Regards,
Jitesh
14 years