pavement

Portmanager

From FreeBSDwiki
(Difference between revisions)
Jump to: navigation, search
(note)
 
(2 intermediate revisions by one user not shown)
Line 1: Line 1:
Portmanager is like Portupgrade but better for quite a few reasons.  One of which is when updating everything it handles the whole updating process much smoother.
+
Portmanager is like [[portupgrade]] but some consider it to be better, because it is written in [[C programming language|C]] (faster than [[Ruby]] to perform the same task ), and some prefer the way that it handles the upgrading process.  Presently, the port is not under active development. It is not in the ports tree anymore, as of 2015.
  
 
==Updating All Ports==
 
==Updating All Ports==
Line 5: Line 5:
  
 
To upgrade enter:
 
To upgrade enter:
<pre># portmanager -u -l</pre>
+
# portmanager -u -l
  
 
This keeps a log in the /var/log/portmanager.log file.
 
This keeps a log in the /var/log/portmanager.log file.
  
 
When resuming enter:
 
When resuming enter:
<pre># portmanager -u -l --resume</pre>
+
# portmanager -u -l --resume
  
 
You may need to run it a few times.  Refer to the log and search for any ports which did not fetch and you will have to go and download those and put them in /usr/ports/distfiles directory.  Then you can resume.  There might even be some ports that have errors when compiling, it maybe best to go and upgrade these manually.
 
You may need to run it a few times.  Refer to the log and search for any ports which did not fetch and you will have to go and download those and put them in /usr/ports/distfiles directory.  Then you can resume.  There might even be some ports that have errors when compiling, it maybe best to go and upgrade these manually.
Line 16: Line 16:
 
==Listing Ports==
 
==Listing Ports==
  
<pre># portmanager -s</pre>
+
# portmanager -s
  
 
==Listing Ports which require updating==
 
==Listing Ports which require updating==
  
<pre># portmanager -s | grep OLD</pre>
+
# portmanager -s | grep OLD
 
+
  
 
==External Links==
 
==External Links==

Latest revision as of 09:22, 30 October 2015

Portmanager is like portupgrade but some consider it to be better, because it is written in C (faster than Ruby to perform the same task ), and some prefer the way that it handles the upgrading process. Presently, the port is not under active development. It is not in the ports tree anymore, as of 2015.

Contents

[edit] Updating All Ports

CAUTION: Please read the /usr/ports/UPDATING before attempting this. At least check the ports that you really need will upgrade without a problem.

To upgrade enter:

# portmanager -u -l

This keeps a log in the /var/log/portmanager.log file.

When resuming enter:

# portmanager -u -l --resume

You may need to run it a few times. Refer to the log and search for any ports which did not fetch and you will have to go and download those and put them in /usr/ports/distfiles directory. Then you can resume. There might even be some ports that have errors when compiling, it maybe best to go and upgrade these manually.

[edit] Listing Ports

# portmanager -s

[edit] Listing Ports which require updating

# portmanager -s | grep OLD

[edit] External Links

http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/ports-using.html http://www.paulbeard.org/wordpress/index.php/archives/2005/07/10/annoyances-and-workarounds/

Personal tools