Portdowngrade – Downgrade to Previous Version of FreeBSD's Ports Portdowngrade - שדרוג לאחור כדי הגירסה הקודמת של יציאות של FreeBSD
After you upgrade or update the FreeBSD's ports, you may found out that there is some buys with the lastest version of a package. לאחר שדרוג או עדכון של FreeBSD יציאות, ייתכן התברר שיש קונה עם הגרסה העדכנית ביותר של חבילה. For example, after I ran CVSup on all ports collection on my FreeBSD server, it updated my subversion to svn version 1.3.0-rc2. לדוגמה, אחרי רצתי CVSup על אוסף של כל היציאות שרת FreeBSD שלי, זה מעודכן חתרנות שלי SVN גירסה 1.3.0-RC2. The problem is, when I tried to restart Apache server, there is error that saying mod_dav_svn.so is missing. הבעיה היא, כאשר ניסיתי להפעיל מחדש את שרת אפאצ 'י, יש שגיאה זה אומר mod_dav_svn.so חסר.
Tried to re-compile the SVN server is of no help, as it simply won't want to compile mod_dav_svn.so source, due to a bug in the Makefile which simply won't recognize WITH_MOD_DAV_SVN=yes setting. ניסה להרכיב מחדש את שרת SVN זה לא עזר, כפי שהוא פשוט לא רוצה לקמפל המקור mod_dav_svn.so, עקב באג ב-Makefile אשר פשוט לא תכיר WITH_MOD_DAV_SVN = כן ההגדרה. So to go back to the original (or previous) version of subversion (or any other package or ports), use portdowngrade. אז לחזור המקורי (או הקודמת) של חתרנות (או כל חבילה אחרת או יציאות), portdowngrade להשתמש.
Without portdowngrade, a lot of works need to be done: Investigates the port changes in the cvs repository through FreeBSD's the web interface, the insepcts all commit comments to find out which file versions are a older working release, and after downloads and copies these file to the correct location in the ports tree, then only the port can be downgraded by the usual FreeBSD port mechanism. ללא portdowngrade, הרבה עבודות צריך להיעשות: חוקר את השינויים היציאה מאגר קו"ח דרך ממשק FreeBSD של האינטרנט, כל insepcts להתחייב הערות כדי לגלות אילו הן גירסאות קובץ בגירסה ישנה יותר עבודה, ואחרי הורדות עותקים אלה קובץ על המיקום הנכון בעץ יציאות, אז רק את יציאת ניתן הורידו ידי המנגנון הרגיל יציאת FreeBSD.
portdowngrade helps to downgrade FreeBSD ports by analyzing the history of commits to the port and presenting the user the list of changes. portdowngrade מסייעת להוריד בדרגה FreeBSD יציאות על ידי ניתוח ההיסטוריה של מבצע לנמל והצגה של המשתמש את רשימת השינויים. By selecting one, the port can be set back to a previous version easily. על ידי בחירה אחד, יציאת ניתן להגדיר לגירסה הקודמת בקלות. In other words, portdowngrade automatizes all these steps, from inspecting the cvs repository to showing all commit comments up to checking out a specific release and copying it into the ports tree. במילים אחרות, portdowngrade automatizes כל השלבים הבאים, מתוך לבדוק את מאגר קו"ח להציג את כל הערות להתחייב עד לבדוק שחרור ספציפיים העתקתו לתוך העץ יציאות. With just a few key presses a lot of work is saved. עם רק כמה לוחץ על מקש הרבה עבודה נשמר.
Install Portdowngrade התקן Portdowngrade
To install sysutils/portdowngrade, use the following commands: כדי להתקין sysutils / portdowngrade, השתמש בפקודות הבאות:
cd /usr/ports/sysutils/portdowngrade cd / usr / ports / sysutils / portdowngrade
make install clean make install נקי
If you want to define DEFAULT_CVS_SERVER, use the following command (it's recommended to define the server): אם אתה רוצה להגדיר DEFAULT_CVS_SERVER, השתמש בפקודה הבאה (זה מומלץ להגדיר את השרת):
make DEFAULT_CVS_SERVER=\”: server_string :/home/ncvs\” install להפוך DEFAULT_CVS_SERVER = \ ": server_string: / home / ncvs \" להתקין
Replace server_string with pserver:anoncvs@anoncvs.at.FreeBSD.org, one of the FreeBSD anoncvs server. החלף server_string עם Pserver: anoncvs@anoncvs.at.FreeBSD.org, אחד של השרת anoncvs FreeBSD.
You may use any other available anoncvs servers which listed at אתה יכול להשתמש בכל שרתי anoncvs זמין אחרים אשר המפורטים Anonymous CVS Anonymous CVS . .
Using portdowngrade שימוש portdowngrade
To run portdowngrade, issue the following command: כדי להפעיל portdowngrade, הנושא את הפקודה הבאה:
usr/local/sbin/portdowngrade portname (portname my be prefixed by category/ and postfixed by $) usr / local / sbin / portname portdowngrade (portname להיות שלי התחילית של קטגוריה / ו postfixed ידי $)
or simply (if it's within the path): או פשוט (אם זה בתוך הנתיב):
portdowngrade portname (portname my be prefixed by category/ and postfixed by $) portname portdowngrade (portname להיות שלי התחילית של קטגוריה / ו postfixed ידי $)
If you didn't specify which CVS server to use when installation, you may specify it via command line by using “- s cvs-server or –server cvs-server option. אם אתה לא לציין באיזה שרת CVS להשתמש בעת ההתקנה, ניתן לציין את זה דרך שורת הפקודה באמצעות "- s-cvs שרת או שרת-cvs-אפשרות שרת. For example, -s:pserver:anoncvs@anoncvs.FreeBSD.org:/home/ncvs לדוגמה,-s: Pserver: anoncvs@anoncvs.FreeBSD.org: / home / ncvs
Other options available include -l or –logfile filename to specify logfile which collects debug information, -t or –maxTime time to specify maximum time difference (in seconds) to treat cvs commits with the same comment as belonging together (default: 10 seconds), -o or –login to execute a “cvs login” before all other cvs commands (if ~/.cvspass file that stores the password exists, this option is no longer required). אפשרויות אחרות כוללות כניסה-L-filename או קובץ היומן כדי לציין את קובץ היומן אשר אוספת מידע על באגים, או-t-זמן maxTime לציין הפרש הזמן המרבי (בשניות) לטפל קו"ח מתחייבת עם תגובה זהה השייכות יחד (ברירת המחדל: 10 שניות) ,-O-הכניסה או להוציא להורג "cvs login" לפני כל פקודות קו"ח אחרים (אם הקובץ ~ /. cvspass המאחסן את הסיסמה קיימת, אפשרות זו כבר לא חובה).
Then (of after login if applicable), portdowngrade will performs 6 steps (only after 6 steps will there be changes to the system): ואז (אחרי הכניסה של אם רלוונטי), portdowngrade יהיה מבצע 6 שלבים (רק אחרי 6 שלבים יהיה שם שינויים במערכת):
Step 1: Checking out port from CVS repository שלב 1: לבדוק את היציאה מתוך מאגר CVS
Step 2: Reading the port history from the CVS repository שלב 2: קריאה ההיסטוריה יציאה מן מאגר CVS
Step 3: Analyzing the port history from the CVS repository שלב 3: ניתוח ההיסטוריה יציאה מן מאגר CVS
Step 4: Load port version numbers and present results (If more than 1 pages, use space to go to next page, p for previous page, d for details, and enter to leave the port history display. After that, select the version you wish to downgrade to or 0 change nothing). שלב 4: יציאת מספרי טען הגירסה הנוכחית ואת התוצאות (אם יותר מ 1 עמודים, חלל להשתמש כדי לעבור לדף הבא, p עבור הדף הקודם, ד לפרטים, והזן לעזוב את התצוגה ההיסטוריה הנמל. לאחר מכן, בחר את הגירסה לך רוצה לשדרג לאחור או לשנות דבר 0).
Step 5: Checking out choosen date of the port from the CVS repository שלב 5: לבדוק את התאריך הנבחר של היציאה מן מאגר CVS
Step 6: Modifying the port (Type yes to downgrade the port, or no to abort). שלב 6: שינוי יציאת (סוג כן כדי להוריד בדרגה את היציאה, או לא להפיל).
Note: portdowngrade only changes the port, not the installed software! הערה: שינויים רק portdowngrade הנמל, לא את התוכנה מותקנת!
After 6 steps, the selected port has been set to the selected older version. אחרי 6 שלבים, יציאת נבחרת הוגדר הגרסה שנבחרה ישנים. Continue by install the port. על ידי המשך להתקין את יציאת. If you have portupgrade installed, use the following command to see the changes in the ports database: אם יש לך portupgrade מותקנים, השתמש בפקודה הבאה כדי לראות את השינויים באתר יציאות:
portsdb -Uu portsdb-uu
To 'downgrade' the installed port, issue command: כדי "להוריד בדרגה" את יציאת מותקנת, הפקודה בעיה:
portupgrade -f portname portupgrade-F portname
Note: If you run cvsup, the port will be changed back to the latest version! הערה: אם אתה מפעיל cvsup, יציאת ישתנה בחזרה לגירסה העדכנית ביותר!
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. בכל הזדמנות אפשרית.
Related Articles מאמרים קשורים
- Update FreeBSD Ports Collection to Latest Version with Security Update with Portmanager and Portaudit עדכון FreeBSD יציאות אוסף את הגרסה האחרונה עם עדכון אבטחה עם Portmanager ו Portaudit
- Update FreeBSD Ports Collection Up to Date and Latest עדכון FreeBSD יציאות אוסף מעודכן אחרונות
- Using Portsnap to Update FreeBSD Ports Tree Collection באמצעות עדכון עץ Portsnap ל FreeBSD Ports Collection
- How to Downgrade iPhone Firmware 1.1.1 to Old Crackable and Hackable 1.0.2 Version כיצד iPhone קושחה Downgrade 1.1.1 כדי העתיקה סדיק ו Hackable גירסה 1.0.2
- Easy Way to Upgrade FreeBSD's Ports Easy Way to שדרוג FreeBSD של יציאות
- Searching for Application in FreeBSD's Ports Collection מחפש יישום אוסף יציאות של FreeBSD
- Installing Web Server in FreeBSD 6.0 with Apache 2.2, MySQL 5.0 and PHP 5 – Part 3 התקנת שרת אינטרנט ב FreeBSD 6.0 עם Apache 2.2, MySQL 5.0 ו-PHP 5 - חלק 3
- Download Previous or Old Version of WordPress להוריד גירסה קודמת או ישן של וורדפרס
- Fix Failed Windows 7 Ugrade from Vista with Previous Version Restored and Endless Reboot Error תיקון תקלה של Windows 7 Ugrade מ Vista עם שוחזר גירסה הקודם ו Reboot שגיאה אינסופיות
- Installing Web Server in FreeBSD 6.0 with Apache 2.2, MySQL 5.0 and PHP 5 – Part 4 התקנת שרת אינטרנט ב FreeBSD 6.0 עם Apache 2.2, MySQL 5.0 ו-PHP 5 - חלק 4









































