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
will show a diff output so that I can see at a glance what changes I have made to my local smb.conf file. I already know about rpmdiff but that compares whole packages and not files.
Anyway while fiddling with this I have tried "rpm -qpi http://mirror....". Sometimes this works on my local mirror but mostly not (see below) and I have never had it to work on sunsite.org.uk.
I know this seems really trivial but I'm worried that I don't understand what's wrong.
Any opinions appreciated :-)
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... 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... error: http://10.1.1.12/Centos4/mirrors/centos/4.3/os/i386/CentOS/RPMS/samba-3.0.10...: V3 DSA signature: BAD, key ID 443e1821
# Trying the public mirror #---------------------------------------------------------------- [root@dyn-0 ~]# rpm -qpi http://www.sunsite.org.uk/sites/msync.centos.org/CentOS/4.3/os/i386/CentOS/R.... 0.10-1.4E.6.i386.rpm error: http://www.sunsite.org.uk/sites/msync.centos.org/CentOS/4.3/os/i386/CentOS/R... pm: V3 DSA signature: BAD, key ID 443e1821 [root@dyn-0 ~]# rpm -qpi http://www.sunsite.org.uk/sites/msync.centos.org/CentOS/4.3/os/i386/CentOS/R.... 0.10-1.4E.6.i386.rpm error: http://www.sunsite.org.uk/sites/msync.centos.org/CentOS/4.3/os/i386/CentOS/R... pm: V3 DSA signature: BAD, key ID 443e1821 #----------------------------------------------------------------