RES: erro: can't create transaction lock install .rpm

oldman talbotscott at cox.net
Wed Dec 6 19:24:38 UTC 2006


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Rildo wrote:
> I have root user 
> 
> See
> 
> 
> [root at mastermail fc3]# rpm -ivh sendmail-devel-8.13.1-2.i386.rpm 
> aviso: sendmail-devel-8.13.1-2.i386.rpm: V3 DSA signature: NOKEY, key ID
> 4f2a6fd2
> erro: can't create transaction lock
> [root at mastermail fc3]# 
> [root at mastermail fc3]# 
> [root at mastermail fc3]# rpm -Uvh sendmail-devel-8.13.1-2.i386.rpm 
> aviso: sendmail-devel-8.13.1-2.i386.rpm: V3 DSA signature: NOKEY, key ID
> 4f2a6fd2
> erro: can't create transaction lock
> [root at mastermail fc3]#
> 
> 
> -----Mensagem original-----
> De: fedora-list-bounces at redhat.com
> [mailto:fedora-list-bounces at redhat.com] Em nome de Patrick
> Enviada em: quarta-feira, 6 de dezembro de 2006 15:35
> Para: For users of Fedora
> Assunto: Re: erro: can't create transaction lock install .rpm
> 
> On Wed, 2006-12-06 at 15:29 -0200, Rildo wrote:
>> HI, I am so Brazil 
>>
>> what does it mean when I do
>>
>> #rpm -ivh sendmail-devel.rpm, it turns backs 
>> with message " aviso: sendmail-devel-8.13.1-2.i386.rpm: V3 DSA
>> signature: NOKEY, key ID 4f2a6fd2
rpm is complaining that you do not have the gpg key to verify that the
package is the correct one

rpm --import /etc/pki/rpm-gpg/*

should load all of the fedora basic keys into a database which rpm will
use.  If you did not get this file from a fedora repository you may need
to get the gpg key from that repository.

you can also try:

rpm -ivh --nosignature sendmail-devel

I believe that --nosignature will cause rpm to not look for a gpg key
(could be I'm wrong)

finally if all else fails, yum will ignore gpg keys if told to do so.
You will need to edit the /etc/yum.conf file and change the line that
says gpgcheck = 1(or something like that) to gpg check = 0 (it might be
on or yes, in which case change to off or no as the case may be)


hth

Scott

>>
>> erro: can't create transaction lock "
> 
> You need to be root to install an RPM. If you have setup sudo than you
> can do
> $ sudo rpm -ivh sendmail-devel.rpm
> 
> Or the second way: first become root and then install the rpm:
> $ su -
> <enter your password>
> # rpm -ivh /directory/where/rpm/is/located/sendmail-devel.rpm
> 
> Regards,
> Patrick
> 

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (GNU/Linux)
Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org

iD8DBQFFdxj15mBKdb7VQEcRAh6CAJ4hFueBRwIun56Xxwn7BVKD95AlPQCgjRjD
vKsAJyYXnwcT8H9vxs3V9XA=
=7pvR
-----END PGP SIGNATURE-----




More information about the fedora-list mailing list