<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 TRANSITIONAL//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; CHARSET=UTF-8">
<META NAME="GENERATOR" CONTENT="GtkHTML/3.28.3">
</HEAD>
<BODY>
On Tue, 2011-01-04 at 17:51 +0000, Richard Hughes wrote:
<BLOCKQUOTE TYPE=CITE>
<PRE>
On 4 January 2011 17:49, Adam Winberg <<A HREF="mailto:Adam.Winberg@smhi.se">Adam.Winberg@smhi.se</A>> wrote:
> packagekit complains about untrusted packages even though i have signed them and imported the key:
>
> [root@nrlx061 ~]# rpm --checksig /tmp/numlockx-1.1-1.el6.rf.x86_64.rpm
> /tmp/numlockx-1.1-1.el6.rf.x86_64.rpm: rsa sha1 (md5) pgp md5 OK
>
> "pkcon install-local /tmp/numlockx-1.1-1.el6.rf.x86_64.rpm" works fine, but when i move the rpm to a repository then i get "Message: untrusted-package: The package numlockx from repo rhel6_workstation_external is untrusted". So i thought a package was trusted if it was signed but it doesnt seem so?
Have you got the correct key in the repo file?
e.g.
gpgcheck=1
gpgkey=<A HREF="file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora-$basearch">file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora-$basearch</A>
Richard.
</PRE>
</BLOCKQUOTE>
<BR>
Hm, i thought it'd be enough to do a "rpm --import" but i have now added as per your suggestion and it works - thanks!<BR>
<BR>
/Adam
</BODY>
</HTML>