DaemonForums  

Go Back   DaemonForums > FreeBSD > FreeBSD Ports and Packages

FreeBSD Ports and Packages Installation and upgrading of ports and packages on FreeBSD.

Reply
 
Thread Tools Display Modes
  #1   (View Single Post)  
Old 20th August 2009
deadeyes deadeyes is offline
Port Guard
 
Join Date: Jun 2008
Posts: 19
Thanked 0 Times in 0 Posts
Default portupgrade, upgrading the whole system

HI all,

I wondered if portupgrade -a does recompile every package, or only packages that are upgraded/updated. Also, if I do portupgrade -af for updating my system, and it gives me an output that some packages are failed, others are skipped and other ignored, and then type portupgrade -af again. Will this recompile all those packages again?

Why would some packages be ignored for updating?

Thanks in advance!
Reply With Quote
  #2   (View Single Post)  
Old 20th August 2009
Calderon's Avatar
Calderon Calderon is offline
Real Name: Patrick Ääripää
Fdisk Soldier
 
Join Date: May 2008
Location: Finland
Posts: 57
Thanked 0 Times in 0 Posts
Default

Have you tried with n switch?

Code:
-n
     --noexecute            Do not actually install or upgrade any packages;
                            just show what would be done.  This option implies
                            -v and negates -i and -y.
__________________
SpreadBsd
Reply With Quote
  #3   (View Single Post)  
Old 24th August 2009
BSDKaffee's Avatar
BSDKaffee BSDKaffee is offline
Real Name: Jason Hale
Coffee Addict
 
Join Date: May 2008
Location: Wintersville, Ohio
Posts: 212
Thanked 36 Times in 34 Posts
Default

Quote:
Originally Posted by deadeyes View Post
I wondered if portupgrade -a does recompile every package, or only packages that are upgraded/updated.
portupgrade -a will upgrade all packages that need upgraded; up-to-date packages will not be upgraded.
Quote:
Originally Posted by deadeyes View Post
Also, if I do portupgrade -af for updating my system, and it gives me an output that some packages are failed, others are skipped and other ignored, and then type portupgrade -af again. Will this recompile all those packages again?
portupgrade -af will force all packages to be upgraded whether they are up-to-date or not. It has no knowledge of whether you ran it before or not, so it would start from the beginning if you ran it again.
Quote:
Originally Posted by deadeyes View Post
Why would some packages be ignored for updating?
If package A requires package B and package B fails, package A will be skipped. A package could be ignored if it is currently broken or set to be ignored or if some other error occurred.
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
pthread/portupgrade problems magic FreeBSD Installation and Upgrading 1 18th August 2009 07:35 AM
Portupgrade problem hitete FreeBSD Ports and Packages 1 28th August 2008 03:53 PM
portupgrade -a =>Stale Dependency jaymax FreeBSD Ports and Packages 15 23rd July 2008 10:05 AM
PATCH errors during portupgrade shinjii FreeBSD Installation and Upgrading 4 23rd June 2008 02:47 AM
Which file system use to share data on Bsd system? aleunix Other BSD and UNIX/UNIX-like 2 1st June 2008 04:14 PM


All times are GMT. The time now is 11:21 PM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content copyright © 2007-2010, the authors
Daemon image copyright ©1988, Marshall Kirk McKusick