From owner-freebsd-current@FreeBSD.ORG Sun Nov 4 00:44:10 2012 Return-Path: Delivered-To: current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id E4F60171 for ; Sun, 4 Nov 2012 00:44:10 +0000 (UTC) (envelope-from lists@eitanadler.com) Received: from mail-la0-f54.google.com (mail-la0-f54.google.com [209.85.215.54]) by mx1.freebsd.org (Postfix) with ESMTP id 5246B8FC0A for ; Sun, 4 Nov 2012 00:44:09 +0000 (UTC) Received: by mail-la0-f54.google.com with SMTP id e12so4238178lag.13 for ; Sat, 03 Nov 2012 17:44:09 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=eitanadler.com; s=0xdeadbeef; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type; bh=RpkhL/JOmXYlBn8dOlz0L0KJCVHzzUNBozkYkQz+RH0=; b=QBEqujTO5gQGY1mTfTUoXH5AeyMq7n6dgOFOVjmspiu0vanPwMnHQQmCKGnNmEGNok rc/epbjtwQrwtQMMYG0meFey4SlEH2+KpB73W9AZA6HxaKE15e90sRdU+1ZcRS1LAMU2 a8OPLd7Z+gEWAg7zPoRrdf2wJ3dfbjlw30DEU= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type:x-gm-message-state; bh=RpkhL/JOmXYlBn8dOlz0L0KJCVHzzUNBozkYkQz+RH0=; b=ge1A3EE7eCmZxYZ9+7iZGYqaZDV7pYYHg/WSQpTEO7YMVb9z2podQlBFh1xIzW9xug 5RZ5XaqZIp7EOsE/OC8VLNz+Rp5YxC9ODo3DNcpLz1aBSF+ifz/X8R+fu6rKFmxxsf44 3ST+thNC9OsuKyOqa2AB9ORVLurPFCYGdTJICxCpFWYohS6SDfuGbq+HW1AREoUhS5Dx EE3IbR0p19FukWvEMeGkN5U/ZHeSFHQ4WbcZS2HVJprlKnYc9ImW6PuC3F9ATplfS3iD ePzXBUnsO/392OO6QhskPRm45N4nRJTPzbLRT60+HKqN2DZU2oK+rcOJ55zXliWwyPfv NRWw== Received: by 10.152.104.115 with SMTP id gd19mr5497710lab.13.1351989848948; Sat, 03 Nov 2012 17:44:08 -0700 (PDT) MIME-Version: 1.0 Received: by 10.112.25.166 with HTTP; Sat, 3 Nov 2012 17:43:38 -0700 (PDT) In-Reply-To: References: From: Eitan Adler Date: Sat, 3 Nov 2012 20:43:38 -0400 Message-ID: Subject: Re: r2421600 amd64 /var/db/pkg To: Darrel Content-Type: text/plain; charset=UTF-8 X-Gm-Message-State: ALoCoQk5QtkPR8xTSjgQ0Da87CmsYJfUGPKmirThgA10s1Yg+vVFTx+XEzo5Z4ocpPO5RVwDs20c Cc: current@freebsd.org X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 04 Nov 2012 00:44:11 -0000 On 3 November 2012 20:37, Darrel wrote: > >>> Is it possible to regenerate the package database or somehow start over? >>> I >>> am seeing errors like these: >>> >>> pkg_info: Don't use the pkg_ tools if you are using pkgng >>> pkg_info: the package info for package 'ca_root_nss-3.14' is corrupt >> >> >> have you run ever run pkg2ng ? >> > > Hi, Eitan. > > It could be that I had a case of bad luck. About an hour before the > documentation was put into /usr/ports/UPDATING, I noticed that portmaster > was not working and 'make deinstall' and 'make reinstall' and ticked > 'pkgng'. Then portmaster seemed to work alright. > > Then when the UPDATING entry 20121010 happened shortly after, I followed it > exactly- so yes I ran pkg2ng. Somehow my installation has both The moment you run pkg2ng you lose any right to use pkg_* tools - this is what the first warning is telling you. I have a patch awaiting approval which makes the error more clear. -- Eitan Adler