Easy Way to Upgrade FreeBSD's Ports Easy Way to שדרוג FreeBSD של יציאות

Before you can update and upgrade the FreeBSD's ports, the Ports Collection needs to be updated. לפני שתוכל לעדכן ולשדרג את FreeBSD של יציאות, את אוסף יציאות יש לעדכן. 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 / ports / עדכון הקובץ. 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. זו היתה בעיה גדולה עבור מנהלי מערכות להתמודד עם, ו FreeBSD שירות אשר יש לעשות זאת באופן אוטומטי, וזה 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-F

The command will read the list of installed ports and create a database file in the /var/db/pkg directory. הפקודה יהיה לקרוא את הרשימה של יציאות מותקן ליצור קובץ מסד הנתונים var / / db / pkg בספרייה.

Run portupgrade -a to start to update the ports. Portupgrade Run-כדי להתחיל לעדכן את היציאות.

The portupgrade will read the database file created by pkgdb -F and the ports INDEX file. Portupgrade יהיה לקרוא את קובץ מסד הנתונים שנוצר על ידי pkgdb-F ו היציאות סודרן. 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. אם אתה רוצה לשדרג רק יישומים מסוימים, לא את מסד הנתונים המלא, pkgname portupgrade להשתמש, לכלול את הדגלים-R אם portupgrade צריכים לפעול על כל אלו חבילות בהתאם החבילה נתן גם, ו-R לפעול על כל חבילות הנדרש חבילות נתון.

To use packages instead of ports for installation, provide -P. במקום להשתמש בחבילות של יציאות עבור ההתקנה, מספקים-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. להימנע משימוש יציאות, לציין-PP.

To just fetch distfiles (or packages, if -P is specified) without building or installing anything, use -F. רק כדי להביא distfiles (או חבילות, אם-P המצוין) ללא בנייה או התקנה של דבר, להשתמש-F.

Note: It is important to regularly update the package database using pkgdb -F to fix inconsistencies, especially when portupgrade asks you to. הערה: חשוב לעדכן בקביעות את מסד הנתונים בעזרת חבילת pkgdb-f כדי לתקן חוסר עקביות, במיוחד כאשר portupgrade מבקש ממך. Do not abort portupgrade while it is updating the package database, this will leave you an inconsistent database. האם portupgrade לא להפיל בזמן זה בעדכון מסד הנתונים החבילה, זה ישאיר לך מסד נתונים עקביים.

IMPORTANT : The page is machine translated and provided "as is" without warranty. חשוב: הדף מכונת תירגם מתפרסם "כמות שהוא" ללא אחריות. Machine translation may be difficult to understand. תרגום מכונה יכול להיות קשה להבין. Please refer to נא עיין original English article המאמר המקורי באנגלית whenever possible. בכל הזדמנות אפשרית.


Leave a Reply השאירו תגובה

You can use these tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong> באפשרותך להשתמש בתגים אלה: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime = ""> <em> <i> <q cite=""> <strike> <strong>

Subscribe to comments feature has been disabled. כדי להירשם הערות תכונה הושבת. To receive notification of latest comments posted, subscribe to כדי לקבל הודעה העדכנית של תגובות, כדי להירשם My Digital Life Comments RSS feed החיים שלי דיגיטליות תגובות RSS Feed or או register to receive הרשמה לקבלת new comments in daily email digest. תגובות חדש ב דוא"ל תקציר יומי.
Custom Search

New Articles מאמרים חדשים

Incoming Search Terms for the Article תנאי נכנסות חיפוש עבור מאמרים

freebsd ports upgrade יציאות שדרוג FreeBSD - -- upgrade ports יציאות שדרוג - -- ports upgrade יציאות שדרוג - -- upgrade ports freebsd יציאות שדרוג FreeBSD - -- freebsd port upgrade שדרוג יציאת FreeBSD - -- freebsd upgrade ports יציאות שדרוג FreeBSD - -- freebsd pkg_path pkg_path FreeBSD - -- freebsd pkgdb pkgdb FreeBSD - -- freebsd update packages חבילות העדכון FreeBSD - -- PKG_PATH freebsd PKG_PATH FreeBSD - -- upgrade port freebsd יציאת שדרוג FreeBSD - -- freebsd upgrade package חבילת שדרוג FreeBSD - -- freebsd upgrade port יציאת שדרוג FreeBSD - -- freebsd pkg update עדכון Pkg FreeBSD - -- freebsd update package חבילת העדכון FreeBSD - -- upgrade freebsd ports יציאות שדרוג FreeBSD - -- freebsd upgrade packages חבילות שדרוג FreeBSD - -- upgrade port יציאת השדרוג - -- freebsd upgrading ports יציאות שדרוג FreeBSD - -- update freebsd packages חבילות העדכונים של FreeBSD - -- update freebsd ports עדכון יציאות FreeBSD - -- freeBSD Pkg upgrade שדרוג FreeBSD Pkg - -- how to upgrade ports איך לשדרג יציאות - -- portupgrade freebsd portupgrade FreeBSD - -- freebsd clean ports יציאות נקי FreeBSD - -- freebsd upgrade a port שדרוג FreeBSD יציאה - -- how to upgrade ports freebsd איך לשדרג יציאות FreeBSD - -- all הכל - -- portsupgrade portsupgrade - -- port upgrade freebsd יציאת שדרוג FreeBSD - -- freebsd package upgrade חבילת שדרוג FreeBSD - -- port upgrade שדרוג נמל - -- pkg update freebsd pkg עדכון FreeBSD - -- freebsd package update חבילת עדכון FreeBSD - -- upgrade packages freebsd חבילות שדרוג FreeBSD - -- how to upgrade port איך לשדרג את הנמל - -- ports upgrade freebsd יציאות שדרוג FreeBSD - -- how to upgrade freebsd ports איך לשדרג יציאות FreeBSD - -- upgrading ports שדרוג יציאות - -- how to upgrade a port איך לשדרג את נמל - -- upgrade freebsd package חבילת שדרוג FreeBSD - -- upgrading ports collection שדרוג אוסף יציאות - -- freebsd portupgrade portupgrade FreeBSD - -- freebsd pkg path נתיב Pkg FreeBSD - -- upgrade ports in freebsd יציאות שדרוג FreeBSD - -- freebsd pkg_add pkg_path pkg_path pkg_add FreeBSD - -- freebsd upgrading packages חבילות שדרוג FreeBSD - -- update freebsd package חבילת עדכון FreeBSD - -- update freebsd ports proxy עדכון פרוקסי יציאות FreeBSD - -- freebsd pkg_add path נתיב pkg_add FreeBSD - --