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. Проблема есть, когда я пытался перезапустить сервер Apache, есть ошибка 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, много работ нужно сделать: расследует порт изменения в cvs репозиторий в 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 автоматизирует все эти шаги, от досмотра cvs репозитария, чтобы взять на показ всех комментариев до проверить конкретного релиза и копирование его в дереве портов. 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 кд / usr / порты / sysutils / portdowngrade
make install clean сделать чистой установки
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: / главная / 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, один из FreeBSD anoncvs сервер.
You may use any other available anoncvs servers which listed at Можно использовать любую другую имеющуюся anoncvs серверов, которые перечислены в Anonymous CVS Анонимный 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 / местные / sbin / portdowngrade порта (порта моя будет с приставкой категория / и postfixed долл. США)
or simply (if it’s within the path): или просто (если она в путь):
portdowngrade portname (portname my be prefixed by category/ and postfixed by $) portdowngrade порта (порта моя будет с приставкой категория / и 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-сервер для использования во время установки, то вы можете указать это с помощью командной строки с помощью "- с cvs-сервера или сервера cvs-сервер вариант. For example, -s:pserver:anoncvs@anoncvs.FreeBSD.org:/home/ncvs Например,-ы: pserver: anoncvs@anoncvs.FreeBSD.org: / главная / 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). Другие варианты включают-л-лог-файл или указать имя файла, которое собирает лог-файл отладочную информацию,-т или-maxTime время указывать максимальное время разница (в секундах) для лечения совершает с cvs же комментарий, принадлежащих вместе (по умолчанию: 10 секунд) , Или-о-вход для выполнения "cvs входа", прежде чем все остальные команды cvs (если ~ /. 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-страниц, использование пространства для перехода к следующей странице, п за предыдущие страницы, г подробности и введите покинуть порт история дисплея. После этого, выберите версию хочу принизить или изменить ничего 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-У.
To ‘downgrade’ the installed port, issue command: Чтобы понизить "установлен порт, вопрос команды:
portupgrade -f portname portupgrade-е порта
Note: If you run cvsup, the port will be changed back to the latest version! Примечание: Если вы запускаете cvsup, порт будет изменен на последнюю версию!
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 Статьи по теме
- Searching for Application in FreeBSD’s Ports Collection Поиск для применения в FreeBSD портов Коллекция
- Easy Way to Upgrade FreeBSD’s Ports Легкий способ обновления FreeBSD портов
- Can You Downgrade from Vista to XP? Можете ли Вы Downgrade с Vista для XP?
- Update FreeBSD Ports Collection to Latest Version with Security Update with Portmanager and Portaudit Обновление коллекции FreeBSD портов к последней версии обновления безопасности с Portmanager и Portaudit
- Nokia Cellphones To Feature Magnetized Ports Для сотовых телефонов Nokia функция намагниченной порты
- Network Ports Used by Windows Product Activation (WPA) for Communication Сетевые порты, используемые Windows Активация продукта (WPA) для коммуникации
- List, View, Save and Close Opened TCP/IP Ports or Connections with CurrPorts Список "," Просмотр "," Сохранить и закрыть Открыты TCP / IP портов или соединений с CurrPorts
- Download Previous or Old Version of WordPress Скачать предыдущей или старая версия WordPress
- How to Rollback Driver Update in Windows Vista Как обновить драйвер "откат" в Windows Vista
- Using Portsnap to Update FreeBSD Ports Tree Collection Использование Portsnap для обновления дерева портов FreeBSD Коллекция
































