Portdowngrade – Downgrade to Previous Version of FreeBSD's Ports Portdowngrade - Downgrade đến trước Phiên bản của Ports của 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. Sau khi bạn nâng cấp hay cập nhật các cảng của FreeBSD, bạn có thể phát hiện ra rằng có một số mua với phiên bản mới nhất của một gói. 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. Ví dụ, sau khi tôi chạy CVSup trên tất cả các bộ sưu tập các cảng trên máy chủ FreeBSD của tôi, nó được cập nhật của tôi để subversion svn phiên bản 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. Vấn đề là, khi tôi đã cố gắng để khởi động lại máy chủ Apache, có lỗi mà nói mod_dav_svn.so là mất tích.

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. Đã cố gắng để tái lập máy chủ SVN được giúp đỡ không, vì nó sẽ không đơn giản chỉ muốn biên dịch mã nguồn mod_dav_svn.so, do một lỗi trong Makefile mà chỉ đơn giản là không nhận WITH_MOD_DAV_SVN = yes thiết lập. So to go back to the original (or previous) version of subversion (or any other package or ports), use portdowngrade. Vì vậy, để trở lại (hoặc bản gốc trước) phiên bản của subversion (hoặc bất kỳ gói khác hoặc cổng), sử dụng 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. Nếu không có portdowngrade, rất nhiều công trình cần được thực hiện: tra những thay đổi cổng trong kho cvs FreeBSD thông qua giao diện của trang web, các insepcts tất cả các cam kết ý kiến để tìm ra được một tập các phiên bản phát hành làm việc cũ hơn, và sau khi tải và bản sao các tập tin đến vị trí chính xác trong cây cổng, sau đó chỉ cổng có thể được hạ cấp bởi cơ chế cổng thông thường 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 giúp hạ cấp cảng FreeBSD bằng cách phân tích lịch sử của cam kết cảng và trình bày cho người dùng trong danh sách các thay đổi. By selecting one, the port can be set back to a previous version easily. Bằng cách chọn một trong, cảng có thể được đặt trở lại một phiên bản trước đó một cách dễ dàng. 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. Nói cách khác, portdowngrade automatizes tất cả các bước này, từ kiểm tra kho cvs để hiển thị tất cả các cam kết ý kiến lên đến kiểm tra ra một bản phát hành cụ thể và việc sao chép nó vào cây cổng. With just a few key presses a lot of work is saved. Chỉ với một vài thao tác quan trọng rất nhiều công việc được lưu.

Install Portdowngrade Cài đặt Portdowngrade

To install sysutils/portdowngrade, use the following commands: Để cài đặt sysutils / portdowngrade, sử dụng các lệnh sau đây:

cd /usr/ports/sysutils/portdowngrade cd / usr / cổng / sysutils / portdowngrade
make install clean thực hiện cài đặt sạch

If you want to define DEFAULT_CVS_SERVER, use the following command (it's recommended to define the server): Nếu bạn muốn xác định DEFAULT_CVS_SERVER, sử dụng lệnh sau đây (nó được đề nghị để xác định các máy chủ):

make DEFAULT_CVS_SERVER=\”: server_string :/home/ncvs\” install làm cho DEFAULT_CVS_SERVER = \ ": server_string: / home / ncvs \" cài đặt

Replace server_string with pserver:anoncvs@anoncvs.at.FreeBSD.org, one of the FreeBSD anoncvs server. Thay thế server_string với pserver: anoncvs@anoncvs.at.FreeBSD.org, một trong những máy chủ anoncvs FreeBSD.

You may use any other available anoncvs servers which listed at Bạn có thể sử dụng bất kỳ máy chủ sẵn anoncvs khác mà được liệt kê ở Anonymous CVS Chưa xác định người CVS . .

Using portdowngrade Sử dụng portdowngrade

To run portdowngrade, issue the following command: Để chạy portdowngrade, vấn đề hiện lệnh sau:

usr/local/sbin/portdowngrade portname (portname my be prefixed by category/ and postfixed by $) usr / local / sbin / portdowngrade portname (portname được tiền tố của tôi theo thể loại / và postfixed bởi $)

or simply (if it's within the path): hoặc đơn giản (nếu nó trong đường dẫn):

portdowngrade portname (portname my be prefixed by category/ and postfixed by $) portdowngrade portname (portname được tiền tố của tôi theo thể loại / và postfixed bởi $)

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. Nếu bạn không xác định những máy chủ CVS để sử dụng khi cài đặt, bạn có thể chỉ định nó qua dòng lệnh bằng cách sử dụng "- s cvs-máy chủ hoặc máy chủ cvs--server tùy chọn. For example, -s:pserver:anoncvs@anoncvs.FreeBSD.org:/home/ncvs Ví dụ:-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). Các tuỳ chọn khác có sẵn bao gồm-l hoặc-logfile xác định tên tập tin logfile đó thu thập thông tin gỡ lỗi, hoặc-t-maxTime thời gian để xác định sự khác biệt thời gian tối đa (trong vài giây) để điều trị cvs cam kết với các nhận xét tương tự như thuộc về nhau (mặc định: 10 giây) ,-o-hoặc đăng nhập để thực thi một "cvs đăng nhập" trước khi tất cả các lệnh cvs khác (nếu ~ / cvspass tập tin. rằng mật khẩu của các cửa hàng tồn tại, tùy chọn này không còn cần thiết).

Then (of after login if applicable), portdowngrade will performs 6 steps (only after 6 steps will there be changes to the system): Sau đó (trong sau khi đăng nhập nếu có), portdowngrade sẽ thực hiện 6 bước (chỉ sau 6 bước sau sẽ có thay đổi cho hệ thống):

Step 1: Checking out port from CVS repository Bước 1: Kiểm tra cổng ra từ kho CVS

Step 2: Reading the port history from the CVS repository Bước 2: Đọc lịch sử cảng từ kho CVS

Step 3: Analyzing the port history from the CVS repository Bước 3: Phân tích lịch sử cảng từ kho 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). Bước 4: Load bản số cảng và kết quả hiện tại (Nếu nhiều hơn 1 trang, sử dụng không gian để đi đến trang tiếp theo, p cho trang trước, d để biết chi tiết, và nhập để hiển thị lịch sử cảng. Sau đó, chọn phiên bản bạn muốn hạ xuống hoặc 0 không có gì thay đổi).

Step 5: Checking out choosen date of the port from the CVS repository Bước 5: Kiểm tra ra ngày đã chọn của các cảng từ kho CVS

Step 6: Modifying the port (Type yes to downgrade the port, or no to abort). Bước 6: Sửa đổi cổng (Type có để hạ cấp cảng, hoặc không để hủy bỏ).

Note: portdowngrade only changes the port, not the installed software! Lưu ý: chỉ thay đổi portdowngrade cảng, không phải là phần mềm được cài đặt!

After 6 steps, the selected port has been set to the selected older version. Sau 6 bước, cảng được chọn đã được thiết lập để các phiên bản cũ chọn. Continue by install the port. Tiếp tục bằng cách cài đặt các cổng. If you have portupgrade installed, use the following command to see the changes in the ports database: Nếu bạn có portupgrade cài đặt, sử dụng lệnh sau để xem các thay đổi trong cơ sở dữ liệu cổng:

portsdb -Uu portsdb-Uu

To 'downgrade' the installed port, issue command: Để 'hạ cấp' cổng cài đặt, vấn đề lệnh:

portupgrade -f portname portupgrade-f portname

Note: If you run cvsup, the port will be changed back to the latest version! Lưu ý: Nếu bạn chạy cvsup, cảng sẽ được thay đổi về phiên bản mới nhất!

IMPORTANT : The page is machine translated and provided "as is" without warranty. Quan trọng: Sửa là máy dịch và cung cấp "như là" không có bảo hành. Machine translation may be difficult to understand. Máy dịch thuật có thể khó hiểu. Please refer to Vui lòng tham khảo original English article bản gốc tiếng Anh bài viết whenever possible. bất cứ khi nào có thể.


Leave a Reply Để lại một trả lời

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> Bạn có thể sử dụng các thẻ: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime = ""> <em> <i> <q <strike> <strong>

Subscribe to comments feature has been disabled. Thuê bao với ý kiến đều đã bị vô hiệu hoá. To receive notification of latest comments posted, subscribe to Để nhận được thông báo mới nhất đăng ý kiến, đăng ký với My Digital Life Comments RSS feed My Digital Life kiến RSS feed or hoặc register to receive đăng ký để nhận được new comments in daily email digest. Các ý kiến mới trong email tiêu hàng ngày.
Custom Search

New Articles Bài viết mới

Incoming Search Terms for the Article Tìm đến các Điều khoản Điều

portdowngrade portdowngrade - -- portdowngrade freebsd portdowngrade freebsd - -- freebsd downgrade port freebsd hạ cấp cảng - -- portupgrade downgrade portupgrade hạ cấp - -- freebsd downgrade freebsd hạ cấp - -- downgrading FreeBSD port downgrading FreeBSD port - -- freebsd portdowngrade freebsd portdowngrade - -- downgrade port freebsd hạ cấp cảng freebsd - -- freebsd bitsnoop freebsd bitsnoop - -- port downgrade cảng hạ cấp - -- downgrade port hạ cấp cảng - -- freebsd downgrade package freebsd hạ cấp gói - -- ports downgrade cảng hạ cấp - -- portdowngrade server portdowngrade máy chủ - -- downgrade ports hạ cấp cảng - -- freebsd ports roll back cổng freebsd quay trở lại - -- freebsd reverting back to previous version port freebsd quay trở lại quay trở lại cảng phiên bản trước - -- freebsd ports downgrade a package freebsd cảng hạ cấp một gói - -- freebsd ports specify version cổng freebsd chỉ định phiên bản - -- freebsd port downgrade freebsd cảng hạ cấp - -- freebsd install ports previous version install freebsd cài đặt phiên bản trước cổng cài đặt - -- freebsd ports revert cổng freebsd hoàn nguyên - -- freebsd port revert freebsd cổng hoàn nguyên - -- freebsd + downgrade logiciel freebsd + hạ cấp logiciel - -- freebsd ports old version cổng freebsd phiên bản cũ - -- freebsd how to get older port version freebsd làm thế nào để có được phiên bản cũ hơn cảng - -- installing older port freebsd cài đặt cổng cũ freebsd - -- how to downgrade IE version using meta tag in web page làm thế nào để hạ cấp trình duyệt IE phiên bản bằng cách sử dụng thẻ meta trong trang web - --