On Thu, 2006-06-15 at 11:56 +0100, Rob Watkin wrote: > Hi everyone, > > I am writing a small tool that will compare a file on my machine with > the the same file on an rpm repository and then give me a diff. > > E.g. > # rpm-file-diff /etc/samba/smb.conf > <snip> > Any opinions appreciated :-) Well, I'm new at this stuff, so no opinion. But I have a Q, based on things that I bumped into as I began up this arduous road. I'll keep you breathlessly in suspense by saying "see below"! :-) > > Rob Watkin > > # On my local mirror > # --------------------------------------------------------------- > [root@dyn-0 ~]# rpm -qpi > http://10.1.1.12/Centos4/mirrors/centos/4.3/os/i386/CentOS/RPMS/samba-3.0.10-1.4E.6.i386.rpm > Name : samba Relocations: (not > relocatable) > Version : 3.0.10 Vendor: CentOS > Release : 1.4E.6 Build Date: Wed 08 Mar 2006 > 13:59:28 GMT > [snip] > TCP/IP (NetBT) protocols and does NOT need the NetBEUI (Microsoft Raw > NetBIOS frame) protocol. > > # 3 seconds later > #---------------------------------------------------------------- > [root@dyn-0 ~]# rpm -qpi > http://10.1.1.12/Centos4/mirrors/centos/4.3/os/i386/CentOS/RPMS/samba-3.0.10-1.4E.6.i386.rpm > error: > http://10.1.1.12/Centos4/mirrors/centos/4.3/os/i386/CentOS/RPMS/samba-3.0.10-1.4E.6.i386.rpm: V3 DSA signature: BAD, key ID 443e1821 > For the above and subsequent, I had something *similar* (memory unclear) when I had not imported the GPG keys into rpm yet. Could be your issue? I recall that the CentOS sites had instructions and the man for rpm also tells how. IIRC, there are a couple public key sites that seem to have all the keys. I've used these two. wwwkeys.pgp.net hkp://subkeys.pgp.net > <snip> HTH -- Bill
Attachment:
signature.asc
Description: This is a digitally signed message part
_______________________________________________ CentOS mailing list CentOS@xxxxxxxxxx http://lists.centos.org/mailman/listinfo/centos