Easy Way to Upgrade FreeBSD’s Ports طريقة سهلة لتحديث فري بي موانئ
Before you can update and upgrade the FreeBSD’s ports, the Ports Collection needs to be updated. قبل أن تتمكن من تحديث ورفع مستوى فري بي الموانئ ، موانئ جمع يحتاج إلى تحديث. Follow step تتبع خطوة here هنا to update the Ports Collection. لتحديث الموانئ جمع.
Once you updated your Ports Collection, before attempting a port upgrade, you should check the /usr/ports/UPDATING file. بمجرد أن تقوم بتحديث مجموعة الموانئ ، قبل محاولة رفع مستوى الميناء ، يجب عليك التحقق من / usr / الموانئ / استكمال الملف. This file describes various issues and additional steps users may encounter and need to perform when updating a port. هذا الملف يصف مختلف المسائل والخطوات الإضافية التي قد تواجه المستخدمين وعند الحاجة لأداء تحديث الميناء.
Keeping the ports up to date can be a tedious job. حفظ الموانئ حتى الآن يمكن أن تكون مهمة شاقة. Just for example, to upgrade a port you need to go to the ports directory, build the port, deinstall the old port, install the new port, and then clean up after the build. فقط على سبيل المثال ، لتطوير ميناء تحتاج إلى الذهاب إلى الموانئ دليل ، وبناء الميناء ، deinstall الميناء القديم وتركيب الجديد الميناء ، وبعد ذلك تنظيف بعد بناء. If there are numerous ports that need to be upgrade, it will be very troublesome. وإذا كان هناك العديد من الموانئ التي تحتاج إلى تطوير ، وسيكون مزعجا جدا. This was a large problem for system administrators to deal with, and FreeBSD have utilities which do this automatically, and that’s sysutils/portupgrade utility. وكانت هذه مشكلة كبيرة لنظام للتعامل مع المديرين ، وفري لها المرافق التي تفعل ذلك تلقائيا ، وهذا sysutils / portupgrade فائدة.
To install sysutils/portupgrade utility, use the command just as to install any other port: make install clean. لتركيب sysutils / portupgrade فائدة ، واستخدام القيادة تماما كما لتركيب أي ميناء أخرى : جعل تركيب نظيفة.
Create a database with the following command: pkgdb -F إنشاء قاعدة بيانات مع الأمر التالي : pkgdb بين واو
The command will read the list of installed ports and create a database file in the /var/db/pkg directory. القيادة سوف أقرأ قائمة تركيب والموانئ وإنشاء قاعدة بيانات الملف في / فار / ديسيبل / pkg دليل.
Run portupgrade -a to start to update the ports. أ - portupgrade البعيد لبدء لتحديث الموانئ.
The portupgrade will read the database file created by pkgdb -F and the ports INDEX file. وقد portupgrade سوف قراءة ملف قاعدة البيانات التي أنشأتها pkgdb بين واو والموانئ فهرس ملف. Finally, portupgrade will begin to download, build, backup, install, and clean the ports which have been updated. وأخيرا ، portupgrade سيبدأ التحميل ، بناء ، احتياطية ، تركيب ، وتنظيف الموانئ التي قد تم تحديثها.
Portupgrade utility has a lot of options for different uses, the most important ones listed below. Portupgrade فائدة لديها الكثير من الخيارات لاستخدامات مختلفة ، أهمها المدرجة أدناه.
If you want to upgrade only a certain application, not the complete database, use portupgrade pkgname , include the flags -r if portupgrade should act on all those packages depending on the given package as well, and -R to act on all packages required by the given packages. إذا كنت تريد فقط لرفع مستوى تطبيق معين ، وليس قاعدة بيانات كاملة ، portupgrade pkgname استخدام ، وتشمل أعلام - ص إذا portupgrade ينبغي أن نعمل على كل هذه الطرود ويتوقف ذلك على نظرا لالحزمة أيضا ، وصاد للعمل على جميع الطرود التي تتطلبها مجموعات معينة.
To use packages instead of ports for installation, provide -P. إلى مجموعات بدلا من استخدام الموانئ لتركيب ، توفير - ف. With this option portupgrade searches the local directories listed in PKG_PATH, or fetches packages from remote site if it is not found locally. مع هذا الخيار portupgrade تفتيش المحلية الأدلة الواردة في PKG_PATH ، بجلب أو مجموعات من الموقع البعيد إذا لم يتم العثور على محليا. If packages can not be found locally or fetched remotely, portupgrade will use ports. إذا مجموعات لا يمكن العثور عليه محليا أو من بعيد المنال ، وسوف portupgrade استخدام الموانئ. To avoid using ports, specify -PP. لتجنب استخدام الموانئ ، وتحديد بين الصفحات
To just fetch distfiles (or packages, if -P is specified) without building or installing anything, use -F. فقط لجلب distfiles (أو مجموعات ، إذا هو المحدد بين ف) دون بناء أو تركيب أي شيء ، واستخدام واو.
Note: It is important to regularly update the package database using pkgdb -F to fix inconsistencies, especially when portupgrade asks you to. ملاحظة : ومن المهم بصورة منتظمة لتحديث قاعدة البيانات باستخدام حزمة pkgdb بين واو لتحديد أوجه التضارب ، وخاصة عندما طلب منك portupgrade ل. Do not abort portupgrade while it is updating the package database, this will leave you an inconsistent database. لا اجهاض portupgrade في حين أنه هو تحديث قاعدة البيانات صفقة ، هذا وسوف يغادر لكم تتعارض قاعدة البيانات.
IMPORTANT : This is a machine translated page which is provided "as is" without warranty. هام : هذه هي آلة الصفحة المترجمة التي تقدم "كما هي" دون ضمان. Machine translation may be difficult to understand. الترجمة الآلية قد يكون من الصعب فهم. Please refer to يرجى الرجوع إلى original English article المادة الانكليزية الأصلية whenever possible. كلما كان ذلك ممكنا.
Share and contribute or get technical support and help at وحصة المساهمة أو الحصول على الدعم التقني والمساعدة في My Digital Life Forums بلادي الرقمي الحياة المنتديات .
Related Articles المواد ذات الصلة
- Update FreeBSD Ports Collection to Latest Version with Security Update with Portmanager and Portaudit تحديث الموانئ جمع فري بي إلى النسخة الأخيرة مع التحديث الأمني مع Portmanager وPortaudit
- Using Portsnap to Update FreeBSD Ports Tree Collection باستخدام Portsnap لتحديث الموانئ فري بي شجرة جمع
- Update FreeBSD Ports Collection Up to Date and Latest تحديث الموانئ جمع فري بي حتى تاريخ وآخر
- Portdowngrade - Downgrade to Previous Version of FreeBSD’s Ports Portdowngrade -- الإنحدار إلى النسخة السابقة من فري بي الموانئ
- Searching for Application in FreeBSD’s Ports Collection البحث عن الطلب في الموانئ جمع فري بي
- Windows Vista Anytime Upgrade - How to Upgrade Edition Guide and Price ويندوز فيستا في اي وقت ترقية -- كيفية رفع مستوى طبعة الدليل والأسعار
- Installing Web Server in FreeBSD 6.0 with Apache 2.2, MySQL 5.0 and PHP 5 - Part 3 تركيب ملقم الويب في فري بي 6.0 مع اباتشي 2.2 ، 5.0 وماي. س. ك PHP 5 -- الجزء 3
- Nokia Cellphones To Feature Magnetized Ports نوكيا الى الهواتف الخلوية سمة ممغنط الموانئ
- List, View, Save and Close Opened TCP/IP Ports or Connections with CurrPorts قائمة ، اعرض ، حفظ وإغلاق افتتح برنامج التعاون الفني / الملكية الفكرية موانئ أو الصلات مع CurrPorts
- Installing Web Server in FreeBSD 6.0 with Apache 2.2, MySQL 5.0 and PHP 5 - Part 4 تركيب ملقم الويب في فري بي 6.0 مع اباتشي 2.2 ، 5.0 وماي. س. ك PHP 5 -- الجزء 4
































