From owner-freebsd-questions@freebsd.org Tue Dec 8 20:21:56 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 CA03A9D42E3 for ; Tue, 8 Dec 2015 20:21:56 +0000 (UTC) (envelope-from brian@brianwhalen.net) Received: from mail-lb0-x233.google.com (mail-lb0-x233.google.com [IPv6:2a00:1450:4010:c04::233]) (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 674F11836 for ; Tue, 8 Dec 2015 20:21:56 +0000 (UTC) (envelope-from brian@brianwhalen.net) Received: by lbbcs9 with SMTP id cs9so17784796lbb.1 for ; Tue, 08 Dec 2015 12:21:54 -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=bIN2gBNo1sGbXbcCWcGm5eJm4GndxI86ze9LpwASMk0=; b=p9NxwaWkJ6BYBWahCfUN8e59PrexjaBssU7Kn4uZfJTm+qHSQIeg/7cTcta4yX003/ DiAN4uVELEZ40nNYvr2YS4LtqGCG/4w1x1i3xe5NFkFmOuZ2cVZujw1ApfU+z2uHdqoH HIP6SG8TLSdxk5+8spwIW0ir7cDf3DdYl4aJIlN3Seb9JeYwUnFVuN++MpGI5//EvAys 0OrLKxeMnwfMaZ3VDE0S8Ggbv6ZoAMHg6nnYlnqEZMYzMqwrWYWX+fjP32FMq2qjt0rO QBz//XYp+/2VTvSBdlJTqvflleR84xSxViNPF5uFD5OUUOxx7OdN4L/YTW20bwwOq+J5 xYBg== 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=bIN2gBNo1sGbXbcCWcGm5eJm4GndxI86ze9LpwASMk0=; b=NLmC05eiKa8IW2zjTGOsE0pn5NXFcjD9Fwx3PdHlKizYukdI4atnPP3sWqEHHFUVmZ l3NSQM5DaxDWID1fD1C5TWOgjNYnUEQG3zvKtWEIsW/BL24gpMAIbIIiP0KhRGREyEuX eZN2QabeUp0yNdLIkh3ad9Ni8h1ZRgQNzvKKIJiDuAlQe0d9vk4ZhZXglWMuTZMcFZ8L JrZuk05I5nnWS9lv2x2yJpG7UNEZDzh4CbZd7/8u3p1Hl8IGeKRJ/c42OZ5doVCCcq8f 2fnsL6z1BAIC+PCLWMM3A9QzNacnabby4nqTtXNf+8SsbCPPS2dQeEt3hA87UcSGdKwl uNwg== X-Gm-Message-State: ALoCoQkbFGqM60onkoB2QmBXjvYq67P4zfDJgE4mBC4gG+T1HNFx9nTc6/45TBvCuXTOwAyysCz4T31x+5Hl5kpdaxW0viRNag== MIME-Version: 1.0 X-Received: by 10.112.157.133 with SMTP id wm5mr749149lbb.65.1449606114216; Tue, 08 Dec 2015 12:21:54 -0800 (PST) Received: by 10.25.205.143 with HTTP; Tue, 8 Dec 2015 12:21:54 -0800 (PST) X-Originating-IP: [2602:304:cfce:c590:7c90:4234:efb1:41c9] Received: by 10.25.205.143 with HTTP; Tue, 8 Dec 2015 12:21:54 -0800 (PST) In-Reply-To: <20151208200303.GA2194@c720-r285885-amd64> References: <20151208200303.GA2194@c720-r285885-amd64> Date: Tue, 8 Dec 2015 12:21:54 -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:21:56 -0000 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. Brian On Dec 8, 2015 12: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? > > Thanks > > 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"