From owner-freebsd-ports@FreeBSD.ORG Sat Oct 12 07:36:47 2013 Return-Path: Delivered-To: ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id C95DE736 for ; Sat, 12 Oct 2013 07:36:47 +0000 (UTC) (envelope-from danfe@regency.nsu.ru) Received: from mx.nsu.ru (mx.nsu.ru [84.237.50.39]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 76C542EC6 for ; Sat, 12 Oct 2013 07:36:46 +0000 (UTC) Received: from regency.nsu.ru ([193.124.210.26]) by mx.nsu.ru with esmtp (Exim 4.69) (envelope-from ) id 1VUtkU-0002A2-MQ for ports@freebsd.org; Sat, 12 Oct 2013 14:36:35 +0700 Received: from regency.nsu.ru (localhost [127.0.0.1]) by regency.nsu.ru (8.14.2/8.14.2) with ESMTP id r9C7apS8017374 for ; Sat, 12 Oct 2013 14:37:01 +0700 (NOVT) (envelope-from danfe@regency.nsu.ru) Received: (from danfe@localhost) by regency.nsu.ru (8.14.2/8.14.2/Submit) id r9C7akIm017295 for ports@freebsd.org; Sat, 12 Oct 2013 14:36:46 +0700 (NOVT) (envelope-from danfe) Date: Sat, 12 Oct 2013 14:36:45 +0700 From: Alexey Dokuchaev To: ports@freebsd.org Subject: portupgrade and pkgng (again) Message-ID: <20131012073645.GA14506@regency.nsu.ru> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.4.2.1i X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 12 Oct 2013 07:36:47 -0000 Hi there, I have a remote -CURRENT box which i'd rather not src-update now (r248373, ca. March). Apparently it's recent enough to default to pkgng. I wanted to upgrade some ports of mine today, and installed my favorite portupgrade just to discover that it does not see any packages: it seems to fail to parse /var/db/pkg/local.sqlite (convert it to its own pkgdb.db) and reports that I have nothing installed. Usual dances with adding WITH_PKGNG to make.conf, pkgdb -fu et al. did not help. Any clues? One note: I have rather old version of pkg installed, pkg-1.0.7. I may try to forcibly deinstall it and reinstall from ports, but I want to be sure doing so won't render my existing package database unusable. Is it safe (and worth) thing to do? Thanks, ./danfe