Portdowngrade – Downgrade to Previous Version of FreeBSD's Ports Portdowngrade - pazemināt līdz iepriekšējās versijas FreeBSD ostās
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. Pēc tam, kad uzlabot vai atjaunināt FreeBSD ostās, varat konstatēja, ka ir daži pērk ar jaunāko versiju paketi. 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. Piemēram, pēc I ilga CVSup par visām ostām vākšana par manu FreeBSD servera, tā atjaunošana manu subversion lai SVN versija 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. Problēma ir tā, kad es centos restart Apache serveri, ir kļūda, ka pasakot mod_dav_svn.so trūkst.
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. Mēģināja vēlreiz sastādītu SVN serveris nav palīdzēt, jo tā vienkārši nebūs vēlaties sastādīt mod_dav_svn.so avota, sakarā ar kļūdu, kas Makefile, kas vienkārši neatzīs WITH_MOD_DAV_SVN = jā iestatījumu. So to go back to the original (or previous) version of subversion (or any other package or ports), use portdowngrade. Tātad, lai dotos atpakaļ uz oriģināls (vai iepriekšējo) versija subversion (vai citu iepakojuma vai ostas), izmantojiet 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. Bez portdowngrade, daudz darbi jāveic: izmeklē ostas izmaiņas CVS repozitorija ar FreeBSD ir web interface, ka insepcts visu izdarīt piezīmes, lai noskaidrotu, kuras failu versijām ir vecāku darba release, un pēc tam, kad lejupielāde un kopijas šiem failu uz pareizo vietu ostām koku, tad tikai ostā var pazemināt ar parastajiem FreeBSD ostas mehānismu.
portdowngrade helps to downgrade FreeBSD ports by analyzing the history of commits to the port and presenting the user the list of changes. portdowngrade palīdz pazemināt FreeBSD ostās analizējot vēsturē apņemas ostas un izklāstot lietotāju sarakstu izmaiņām. By selecting one, the port can be set back to a previous version easily. Izvēloties vienu, ostas var iestatīt atpakaļ uz iepriekšējo versiju viegli. 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. Citiem vārdiem sakot, portdowngrade automatizes Visi šie pasākumi, no inspicējošās CVS repozitorija, lai parādot visas saistības komentārus līdz pārbaudes veic īpašu release un kopēšana to ostās koku. With just a few key presses a lot of work is saved. Ar dažu taustiņu nospiež daudz darbs ir saglabātas.
Install Portdowngrade Install Portdowngrade
To install sysutils/portdowngrade, use the following commands: Lai instalētu sysutils / portdowngrade, izmantojiet šādas komandas:
cd /usr/ports/sysutils/portdowngrade cd / usr / ostu / sysutils / portdowngrade
make install clean padarīt instalēt tīru
If you want to define DEFAULT_CVS_SERVER, use the following command (it's recommended to define the server): Ja vēlaties, lai noteiktu DEFAULT_CVS_SERVER, izmantojiet šādas komanda (tas ir ieteicams definēt servera):
make DEFAULT_CVS_SERVER=\”: server_string :/home/ncvs\” install padarīt DEFAULT_CVS_SERVER = \ ": server_string: / home / ncvs \" instalēt
Replace server_string with pserver:anoncvs@anoncvs.at.FreeBSD.org, one of the FreeBSD anoncvs server. Aizstāt server_string ar pserver: anoncvs@anoncvs.at.FreeBSD.org, kas ir viens no FreeBSD anoncvs serveri.
You may use any other available anoncvs servers which listed at Jūs varat izmantot jebkuru citu pieejamu anoncvs serveriem, kas uzskaitīti Anonymous CVS Anonymous CVS . .
Using portdowngrade Izmantojot portdowngrade
To run portdowngrade, issue the following command: Lai palaistu portdowngrade izdod šādu komandu:
usr/local/sbin/portdowngrade portname (portname my be prefixed by category/ and postfixed by $) usr / local / sbin / portdowngrade portname (portname mana būt prefiksu kategorija un / postfixed ar $)
or simply (if it's within the path): vai vienkārši (ja tas atbilst ceļš):
portdowngrade portname (portname my be prefixed by category/ and postfixed by $) portdowngrade portname (portname mana būt prefiksu kategorija un / postfixed ar $)
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. Ja Jums nav precizējusi, kas CVS servera, lai izmantotu, kad uzstādīšanu, jums var noteikt to, izmantojot komandrindas, izmantojot "- s CVS servera vai servera CV-servera iespēju. For example, -s:pserver:anoncvs@anoncvs.FreeBSD.org:/home/ncvs Piemēram,-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). Citām pieejamām iespējām iekļaut-l vai logfile filename precizēt logfile kas savāc atkļūdošanas informāciju,-t vai-maxTime laiks, lai noteiktu maksimālo laika starpību (s), lai ārstētu CV uzņem ar vienu un to pašu komentāru par piederīgu kopā (noklusējums: 10 sekundes) ,-o vai-login izpildīt "CV login" pirms visām citām CV komandas (ja ~ /. cvspass failu, veikali paroli pastāv šī iespēja vairs nav vajadzīgs).
Then (of after login if applicable), portdowngrade will performs 6 steps (only after 6 steps will there be changes to the system): Tad (of pēc pieteikšanās ja ir), portdowngrade būs veic 6 pakāpēm (tikai pēc 6 soļi būs izmaiņas sistēmā):
Step 1: Checking out port from CVS repository Step 1: pārbaude, kas ostai no CVS repozitorija
Step 2: Reading the port history from the CVS repository Step 2: Reading ostas vēsturi no CVS repozitorija
Step 3: Analyzing the port history from the CVS repository Step 3: Analizējot ostu vēsturi no CVS repozitorija
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). Step 4: Load ostas versiju numurus un pašreizējo rezultātu (Ja vairāk nekā 1 pages, izmantošanu kosmosa doties uz nākamo lapu, p iepriekšējo lapu, d detaļas un ievadiet atstāt ostu vēsture displeju. Pēc tam, izvēlieties versiju vēlas pazemināt vai 0 mainīt nekas).
Step 5: Checking out choosen date of the port from the CVS repository Step 5: pārbaude, kas Izvēlētais datums ostai no CVS repozitorija
Step 6: Modifying the port (Type yes to downgrade the port, or no to abort). Step 6: grozišana ports (Type jā pazemināt ostas, vai Nē, lai pārtraukt).
Note: portdowngrade only changes the port, not the installed software! Piezīme: portdowngrade tikai izmaiņas ostas, kas nav uzstādīto programmatūru!
After 6 steps, the selected port has been set to the selected older version. Pēc 6 pakāpieni, izvēlētā osta ir noteikta uz izvēlēto vecāku versiju. Continue by install the port. Turpināt ar instalētu ostā. If you have portupgrade installed, use the following command to see the changes in the ports database: Ja esat portupgrade instalēts, lietojiet šādu komandu, lai redzētu izmaiņas ostām datu bāzē:
portsdb -Uu portsdb-uu
To 'downgrade' the installed port, issue command: Lai "pazemināt" uzstādītā ostas, izsniedz komandu:
portupgrade -f portname portupgrade-f portname
Note: If you run cvsup, the port will be changed back to the latest version! Piezīme: Ja jūs palaidīsiet cvsup, ostas tiks nomainītas ar jaunāko versiju!
IMPORTANT : The page is machine translated and provided "as is" without warranty. SVARĪGI: Šī lapa ir mašīna tulkoto un ar nosacījumu ", kas ir" bez garantijas. Machine translation may be difficult to understand. Machine translation var būt grūti saprast. Please refer to Lūdzu, skatiet original English article oriģināls angļu rakstu whenever possible. kad vien iespējams.
Related Articles Saistītie raksti
- Update FreeBSD Ports Collection to Latest Version with Security Update with Portmanager and Portaudit Update FreeBSD Ports Collection ar jaunāko versiju ar Drošības Update ar Portmanager un Portaudit
- Update FreeBSD Ports Collection Up to Date and Latest Update FreeBSD Ports Collection Līdz datums un Latest
- Using Portsnap to Update FreeBSD Ports Tree Collection Izmantojot Portsnap atjaunināt FreeBSD Ports Tree Collection
- How to Downgrade iPhone Firmware 1.1.1 to Old Crackable and Hackable 1.0.2 Version Kā pazemināt IPHONE firmware 1.1.1 uz Vecā Crackable un Hackable 1.0.2 versija
- Searching for Application in FreeBSD's Ports Collection Meklē Piemērošana FreeBSD ostās Collection
- Easy Way to Upgrade FreeBSD's Ports Easy Way to Upgrade FreeBSD ostās
- Download Previous or Old Version of WordPress Download Iepriekšējais vai Vecā versija WordPress
- Installing Web Server in FreeBSD 6.0 with Apache 2.2, MySQL 5.0 and PHP 5 – Part 3 Instalēšana Web serveri FreeBSD 6,0 ar Apache 2.2, MySQL 5.0 un PHP 5 - 3.daļa
- Installing Web Server in FreeBSD 6.0 with Apache 2.2, MySQL 5.0 and PHP 5 – Part 4 Instalēšana Web serveri FreeBSD 6,0 ar Apache 2.2, MySQL 5.0 un PHP 5 - 4.daļa
- Can You Downgrade from Vista to XP? Vai Jūs pazemināt no Vista uz XP?









































