openrepo
openrepo copied to clipboard
Unable to upload a specific RPM
For some reason, I am unable to upload one specific RPM file. I tried from the WebUI and CLI and I get the same error:
➭ openrepo upload redis-7.0.5-2.el7.remi.x86_64.rpm --repo_uid intello_rpm_production
Error. Received response code 400
{"detail":"Error processing uploaded file"}
The RPM file in question can be downloaded here: https://drive.google.com/file/d/1aYEvY_PKG3rDacChYFgqhoBhiy7hTbpj/view?usp=sharing
Looks like the issue is related to the package signature (DSA/SHA1):
# rpm -qpi redis-7.0.15-1.el7.remi.x86_64.rpm
el7 rpm specs:
Name : redis
Version : 7.0.15
Release : 1.el7.remi
Architecture: x86_64
Install Date: (not installed)
Group : Unspecified
Size : 5378351
License : BSD-3-Clause AND BSD-2-Clause AND MIT
Signature : DSA/SHA1, Tue Jan 9 14:06:25 2024, Key ID 004e6f4700f97f56
Source RPM : redis-7.0.15-1.el7.remi.src.rpm
Build Date : Tue Jan 9 14:02:34 2024
Build Host : builder.remirepo.net
Relocations : (not relocatable)
Packager : Remi Collet
Vendor : Remi's RPM repository <https://rpms.remirepo.net/> #StandWithUkraine
URL : http://redis.io/
Bug URL : https://forum.remirepo.net/
Summary : A persistent key-value database
We were able to remove the signature with the rpm --delsign redis-7.0.15-1.el7.remi.x86_64.rpm command and upload the package to OpenRepo:
# rpm -qpi redis-7.0.15-1.el7.remi.x86_64.rpm
Name : redis
Version : 7.0.5
Release : 2.el7.remi
Architecture: x86_64
Install Date: (not installed)
Group : Applications/Databases
Size : 5357136
License : BSD
Signature : (none) <------------------------------------------
Source RPM : redis-7.0.5-2.el7.remi.src.rpm
Build Date : Thu Sep 22 09:26:57 2022
Build Host : builder.remirepo.net
Relocations : (not relocatable)
Packager : Remi Collet
Vendor : Remi's RPM repository <https://rpms.remirepo.net/> #StandWithUkraine
URL : http://redis.io/
Bug URL : https://forum.remirepo.net/
Summary : A persistent key-value database