Yum Missing From CentOS 5.9 Virtuozzo Container
Recently ran into a Virtuozzo container running CentOS 5.9 that was missing yum. Did some research and first found this page from the CentOS team: http://wiki.centos.org/TipsAndTricks/BrokenVserver It’s highly critical of distributions that leave out yum but it does give manual steps for installing. Unfortunately these steps looked a bit messy. Since we controlled the Virtuozzo there was another option … we could install the yum package from the Virtuozzo host system with this command:
|
1 |
/usr/sbin/vzpkg install -p 99 yum |
Replace 99 with your target container ID. This is much neater then trying to install yum manually!