Does running ``# portupgrade -arRp '' prompt for options or updates everything without prompts?

Frank Shute frank at shute.org.uk
Fri May 6 01:04:38 UTC 2011


On Thu, May 05, 2011 at 05:50:28PM -0500, Antonio Olivares wrote:
>
> Dear all,
> 
> I was running FreeBSD 8.1 and am in the process of updating it
> following advice in handbook:
> 
> http://www.freebsd.org/doc/handbook/updating-upgrading-freebsdupdate.html
> 
> ran
> # freebsd-update fetch
> # freebsd-update install
> 
> # portupgrade -af
> 
> # freebsd-update -r 8.2-RELEASE upgrade
> 
> then
> 
> # freebsd-update install
> 
> Tried to do this:
> # portupgrade -f ruby
> # rm /var/db/pkg/pkgdb.db
> # portupgrade -f ruby18-bdb
> # rm /var/db/pkg/pkgdb.db /usr/ports/INDEX-*.db
> # portupgrade -af
> 
> Did not work correctly[too many customizations] and Tried again
> 
> # freebsd-update install
> 
> and had nothing more to do :(
> 
> I had many packages that need to be updated so I am running :
> 
> # portupgrade -arRp
> 
> will this prompt me for customizations?

Yes it will. I usually use the -C flag of portupgrade when I'm
updating ports. This flag prompts you with all the options screens
before it does the update. That way you're not left with the upgrade
hanging half way through whilst it waits for you to configure the
options.

As Polytropon says you can use the --batch flag if you know that you
don't want to change the default options.

> 
> Thanks in advance/advice/suggestions.  I am taking the plunge a little
> further.  Before I just installed and left it alone :( [except for a
> few packages that I wanted and ran/installed via ports ], now I am
> trying to learn more and setup the firewall.  I set up the simple
> example setup by Polytropon and most is working.  My freebsd version
> has moved to FreeBSD 8.2
> 
> 
> 
> [olivares at grullahighschool /usr/home/olivares]$ uname -a
> FreeBSD grullahighschool.rgccisd.org 8.2-RELEASE FreeBSD 8.2-RELEASE
> #0: Thu Feb 17 02:41:51 UTC 2011
> root at mason.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC  amd64
> 
> 
> Regards,
> 
> Antonio

Regards,

-- 

 Frank

 Contact info: http://www.shute.org.uk/misc/contact.html


-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 196 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20110506/e21b4cc5/attachment.pgp


More information about the freebsd-questions mailing list