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 port= s >> tree, and install only the needed ports. =A0Right now you may have many >> installed that are not just unneeded but unwanted. >> > > I am following the advice given in man portmaster: > > <quote> > =A0 =A0 Using portmaster to do a complete reinstallation of all your port= s: > =A0 =A0 =A0 =A0 =A0 1. portmaster --list-origins > ~/installed-port-list > > =A0 =A0 Print only the ports that have available updates. =A0This can be = used as an > =A0 =A0 alias in your shell. =A0Be sure to fix the line wrapping appropri= ately. > =A0 =A0 =A0 =A0 =A0 portmaster -L | > =A0 =A0 =A0 =A0 =A0 egrep -B1 '(ew|ort) version|Aborting|installed|depend= encies| > =A0 =A0 =A0 =A0 =A0 IGNORE|marked|Reason:|MOVED|deleted|exist|update' | g= rep -v '^--' > > =A0 =A0 =A0 =A0 =A0 2. Update your ports tree > =A0 =A0 =A0 =A0 =A0 3. portmaster -ty --clean-distfiles > =A0 =A0 =A0 =A0 =A0 4. portmaster --check-port-dbdir > =A0 =A0 =A0 =A0 =A0 5. portmaster -Faf > =A0 =A0 =A0 =A0 =A0 6. pkg_delete -a > =A0 =A0 =A0 =A0 =A0 7. rm -rf /usr/local/lib/compat/pkg > =A0 =A0 =A0 =A0 =A0 8. Back up any files in /usr/local you wish to save, > =A0 =A0 =A0 =A0 =A0 =A0 =A0such as configuration files in /usr/local/etc > =A0 =A0 =A0 =A0 =A0 9. Manually check /usr/local and /var/db/pkg > =A0 =A0 =A0 =A0 =A0 =A0 =A0to make sure that they are really empty > =A0 =A0 =A0 =A0 =A0 10. Re-install portmaster > =A0 =A0 =A0 =A0 =A0 11. portmaster `cat ~/installed-port-list` > </quote> > > Mostly everything is step 11 :) =A0Will 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>