From owner-freebsd-questions@freebsd.org Tue Dec 8 20:45:02 2015 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id B29279D5341 for ; Tue, 8 Dec 2015 20:45:02 +0000 (UTC) (envelope-from brian@brianwhalen.net) Received: from mail-lb0-x22c.google.com (mail-lb0-x22c.google.com [IPv6:2a00:1450:4010:c04::22c]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 389BA19A8 for ; Tue, 8 Dec 2015 20:45:02 +0000 (UTC) (envelope-from brian@brianwhalen.net) Received: by lbbcs9 with SMTP id cs9so18097212lbb.1 for ; Tue, 08 Dec 2015 12:45:00 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=brianwhalen-net.20150623.gappssmtp.com; s=20150623; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=SnnRCI1UEBfbsb9iVl8V/o5CGYPjZTCgJlKAKRfSV9E=; b=bK2j93dB7U/nsKWkbrueZf+vgobECTJghzm8MaNZEIbgEC1WpgpbPAXtN6RkRhqIhh wgaL+Te4v7veKrIkXC2U4GPkuHAFVX+S3cYBG5tA38CDPir36srehj3ZlIXBII+gPljs JeoujVjAbl59RlOsW6Z8Bf5btl3UgGumRMgDEM1kkmPChXxkSYiIiHvbLcL6JMHJFCXJ z1teURPCqm3eKffuh/A04RTewiSvvOGUczo6B7R25SGD26/nFJpc7/14Rv1KvhoID2YI xZJZDDVDW45mCKoUEgelskdvpPdD9POxJemztNaykkv9a1JCmFf2/zMd1A597DMuQS8k JUpA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:date :message-id:subject:from:to:content-type; bh=SnnRCI1UEBfbsb9iVl8V/o5CGYPjZTCgJlKAKRfSV9E=; b=VYKoAEPm+N8CB49h8+m/h13IiChkCpbbyBreg4AjFXZG/vDkvGytTQj4oRf23D4dzG /1KMerm7HIVxmS35/y7KwTtA/vA6opnJE2Iy+k+9T4mx4MM9nt7ztV9Zm8EAT5FkokOr OzyL9bErJFCkYaR+RpFNcYrfxbRNbhV08akN5o/TWvDzK76N3vgO718BoWCFh89XgG9x ESkx2c1ApgARYjeSizG3iczH/Y2XubFu+UQfgWdnGGiUHUC9hIhVkQIwlC0ZzV2bAxst Ag0eCq1O4K0Z3JbCz5g1HL0o7465tbzzIfQkDn1QLZK5LyQlK+FgBX4D6A+EtOzzQ28j ID0Q== X-Gm-Message-State: ALoCoQlzRruFmo3xqYifiMpPmdTpVsiWX3ndr388fZU/oIyshsc61Kro9PlLipkZC23VNjV2w47hQKToBj/tjAXcsH/WTnsgoQ== MIME-Version: 1.0 X-Received: by 10.112.16.196 with SMTP id i4mr150571lbd.107.1449607500262; Tue, 08 Dec 2015 12:45:00 -0800 (PST) Received: by 10.25.205.143 with HTTP; Tue, 8 Dec 2015 12:45:00 -0800 (PST) X-Originating-IP: [2600:1012:b143:f6f8:9155:3b70:6e5d:b8e8] Received: by 10.25.205.143 with HTTP; Tue, 8 Dec 2015 12:45:00 -0800 (PST) In-Reply-To: <20151208202917.GA2269@c720-r285885-amd64> References: <20151208200303.GA2194@c720-r285885-amd64> <20151208202917.GA2269@c720-r285885-amd64> Date: Tue, 8 Dec 2015 12:45:00 -0800 Message-ID: Subject: Re: remove all installed packages From: "Brian W." To: FreeBSD Mailing List , Matthias Apitz Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.20 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 08 Dec 2015 20:45:02 -0000 Do a cd to /var/db/pkg and then pkg_del * should work if it is the old pkg system. On Dec 8, 2015 12:29 PM, "Matthias Apitz" wrote: > El d=C3=ADa Tuesday, December 08, 2015 a las 12:21:54PM -0800, Brian W. > escribi=C3=B3: > > > That /usr/local rm is gross overkill. If you have the old pkg system an > ls > > of /var/db/pkg with the results sent to pkg_del would work. > > Sorry, I was asking to remove completely all ports installed with > pkg(8), and this in a fast way w/o going through all dependencies; just > to prepare for a complete fresh installation. > > matthias > -- > Matthias Apitz, =E2=9C=89 guru@unixarea.de, =F0=9F=8C=90 http://www.unixa= rea.de/ =E2=98=8E > +49-176-38902045 > _______________________________________________ > freebsd-questions@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to " > freebsd-questions-unsubscribe@freebsd.org"