running yum with --nosignature

JD jd1008 at gmail.com
Sun Jun 3 07:07:41 UTC 2012


On 06/02/2012 11:34 PM, Ed Greshko wrote:
> On 06/03/2012 02:15 PM, JD wrote:
>> D: Using legacy gpg-pubkey(s) from rpmdb
>> error:xfdr-2.0.1.src.rpm: rpmReadSignature failed: sigh load: BAD
>> error:xfdr-2.0.1.src.rpm: not an rpm package (or package manifest)
>> D: closed   db index       /var/lib/rpm/Name
>> D: closed   db index       /var/lib/rpm/Packages
>> D: closed   db environment /var/lib/rpm
> You are not using the same physical file in both cases, are you?
>
> I mean you moved/copied, somehow, the file from your chroot environment (working) to
> the failing environment.  Yes?
>
> If that is correct, then can you run a checksum on both to see if they match?  You
> can use sha256, for example.
>
Well, of course I had to copy the file into the
mounted fc14 image in order for me  to use
it's rpm command while chrooted.

In chrooted env (i.e. fc14):
$ cd /tmp
$ sha256sum xfdr-2.0.1.src.rpm
2b3a033030f39ae790d790202fe6df9b096a00df05e6a830dee86558f315286f  
xfdr-2.0.1.src.rpm

In fc16 (failing env):
$ cd ~/rpmbuild/SRPMS
$ sha256sum xfdr-2.0.1.src.rpm
2b3a033030f39ae790d790202fe6df9b096a00df05e6a830dee86558f315286f  
xfdr-2.0.1.src.rpm






More information about the users mailing list