[Yum] Odd yum problem

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 7/8/05, Matt Lawrence <matt@xxxxxxxxxxxxxxx> wrote:
> Well, I'm back to cause more trouble.
> 
> I'm now trying to use yum to build a disk image for use by qemu.  After
> discovering the now ubiquitous gpg key problem, I did:
> 
> rpm --root `pwd`/mnt --import
> http://mirror.centos.org/centos/RPM-GPG-KEY-CentOS-4
> 
> to correct it.  Now this is what I am seeing:
> 
> # yum -y   --installroot=`pwd`/mnt install rpm
> Traceback (most recent call last):
>    File "/usr/bin/yum", line 7, in ?
>      yummain.main(sys.argv[1:])
>    File "/usr/share/yum-cli/yummain.py", line 51, in main
>      base.getOptionsConfig(args)
>    File "/usr/share/yum-cli/cli.py", line 271, in getOptionsConfig
>      self.parseCommands() # before we exit check over the base command +
> args
>    File "/usr/share/yum-cli/cli.py", line 326, in parseCommands
>      if not self.gpgKeyCheck():
>    File "__init__.py", line 1048, in gpgKeyCheck
> IOError: [Errno 2] No such file or directory:
> '/qemu/mnt/var/cache/yum/.gpgkeyschecked.yum'
> 
> What should I try now?
> 

I've lost context since gmail thinks this is a new thread...I assume
you tried the gpgkey= option in your yum.conf and it didn't work
because of the --installroot?  If not, maybe give it a go.

Either way, what does:

rpm `pwd`/mnt -q gpg-pubkey

give you?

Greg

[Index of Archives]     [Fedora Users]     [Fedora Legacy List]     [Fedora Maintainers]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]

  Powered by Linux