Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 7 May 2011 02:26:15 +0000
From:      Antonio Olivares <olivares14031@gmail.com>
To:        Warren Block <wblock@wonkity.com>
Cc:        Polytropon <freebsd@edvax.de>, FreeBSD Questions <freebsd-questions@freebsd.org>
Subject:   Re: Does running ``# portupgrade -arRp '' prompt for options or updates everything without prompts?
Message-ID:  <BANLkTikL4sEZfz%2ByWW7hqXyK_0rjrqTA3g@mail.gmail.com>
In-Reply-To: <BANLkTim=mtDsLJQq1K28iaH6tXbLvFnOSA@mail.gmail.com>
References:  <BANLkTinDDSsZFFAYQ=tpLOLdu4Wfog3ZpQ@mail.gmail.com> <alpine.BSF.2.00.1105051931240.28646@wonkity.com> <BANLkTikaY-=iLtvG9rdHfLpFFDpcZhQo1g@mail.gmail.com> <20110506190941.64bc8ee5.freebsd@edvax.de> <alpine.BSF.2.00.1105061153100.32123@wonkity.com> <BANLkTinSjeDAyh-vnN-RnR=zMm980HkayQ@mail.gmail.com> <BANLkTin_wHq-GLDzx9JDuTLQwuNJi%2B1i0Q@mail.gmail.com> <alpine.BSF.2.00.1105061441520.32589@wonkity.com> <BANLkTim=mtDsLJQq1K28iaH6tXbLvFnOSA@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help

On Fri, May 6, 2011 at 9:59 PM, Antonio Olivares
<olivares14031@gmail.com> wrote:
> On Fri, May 6, 2011 at 8:43 PM, Warren Block <wblock@wonkity.com> wrote:
>> On Fri, 6 May 2011, Antonio Olivares wrote:
>>>
>>> On Fri, May 6, 2011 at 1:52 PM, Antonio Olivares
>>>
>>> Sorry for TOP POSTING :(, but do I run
>>> # portmaster -a -f -D
>>>
>>> and do an in place update of all ports?
>>> is this the recommended way or nuking and rebuilding?
>>
>> After the attempt to install every port, I'd remove all, update the ports
>> tree, and install only the needed ports.  Right now you may have many
>> installed that are not just unneeded but unwanted.
>>
>
> I am following the advice given in man portmaster:
>
> <quote>
>     Using portmaster to do a complete reinstallation of all your ports:
>           1. portmaster --list-origins > ~/installed-port-list
>
>     Print only the ports that have available updates.  This can be used as an
>     alias in your shell.  Be sure to fix the line wrapping appropriately.
>           portmaster -L |
>           egrep -B1 '(ew|ort) version|Aborting|installed|dependencies|
>           IGNORE|marked|Reason:|MOVED|deleted|exist|update' | grep -v '^--'
>
>           2. Update your ports tree
>           3. portmaster -ty --clean-distfiles
>           4. portmaster --check-port-dbdir
>           5. portmaster -Faf
>           6. pkg_delete -a
>           7. rm -rf /usr/local/lib/compat/pkg
>           8. Back up any files in /usr/local you wish to save,
>              such as configuration files in /usr/local/etc
>           9. Manually check /usr/local and /var/db/pkg
>              to make sure that they are really empty
>           10. Re-install portmaster
>           11. portmaster `cat ~/installed-port-list`
> </quote>
>
> Mostly everything is step 11 :)  Will come back hopefully with a fully
> updated machine.
>
> Regards,
>
> Antonio
>

startx command not found :(, no bash
ran
# pkg_add -r bash
# pkg_add -r xfce4

did not succeed, now ran to ports
# cd /usr/ports/x11-wm/xfce4
# make install clean

and am stuck here.  Hopefully this gets me back on my feet.
Otherwise, it has been a big exercise :) and definitely I will learn
from it.

Regards,

Antonio



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?BANLkTikL4sEZfz%2ByWW7hqXyK_0rjrqTA3g>