Roderick A. Anderson wrote:
Daniel Hokka Zakrisson wrote:

Roderick A. Anderson wrote:

I am getting the following when trying to use yum to install packages.

# vyum test -- install yum
Can not find file for 'RPMSTATEDIR'; aborting


<snip />

Well, everything is working fine here, with kernel-2.6.16-1.2123_FC5.vs2.0.2.0.rc21.1, util-vserver-0.30.210-14.fc5 and yum-2.6.1-0.fc5. Did you try without the patched yum?


I think my first reply slipped off the list and went directly to Daniel.

Currently I have replaced the patched yum with the latest 'standard' yum for FC5.

I am still get the same error message. Looking in /usr/lib/util-vserver I find RPMSTATEDIR in two files; functions and pkgmgmt. Trying to chase them backwards I think the problem may be that I created /vservers as a link to /var/vservers because we decided recently to convert the system into a Linux-Vserver. ( Apache, mod_perl, Catalyst issues. )

Since '/var' is on a different partition than '/' I had to softlink it. Could this be the problem?

It shouldn't be. How did you create the guest? Are you using internal package management, without telling the utils?

--
Daniel Hokka Zakrisson
GPG id: 06723412
GPG fingerprint: A455 4DF3 990A 431F FECA  7947 6136 DDA2 0672 3412
_______________________________________________
Vserver mailing list
[email protected]
http://list.linux-vserver.org/mailman/listinfo/vserver

Reply via email to