From owner-freebsd-questions@FreeBSD.ORG Sat May 7 02:26:17 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 03E2C1065674 for ; Sat, 7 May 2011 02:26:17 +0000 (UTC) (envelope-from olivares14031@gmail.com) Received: from mail-bw0-f54.google.com (mail-bw0-f54.google.com [209.85.214.54]) by mx1.freebsd.org (Postfix) with ESMTP id 77AE48FC23 for ; Sat, 7 May 2011 02:26:16 +0000 (UTC) Received: by bwz12 with SMTP id 12so4266606bwz.13 for ; Fri, 06 May 2011 19:26:15 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:in-reply-to:references:date :message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=3dL1GIMxCDXduoxhKYQeYAb2WoEB1GdysON67ZBDoLE=; b=PTy30Oq5jSYZZs6yS6SBSnOXuK4Xdex3TZeXhx8cHDtic6d0vMAFmEjeydEgaHaF7d 1CeuYEGQHEr754st886pfh4Y9YX3zKsJq0+gEoyKz4Axmhzy8exgRSmXzRg02HQeGzjK zzHU/gi6cQDYddbv4XTNaiXxdUkFdySwA9l2c= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; b=t0utmxvcz/nxQHOWAxlsM/wSbT3g6gvVLJMM4BUfnrsySb5u58C6Q1q6eKzsjvTbGM r0E+X/jSZhY8+AWSKGjffcfCdX0zswT8KSrnLalZLyUREuFYHLt1qz58HKzg+qY3VaPf wWPBfAiZ9eruChS7Ufst0cdrop8QNAZ8J0I0Q= MIME-Version: 1.0 Received: by 10.204.16.70 with SMTP id n6mr3720335bka.87.1304735175290; Fri, 06 May 2011 19:26:15 -0700 (PDT) Received: by 10.204.169.65 with HTTP; Fri, 6 May 2011 19:26:15 -0700 (PDT) In-Reply-To: References: <20110506190941.64bc8ee5.freebsd@edvax.de> Date: Sat, 7 May 2011 02:26:15 +0000 Message-ID: From: Antonio Olivares To: Warren Block Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Cc: Polytropon , FreeBSD Questions Subject: Re: Does running ``# portupgrade -arRp '' prompt for options or updates everything without prompts? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 07 May 2011 02:26:17 -0000 On Fri, May 6, 2011 at 9:59 PM, Antonio Olivares wrote: > On Fri, May 6, 2011 at 8:43 PM, Warren Block 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: > > > =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` > > > 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