[Fuego] [PATCH v2] rpm: Fix test case rpm02.

Tim.Bird at sony.com Tim.Bird at sony.com
Wed Feb 27 22:28:13 UTC 2019



> -----Original Message-----
> From:  Zheng, Ruoqin
> 
> > This seems to be a problem with checking one of the signatures of the rpm.
> Since
> > this test is a test of basic rpm functionality, maybe we should eliminate the
> > signatures.
> >
> > What happens if you do:
> > rpm --delsign test-manual-1.2.3.noarch.rpm ?
> 
> Rpm log as follws:
> # rpm --delsign test-manual-1.2.3.noarch.rpm
> test-manual-1.2.3.noarch.rpm:
> error: test-manual-1.2.3.noarch.rpm: rpmReadSignature failed: signature
> region 62: tag number mismatch 7 ril 6 dl 792 rdl 168
> 
> # rpmsign --delsign test-manual-1.2.3.noarch.rpm
> test-manual-1.2.3.noarch.rpm:
> error: test-manual-1.2.3.noarch.rpm: rpmReadSignature failed: signature
> region 62: tag number mismatch 7 ril 6 dl 792 rdl 168
> 
> It the same error.
> 
> >
> > Please try out my idea for removing the signature.  Or alternatively, maybe
> there's
> > an rpm command line option to ignore the signature on installation?
> >
> > I see something in the man page about a '--nosignature' option.
> 
> Well, install without signature has the same error
> # rpm --nosignature -i test-manual-1.2.3.noarch.rpm
> error: test-manual-1.2.3.noarch.rpm: signature region 62: tag number
> mismatch 7 ril 6 dl 792 rdl 168
> 
> error: test-manual-1.2.3.noarch.rpm cannot be installed
> 
> >Another possibility here, is that instead of working around the problem, the
> test found a real issue that needs to be fixed in some versions of rpm.
> 
> >See https://github.com/rpm-software-management/rpm/issues/270
> 
> >It's possible that this is not a problem with the Functional.rpm, but that it
> actually found a real bug, and the test should be left alone.
> 
> Yes, maybe it's a bug,I need more test to ensure.

OK.  Please let me know the result of your investigation, and
whether you want to proceed with the change you originally requested.
For now, I'm dropping this patch.  You can re-send it again if you want
it applied in the future.

Thanks,
 -- Tim



More information about the Fuego mailing list