From owner-freebsd-questions@freebsd.org Mon Apr 17 13:03:51 2017 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 1DA15D41EB5 for ; Mon, 17 Apr 2017 13:03:51 +0000 (UTC) (envelope-from baho-utot@columbus.rr.com) Received: from cdptpa-oedge-vip.email.rr.com (cdptpa-outbound-snat.email.rr.com [107.14.166.231]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "cdptpa-oedge", Issuer "cdptpa-oedge" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id DA991A8D for ; Mon, 17 Apr 2017 13:03:50 +0000 (UTC) (envelope-from baho-utot@columbus.rr.com) Received: from [65.186.81.207] ([65.186.81.207:60091] helo=raspberrypi.bildanet.com) by cdptpa-omsmta02 (envelope-from ) (ecelerity 3.6.9.48312 r(Core:3.6.9.0)) with ESMTP id 8E/0B-16480-F2DB4F85; Mon, 17 Apr 2017 13:03:43 +0000 Received: from [192.168.1.143] (helo=desktop.example.com) by raspberrypi.bildanet.com with esmtp (Exim 4.84) (envelope-from ) id 1d06Jj-00058Z-Ed for freebsd-questions@freebsd.org; Mon, 17 Apr 2017 09:03:43 -0400 Subject: Re: pkg db To: freebsd-questions@freebsd.org References: <55ca4d14-fbc9-7ce5-8f26-2bc172c2e534@columbus.rr.com> <0b42da75-f69b-acdb-d191-746209ef2021@FreeBSD.org> From: Baho Utot Message-ID: <921e1194-2bc0-5c21-fefa-dcda682d979d@columbus.rr.com> Date: Mon, 17 Apr 2017 09:03:43 -0400 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:52.0) Gecko/20100101 Thunderbird/52.0 MIME-Version: 1.0 In-Reply-To: <0b42da75-f69b-acdb-d191-746209ef2021@FreeBSD.org> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit X-RR-Connecting-IP: 107.14.168.7:25 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 17 Apr 2017 13:03:51 -0000 On 04/17/17 08:50, Matthew Seaman wrote: > On 16/04/2017 10:19, Baho Utot wrote: >> I rebuilt world using 11.0-p8 source and issued make package to build >> packages. I put them into a repository and installed them. Now I would >> like to remove them from the pkg database so I can rebuild world using >> the old method as in the manual. How can I remove the entries in the >> pkg database and not remove the installed packages? I don't want to >> remove the installed packages and have a non-bootable system. > > You want to remove FreeBSD-base packages from your pkgdb, leaving > everything else? > > Move aside your current pkgdb, initialize a new one and then reinstall > any ports. > > Cheers, > > Matthew > > Yes, It looks like that is the only way to fix this