Editing Yum

Jump to: navigation, search

Warning: You are not logged in. Your IP address will be publicly visible if you make any edits. If you log in or create an account, your edits will be attributed to your username, along with other benefits.

The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then save the changes below to finish undoing the edit.
Latest revision Your text
Line 25: Line 25:
 
== Additional kernels ==
 
== Additional kernels ==
 
File <code>openvz.repo</code> by default enables only one repository — the one which contains latest stable kernel and tools. If you want to run some other OpenVZ kernel (e.g. development one, or a kernel made from some vendor's one), please edit <code>/etc/yum.repos.d/openvz.repo</code> manually, changing the line <code>enable=0</code> to <code>enable=1</code> for the kernel you want.
 
File <code>openvz.repo</code> by default enables only one repository — the one which contains latest stable kernel and tools. If you want to run some other OpenVZ kernel (e.g. development one, or a kernel made from some vendor's one), please edit <code>/etc/yum.repos.d/openvz.repo</code> manually, changing the line <code>enable=0</code> to <code>enable=1</code> for the kernel you want.
 
== Troubleshooting ==
 
 
=== Fedora Core 6: complain about newer kernel ===
 
 
On Fedora 6 system you can get the error while installing OpenVZ kernel using yum, like this one:
 
 
Transaction Check Error:  package kernel-2.6.18-1.2869.fc6 (which is newer than kernel-2.6.18-ovz028test010.1) is already installed
 
  package kernel-2.6.19-1.2895.fc6 (which is newer than kernel-2.6.18-ovz028test010.1) is already installed
 
 
To work around this, disable kernel packages in fedora-core and fedora-updates repositories, by adding this line:
 
 
exclude=kernel kernel-smp kernel-enterprise
 
 
to the
 
* [core] section of /etc/yum.repos.d/fedora-core.repo file
 
* [updates] section of /etc/yum.repos.d/fedora-updates.repo file
 
  
 
[[Category: Installation]]
 
[[Category: Installation]]
 
[[Category: HOWTO]]
 
[[Category: HOWTO]]
 
[[Category: Infrastructure]]
 
[[Category: Infrastructure]]

Please note that all contributions to OpenVZ Virtuozzo Containers Wiki may be edited, altered, or removed by other contributors. If you don't want your writing to be edited mercilessly, then don't submit it here.
If you are going to add external links to an article, read the External links policy first!

To edit this page, please answer the question that appears below (more info):

Cancel Editing help (opens in new window)

Template used on this page:

Retrieved from "https://wiki.openvz.org/Yum"