Easy Way to Upgrade FreeBSD’s Ports Modo semplice per aggiornare i porti di FreeBSD
Before you can update and upgrade the FreeBSD’s ports, the Ports Collection needs to be updated. Prima di poter aggiornare e migliorare il FreeBSD i porti, i porti di raccolta deve essere aggiornato. Follow step Seguire passo here qui to update the Ports Collection. per aggiornare le porte Collection.
Once you updated your Ports Collection, before attempting a port upgrade, you should check the /usr/ports/UPDATING file. Una volta aggiornato il tuo Ports Collection, prima di tentare un porto di aggiornamento, si dovrebbe verificare la directory / usr / ports / aggiornamento del file. This file describes various issues and additional steps users may encounter and need to perform when updating a port. Questo file descrive i vari problemi e ulteriori misure utenti possono incontrare e necessario eseguire l'aggiornamento quando una porta.
Keeping the ports up to date can be a tedious job. Mantenere le porte fino a data può essere un lavoro tedioso. 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. Solo per esempio, per aggiornare un porto avete bisogno di andare ai porti di directory, costruire il porto, disinstallare il vecchio porto, installare la nuova porta, quindi pulire dopo la compilazione. If there are numerous ports that need to be upgrade, it will be very troublesome. Se vi sono numerosi porti che devono essere di aggiornamento, sarà molto fastidioso. 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. Questo è stato un grande problema per gli amministratori di sistema per affrontare, e FreeBSD che hanno programmi di utilità farlo automaticamente, e che il rivenditore Debian / portupgrade utilità.
To install sysutils/portupgrade utility, use the command just as to install any other port: make install clean. Per installare rivenditore Debian / portupgrade utilità, utilizzare il comando così come l'installazione di qualsiasi altro porto: make install clean.
Create a database with the following command: pkgdb -F Creare una banca dati con il seguente comando: pkgdb-F
The command will read the list of installed ports and create a database file in the /var/db/pkg directory. Il comando leggerà l'elenco dei porti e installato creare un file di database in / var / db / pkg directory.
Run portupgrade -a to start to update the ports. Esegui portupgrade-a cominciare ad aggiornare i porti.
The portupgrade will read the database file created by pkgdb -F and the ports INDEX file. Il portupgrade leggerà il file di database creato da pkgdb-F e la porti file di indice. Finally, portupgrade will begin to download, build, backup, install, and clean the ports which have been updated. Infine, portupgrade inizierà a scaricare, costruire, di backup, installare, e pulire la porti che sono stati aggiornati.
Portupgrade utility has a lot of options for different uses, the most important ones listed below. Portupgrade utilità ha un sacco di opzioni per i diversi usi, le più importanti elencati di seguito.
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. Se si desidera aggiornare solo una certa applicazione, non il database completo, usa portupgrade pkgname, includere il flag-r se portupgrade dovrebbe agire su tutti i pacchetti a seconda del pacchetto dato come bene, e-R per agire su tutti i pacchetti necessari di il dato pacchetti.
To use packages instead of ports for installation, provide -P. Per utilizzare i pacchetti invece di porti per l'installazione, fornire-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. Con questa opzione portupgrade ricerche la directory locali elencate in PKG_PATH, o recupera i pacchetti da remoto sito se non è trovato a livello locale. If packages can not be found locally or fetched remotely, portupgrade will use ports. Se i pacchetti non possono essere trovate a livello locale o prelevato da remoto, portupgrade userà porti. To avoid using ports, specify -PP. Per evitare di usare i porti, specificare-PP.
To just fetch distfiles (or packages, if -P is specified) without building or installing anything, use -F. Per scaricare solo i distfiles (o pacchetti, se-P è specificato) senza edificio o di installare nulla, usa-F.
Note: It is important to regularly update the package database using pkgdb -F to fix inconsistencies, especially when portupgrade asks you to. Nota: E 'importante aggiornare regolarmente il database dei pacchetti utilizzando pkgdb-F per correggere incoerenze, specialmente quando portupgrade vi chiede di. Do not abort portupgrade while it is updating the package database, this will leave you an inconsistent database. Non interrompere portupgrade mentre è l'aggiornamento del database dei pacchetti, questo vi lascerà uno banca dati incoerenti.
IMPORTANT : This is a machine translated page which is provided "as is" without warranty. IMPORTANTE: Questa è una pagina tradotta macchina che è fornito "così com'è" senza alcuna garanzia. Machine translation may be difficult to understand. Traduzione automatica può essere difficile da capire. Please refer to Si prega di fare riferimento a original English article articolo originale inglese whenever possible. quando possibile.
Share and contribute or get technical support and help at Condividere e contribuire o ottenere supporto tecnico e assistenza in My Digital Life Forums La mia vita digitale Forum .
Related Articles Articoli correlati
- Searching for Application in FreeBSD’s Ports Collection Alla ricerca di Applicazione in FreeBSD Ports Collection's
- Nokia Cellphones To Feature Magnetized Ports Per cellulari Nokia funzione magnetizzato porti
- Update FreeBSD Ports Collection to Latest Version with Security Update with Portmanager and Portaudit Aggiornamento di FreeBSD Ports Collection alla versione più recente aggiornamento di sicurezza con Portmanager e Portaudit
- Portdowngrade - Downgrade to Previous Version of FreeBSD’s Ports Portdowngrade - retrocedere di versione precedente di FreeBSD porti
- Network Ports Used by Windows Product Activation (WPA) for Communication Le porte di rete utilizzata da Windows Product Activation (WPA) per la comunicazione
- Windows Anytime Upgrade Another Vista Computer Windows Anytime Upgrade Vista un altro computer
- Unable to Clean Install Windows Vista with Upgrade Edition Product Key Impossibile Pulizia installare Windows Vista edizione con aggiornamento codice "Product Key"
- Macally Hi-Speed USB 2.0 FireWire Combo Hub-UF Macally Hi-Speed USB 2,0 FireWire Combo Hub-UF
- Free Windows Vista Upgrade Coupon for Windows XP-based New PCs Libero di Windows Vista Upgrade coupon per Windows XP nuovi PC
- IOGEAR MiniView III USB KVMP Switch Kit Reviews IOGEAR MiniView III USB KVMP Switch kit recensioni
































