Easy Way to Upgrade FreeBSD's Ports आसान तरीका करने के लिए नवीनीकरण 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 जाँच करनी चाहिए. 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-एफ बनाएँ
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-एक के बंदरगाहों को अद्यतन करने के लिए शुरू करने के लिए.
The portupgrade will read the database file created by pkgdb -F and the ports INDEX file. इस portupgrade डाटाबेस pkgdb द्वारा निर्मित फाइल-एफ और बंदरगाहों सूचकांक फाइल पढ़ने जाएगा. 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. यदि आप केवल एक निश्चित आवेदन को उन्नत करने के लिए, उपयोग portupgrade pkgname नहीं पूरी डेटाबेस चाहता हूँ अगर portupgrade उन सभी संकुल को दिया पैकेज पर भी निर्भर करता है, और काम करना चाहिए-नि. सभी संकुल के द्वारा जरूरी पर कार्रवाई करने के लिए अनुसंधान के झंडे-शामिल इस पैकेज दिया.
To use packages instead of ports for installation, provide -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 में सूचीबद्ध, खोजों या दूरस्थ साइट से संकुल fetches अगर यह स्थानीय नहीं मिला है. If packages can not be found locally or fetched remotely, portupgrade will use ports. अगर संकुल स्थानीय पाया नहीं जा सकता है या दूर दिलवाया, portupgrade बंदरगाहों का प्रयोग करेंगे. To avoid using ports, specify -PP. बंदरगाहों का उपयोग कर, निर्दिष्ट-पीपी से बचने के लिए.
To just fetch distfiles (or packages, if -P is specified) without building or installing anything, use -F. बस इमारत या कुछ और, उपयोग एफ की स्थापना के बिना (या संकुल, अगर-पी निर्दिष्ट है) distfiles लाने के लिए.
Note: It is important to regularly update the package database using pkgdb -F to fix inconsistencies, especially when portupgrade asks you to. नोट: यह नियमित रूप से पैकेज pkgdb डाटाबेस का उपयोग कर-एफ अद्यतन करने के लिए महत्वपूर्ण है, खासकर जब 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. जब भी संभव हो सकता है.
Related Articles संबंधित लेख
- Update FreeBSD Ports Collection to Latest Version with Security Update with Portmanager and Portaudit अद्यतन FreeBSD बंदरगाहों संग्रह नवीनतम संस्करण सुरक्षा अद्यतन Portmanager और Portaudit के साथ करने के लिए
- Using Portsnap to Update FreeBSD Ports Tree Collection अद्यतन FreeBSD बंदरगाहों ट्री के लिए संग्रह Portsnap का प्रयोग
- Update FreeBSD Ports Collection Up to Date and Latest अद्यतन FreeBSD बंदरगाहों संग्रह अप करने के लिए तिथि और नवीनतम
- Portdowngrade – Downgrade to Previous Version of FreeBSD's Ports Portdowngrade - पिछला संस्करणः 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 Installing वेब सर्वर FreeBSD 6,0 में Apache 2.2, 5.0 और MySQL PHP 5 के साथ - भाग 3
- Installing Web Server in FreeBSD 6.0 with Apache 2.2, MySQL 5.0 and PHP 5 – Part 5 Installing वेब सर्वर FreeBSD 6,0 में Apache 2.2, 5.0 और MySQL PHP 5 के साथ - भाग 5
- Installing and Configuring DHCP Server (DHCPd) on FreeBSD Installing और विन्यास DHCP सर्वर (DHCPd) FreeBSD पर
- Installing Web Server in FreeBSD 6.0 with Apache 2.2, MySQL 5.0 and PHP 5 – Part 4 Installing वेब सर्वर FreeBSD 6,0 में Apache 2.2, 5.0 और MySQL PHP 5 के साथ - भाग 4
- Nokia Cellphones To Feature Magnetized Ports नोकिया सेलफोन के लिए फ़ीचर चुम्बकीय बंदरगाहों









































