RPM based systems like RedHat, Fedora or CentOS often have the system configured for automatic updates. لفة في الدقيقة القائمة على نظم مثل RedHat ، او فيدورا centos غالبا ما يكون هذا النظام لتكوين التحديثات التلقاءيه. This ensures that your software is always upto date. وهذا يضمن ان برنامجك دائما upto حتى الآن. However sometimes there are software you don’t want to update via yum update like for example ولكن في بعض الاحيان هناك برامج لا تريد ان التحديث عن طريق تحديث yum مثل على سبيل المثال RSSOwl Rssowl . RSSOwl, for example, currently has a broken rpm distribution in extras repository. Rssowl ، على سبيل المثال ، في الوقت الحاضر كسر دورة في الدقيقة في توزيع اضافات مستودع. Standard yum update will update the correct version directly downloaded from site and break it. مستوى yum تحديث بتحديث النسخه الصحيحه تنزيلها من الموقع مباشرة وكسر. So you would want to prevent it from being updated. هل تريد ان تمنعها من تحديثه. For such scenarios there is a simple procedure for you to follows: لمثل هذه السيناريوهات وهناك اجراءات بسيطة للك التالي :

1. First you should install yum yum-versionlock plugin: يجب عليك اولا تثبيت yum yum - versionlock البرنامج المساعد :
yum -y install yum-versionlock . - تثبيت yum yum - y versionlock.

2. Open /etc/yum/pluginconf.d/versionlock.conf and set enabled = 1 ; save it. فتح / الخ / yum / pluginconf.d / versionlock.conf ومكنت مجموعة = 1 ؛ احفظه.

3. Create /etc/yum/pluginconf.d/versionlock.list and add the packages (along with version information as shown below) you want to exclude, one per line. انشاء / الخ / yum / pluginconf.d / versionlock.list وتضاف الحزم (جنبا الى جنب مع معلومات حول اصدار كما هو مبين أدناه) تريد ان تستبعد ، واحد في كل سطر. For example I added a single line: rssowl-1.2.1-0.1 to exclude rssowl from ever being updated again by yum. واضاف انني على سبيل المثال خط واحد : rssowl - 1.2.1 - 0،1 لاستبعاد rssowl من اي وقت مضى ويجري استكمال yum مرة اخرى من قبل.

Note: You can run rpm -qa to get list of all installed packages along with their version information. ملاحظه : يمكنك تشغيل لفة في الدقيقة - سؤال وجواب للحصول على قائمة بكل حزم الى جانب تركيب روايته المعلومات. grep it for your required packages. grep الخاصة بك لانها تتطلب الحزم.

You are done! انت القيام به!