OpenVZ Forum


Home » General » Support » vzyum public key error
vzyum public key error [message #12388] Thu, 26 April 2007 11:45 Go to next message
goeldi
Messages: 92
Registered: June 2006
Member
I want to install yum in a VE from the HN and issue this command:

vzyum 134 install yum

vzyum checks dependencies and ends this way:

Transaction Summary
============================================================ =================
Install 83 Package(s)
Update 0 Package(s)
Remove 0 Package(s)
Total download size: 67 M
Is this ok [y/N]: y
Downloading Packages:
warning: rpmts_HdrFromFdno: V3 DSA signature: NOKEY, key ID 443e1821


Public key for coreutils-5.2.1-31.4.i386.rpm is not installed

The public key for centos4-base is installed in HN and VE. So WTF?

BTW: this is not a new HN. There are several VEs which were updated for a year now.

HN is CentOS 4-4.2, VE is centos-4-i386-default
Re: vzyum public key error [message #12393 is a reply to message #12388] Thu, 26 April 2007 13:45 Go to previous messageGo to next message
goeldi
Messages: 92
Registered: June 2006
Member
I edited /vz/template/centos/4/i386/config/yum.conf and replaced gpgcheck=1 with gpgcheck=0. Now I get this:

Transaction Check Error: file /sbin/nash conflicts between attempted installs of dummy-centos-4-1.0-3.swsoft and mkinitrd-4.2.1.8-1

Then I removed the vztmpl and reinstalled them. I removed the caches with vzpkgcache -r and recreated them with vzpkgcache -f. The above error message keeps coming up.

Sad

Re: vzyum public key error [message #12399 is a reply to message #12393] Fri, 27 April 2007 09:46 Go to previous messageGo to next message
kir is currently offline  kir
Messages: 1645
Registered: August 2005
Location: Moscow, Russia
Senior Member

You can remove dummy-centos-4 from the list of packages (/vz/template/centos/4/i386/config/*list) and rebuild cache with -f.

Alternative variant is to rebuild dummy-centos-4 rpm, either removing nash from it, or my adding "Provides: mkinitrd" to it. Do not forget to increase the version. I have attached a spec file, please edit accordingly, rebuild, put binary rpm to /vz/template/centos/4/i386/vz-addons/ and run createrepo there. After that you can try to recreate template cache.
  • Attachment: dummy.spec
    (Size: 1.35KB, Downloaded 274 times)


Kir Kolyshkin
http://static.openvz.org/userbars/openvz-developer.png
Re: vzyum public key error [message #12406 is a reply to message #12399] Fri, 27 April 2007 10:47 Go to previous message
goeldi
Messages: 92
Registered: June 2006
Member
I tried your first suggestion. This is the error message from vzpkgcache -f:


--> Running transaction check
--> Processing Conflict: kernel conflicts dev < 3.2-7
--> Finished Dependency Resolution
Error: kernel conflicts with dev < 3.2-7
ERROR: yum failed with 1 exit code
Previous Topic: Hostname resolution outside of VE?
Next Topic: OpenSuSE precreated no connectiviy
Goto Forum:
  


Current Time: Sat Jul 19 03:54:40 GMT 2025

Total time taken to generate the page: 0.04662 seconds