[opensuse-buildservice] osc importsrcpkg - _rpm.error
Hi, can not import src package. admin@atlas:~/MyObs/SIT:perl> osc importsrcpkg /srv/ftp/pub/sles10/extras/rpm/src/perl-IO-Socket-INET6-2.51-1.SIT.src.rpm warning: rpmts_HdrFromFdno: Header V3 DSA signature: NOKEY, key ID 55f4b686 Traceback (most recent call last): File "/usr/bin/osc", line 12, in <module> r = babysitter.run(osccli) File "/usr/lib/python2.5/site-packages/osc/babysitter.py", line 33, in run return prg.main() File "/usr/lib/python2.5/site-packages/osc/cmdln.py", line 256, in main return self.cmd(args) File "/usr/lib/python2.5/site-packages/osc/cmdln.py", line 279, in cmd retval = self.onecmd(argv) File "/usr/lib/python2.5/site-packages/osc/cmdln.py", line 395, in onecmd return self._dispatch_cmd(handler, argv) File "/usr/lib/python2.5/site-packages/osc/cmdln.py", line 1070, in _dispatch_cmd return handler(argv[0], opts, *args) File "/usr/lib/python2.5/site-packages/osc/commandline.py", line 2057, in do_importsrcpkg rpm_data = data_from_rpm(srpm, 'Name:', 'Summary:', '%description') File "/usr/lib/python2.5/site-packages/osc/core.py", line 3089, in data_from_rpm header = ts.hdrFromFdno(file.fileno()) _rpm.error: public key not available where should this public key be placed ? Thanks Chris --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-buildservice+help@opensuse.org
On 2008-07-07 23:07:30 +0000, Christian wrote:
Hi,
can not import src package.
admin@atlas:~/MyObs/SIT:perl> osc importsrcpkg /srv/ftp/pub/sles10/extras/rpm/src/perl-IO-Socket-INET6-2.51-1.SIT.src.rpm warning: rpmts_HdrFromFdno: Header V3 DSA signature: NOKEY, key ID 55f4b686 Traceback (most recent call last): File "/usr/bin/osc", line 12, in <module> r = babysitter.run(osccli) File "/usr/lib/python2.5/site-packages/osc/babysitter.py", line 33, in run return prg.main() File "/usr/lib/python2.5/site-packages/osc/cmdln.py", line 256, in main return self.cmd(args) File "/usr/lib/python2.5/site-packages/osc/cmdln.py", line 279, in cmd retval = self.onecmd(argv) File "/usr/lib/python2.5/site-packages/osc/cmdln.py", line 395, in onecmd return self._dispatch_cmd(handler, argv) File "/usr/lib/python2.5/site-packages/osc/cmdln.py", line 1070, in _dispatch_cmd return handler(argv[0], opts, *args) File "/usr/lib/python2.5/site-packages/osc/commandline.py", line 2057, in do_importsrcpkg rpm_data = data_from_rpm(srpm, 'Name:', 'Summary:', '%description') File "/usr/lib/python2.5/site-packages/osc/core.py", line 3089, in data_from_rpm header = ts.hdrFromFdno(file.fileno()) _rpm.error: public key not available
where should this public key be placed ?
You need to import the pubkey into your rpm db: rpm --import /path/to/pubkey. I just fixed osc in svn (r4378) to disable the signature check (IMHO it is not needed in this case). Marcus --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-buildservice+help@opensuse.org
Hi Marcus, great. now I can simply import all my packages to obs. :) Thanks for support. Could you provide information on how to setup package signing on local obs ? The signd is running on extra host. And on obs host I am able to call sign on console and signing works. But obs does not yet sign build packages. I modified BSconfig.pm our $sign = '/root/bin/sign'; but with no success. I think something is missing. Thanks for your help. Kind Regards Chris Marcus Hüwe schrieb:
On 2008-07-07 23:07:30 +0000, Christian wrote:
Hi,
can not import src package.
admin@atlas:~/MyObs/SIT:perl> osc importsrcpkg /srv/ftp/pub/sles10/extras/rpm/src/perl-IO-Socket-INET6-2.51-1.SIT.src.rpm warning: rpmts_HdrFromFdno: Header V3 DSA signature: NOKEY, key ID 55f4b686 Traceback (most recent call last): File "/usr/bin/osc", line 12, in <module> r = babysitter.run(osccli) File "/usr/lib/python2.5/site-packages/osc/babysitter.py", line 33, in run return prg.main() File "/usr/lib/python2.5/site-packages/osc/cmdln.py", line 256, in main return self.cmd(args) File "/usr/lib/python2.5/site-packages/osc/cmdln.py", line 279, in cmd retval = self.onecmd(argv) File "/usr/lib/python2.5/site-packages/osc/cmdln.py", line 395, in onecmd return self._dispatch_cmd(handler, argv) File "/usr/lib/python2.5/site-packages/osc/cmdln.py", line 1070, in _dispatch_cmd return handler(argv[0], opts, *args) File "/usr/lib/python2.5/site-packages/osc/commandline.py", line 2057, in do_importsrcpkg rpm_data = data_from_rpm(srpm, 'Name:', 'Summary:', '%description') File "/usr/lib/python2.5/site-packages/osc/core.py", line 3089, in data_from_rpm header = ts.hdrFromFdno(file.fileno()) _rpm.error: public key not available
where should this public key be placed ?
You need to import the pubkey into your rpm db: rpm --import /path/to/pubkey. I just fixed osc in svn (r4378) to disable the signature check (IMHO it is not needed in this case).
Marcus --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-buildservice+help@opensuse.org
--------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-buildservice+help@opensuse.org
participants (2)
-
Christian
-
Marcus Hüwe