OpenVZ Forum


Home » General » Support » Dag / RPM Forge - Kludge found, is it tolerable ?
Dag / RPM Forge - Kludge found, is it tolerable ? [message #5577] Wed, 23 August 2006 21:34 Go to next message
tchipman is currently offline  tchipman
Messages: 28
Registered: June 2006
Junior Member
Hi all,

I posted a few months back in this topic, and hadn't worked too much on it until recently. Today on my "testbox" I found a workaround which seems OK but I wanted to verify that this wasn't going to cause weird problems.

Basically,

-install yum to the VPS
-inside the VPS use yum to install RPM of RPMFORGE setup files
-subsequently, from within the VPS I can do direct yum install of stuff from RPMForge/DAG Archive.

The "odd thing" I was hoping to confirm won't be the source of later grief: If I use the "vzyum" command from the physical host and do "vzyum 144 update" for example ... there is no sign of config associated with DAG /RPMForge. Presumably b/c this config resides in the physical host, and my kludge is within the VPS host.

I'm perfectly happy to do my RPM management WITHIN my VPS hosts exclusively after deployment in this case, since the server I'm working with will only have ~5 VPS hosts, all managed by me... it is done this way for security / consolidation (not a hosting environment or anything such!)

This approach seems "desirable" since my "production" system where I'll be doing this shortly .. is an opteron 64bit platform, and I gather the vzpkgcache utility isn't available for this platform, so I can't do the fix "the right way" (by rebuilding my cache at the physical host level... to include the dag/rpm forge info...) (unless I reinstall the machine as 32-bit platform, which I'm less keen to do at this stage).

Any comments are certainly appreciated. To clarify on this, I've pasted below exact output to illustrate the situation..

Many thanks,

--Tim Chipman


-----PASTE-------


note that the VZHost ID is "244" ; this whole setup is on my testbox (x86 not 64bit)


[root@vent ~]# vzyum 244 install yum


vzctl 244 enter

issue command:

rpm -Uhv http://dag.wieers.com/packages/rpmforge-release/rpmforge-rel ease-0.3.4-1.el4.rf.i386.rpm

THEN:

[root@vent ~]# yum update
Setting up Update Process
Setting up repositories
update 100% |=========================| 951 B 00:00
rpmforge 100% |=========================| 1.1 kB 00:00
base 100% |=========================| 1.1 kB 00:00
addons 100% |=========================| 951 B 00:00
extras 100% |=========================| 1.1 kB 00:00
Reading repository metadata in from local files
primary.xml.gz 100% |=========================| 77 kB 00:00
update : ################################################## 200/200
Added 200 new packages, deleted 0 old in 6.54 seconds
primary.xml.gz 100% |=========================| 1.6 MB 00:03
rpmforge : ################################################## 4607/4607
Added 4607 new packages, deleted 0 old in 87.31 seconds
primary.xml.gz 100% |=========================| 554 kB 00:01
base : ################################################## 1450/1450
Added 1450 new packages, deleted 0 old in 34.02 seconds
primary.xml.gz 100% |=========================| 157 B 00:00
Added 0 new packages, deleted 0 old in 0.02 seconds
primary.xml.gz 100% |=========================| 46 kB 00:00
extras : ################################################## 208/208
Added 208 new packages, deleted 0 old in 3.93 seconds
Resolving Dependencies

..etc... ie, we have access to RPMForge / Dag archive.


However: EXIT from vz ID 244 to host machine and try from there:

[root@vent ~]# vzyum 244 update
exec /usr/share/vzyum/bin/yum -c /vz/template/centos/4/i386/config/yum.conf --installroot /vz/root/244 --vps=244 update
Setting up Update Process
Setting up repositories
centos4-vz-addons 100% |=========================| 951 B 00:00
centos4-base 100% |=========================| 1.1 kB 00:00
centos4-updates-released 100% |=========================| 951 B 00:00
Reading repository metadata in from local files
No Packages marked for Update/Obsoletion
[root@vent ~]#

No sign of RPM Forge /DAG... when I'm in the physical host and using "Vzyum" to apply patches to VPSHOst 244...
Re: Dag / RPM Forge - Kludge found, is it tolerable ? [message #5585 is a reply to message #5577] Wed, 23 August 2006 23:33 Go to previous message
tchipman is currently offline  tchipman
Messages: 28
Registered: June 2006
Junior Member
Apologies - I realize I neglected to explicitly state in my post,

--both the physical host and the VPS host are CentOS 4.3 in my query.

Thanks,

Tim
Previous Topic: how can i creat my Template
Next Topic: *SOLVED* cPanel errors on vps
Goto Forum:
  


Current Time: Sun Jul 14 22:34:27 GMT 2024

Total time taken to generate the page: 0.02330 seconds