From owner-freebsd-questions@freebsd.org Tue Dec 8 20:25:57 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 4E09B9D457A for ; Tue, 8 Dec 2015 20:25:57 +0000 (UTC) (envelope-from amvandemore@gmail.com) Received: from mail-wm0-x231.google.com (mail-wm0-x231.google.com [IPv6:2a00:1450:400c:c09::231]) (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 E2A4A1ABC for ; Tue, 8 Dec 2015 20:25:56 +0000 (UTC) (envelope-from amvandemore@gmail.com) Received: by wmww144 with SMTP id w144so195724891wmw.1 for ; Tue, 08 Dec 2015 12:25:55 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=kdTLgLPbKn5on12ILZq2X7zg8nId+GJj+RLImDvVK6k=; b=HPV4jtj9fWlcJL7MXDgAfG3BcKrjZxq8f54TABavhcLGP/nXtfVn1hxl9rxBczGjQv 4hwJyvLnnVs2POXNgTF5I1JXguiE+WpqXIDYk8DZAc11BlC8aBzW6NLyFdTBIf1t6lNF 7a8mcEJabYf1v1dohBUDe01+Jhu3ZkbsxVUd7CazegP7WU9xUPkG8w0c0YXB9o2YNSEw xdCvUlOksGDZpmjbtup8s0SZRZ7o5UNd2ItrGpEryWGJO5gRetbhJWsLdYY4kATur66N kF2wdN56diMzBH3lx05ZKF+8iXwgE5po9UNwW5pvG9XSSm+FUsr3HzT/+2m6mIYKPs3o jr/Q== MIME-Version: 1.0 X-Received: by 10.194.240.67 with SMTP id vy3mr1599249wjc.168.1449606355147; Tue, 08 Dec 2015 12:25:55 -0800 (PST) Received: by 10.194.192.33 with HTTP; Tue, 8 Dec 2015 12:25:55 -0800 (PST) In-Reply-To: <20151208200303.GA2194@c720-r285885-amd64> References: <20151208200303.GA2194@c720-r285885-amd64> Date: Tue, 8 Dec 2015 14:25:55 -0600 Message-ID: Subject: Re: remove all installed packages From: Adam Vande More To: Matthias Apitz , FreeBSD Questions Content-Type: text/plain; charset=UTF-8 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:25:57 -0000 On Tue, Dec 8, 2015 at 2:03 PM, Matthias Apitz wrote: > > Hello, > > Is it enough to remove all installed packages, just doing > > # rm -f /usr/local/* > # rm -f /var/db/pkg/* > > Anything else? > Much depends on what is exactly installed but in general that looks like a pretty terrible idea. If you're willing to going that far, just recreate the whole system. Otherwise pkg delete -a -- Adam