Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 6 May 2011 11:36:07 -0500
From:      Antonio Olivares <olivares14031@gmail.com>
To:        Warren Block <wblock@wonkity.com>
Cc:        FreeBSD Questions <freebsd-questions@freebsd.org>
Subject:   Re: Does running ``# portupgrade -arRp '' prompt for options or updates everything without prompts?
Message-ID:  <BANLkTikaY-=iLtvG9rdHfLpFFDpcZhQo1g@mail.gmail.com>
In-Reply-To: <alpine.BSF.2.00.1105051931240.28646@wonkity.com>
References:  <BANLkTinDDSsZFFAYQ=tpLOLdu4Wfog3ZpQ@mail.gmail.com> <alpine.BSF.2.00.1105051931240.28646@wonkity.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, May 5, 2011 at 8:37 PM, Warren Block <wblock@wonkity.com> wrote:
> On Thu, 5 May 2011, 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.htm=
l
>>
>> 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
>
> portupgrade is written in Ruby and uses ruby-bdb, so this may not work. -=
f
> is of questionable value. =A0Why not just cd to the port directories, and
> 'make clean build deinstall install'?
This is what I am running now ATM

# cd /usr/ports/
# make clean build deinstall install

Will it install all the ports?   or only the ones that are installed?

>
>> # freebsd-update install
>>
>> and had nothing more to do :(
>>
>> I had many packages that need to be updated so I am running :
>>
>> # portupgrade -arRp
>
> -a is equivalent to -arR. =A0And that's building packages, which is not
> necessary unless you want to copy them to another machine.
>
>> will this prompt me for customizations?
>
> Options menus? =A0Yes, the ports will ask on their own. =A0If you use the=
 -c or
> -C options, portupgrade will do all of them at the start of the process.
>

Thanks,

Antonio



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?BANLkTikaY-=iLtvG9rdHfLpFFDpcZhQo1g>