From owner-freebsd-ports@FreeBSD.ORG Thu Dec 27 16:09:02 2012 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 384623AC for ; Thu, 27 Dec 2012 16:09:02 +0000 (UTC) (envelope-from labeachgeek@gmail.com) Received: from mail-da0-f45.google.com (mail-da0-f45.google.com [209.85.210.45]) by mx1.freebsd.org (Postfix) with ESMTP id 027868FC0C for ; Thu, 27 Dec 2012 16:09:01 +0000 (UTC) Received: by mail-da0-f45.google.com with SMTP id w4so4398932dam.32 for ; Thu, 27 Dec 2012 08:08: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=3VwW/AK8T/3t8T1SHInpNckLeEngQnpk8lsxbtbdXNE=; b=sVXehHKWOWZGsp/PEKJYwMKvwpZwaRbcXQRBm3erbIW2TugwbB+o7AJ/XkG9QkkCtA ILg8F6srNOb0VAXzeSLtJeTsZWpUaLWZJrkjOU2ap0XvO6B365etT62qsQSad0ED5koJ hR6NbBhiPeIGkKYB7rovMv0lg/564lQpnsrrMh6Fpd3B75VEGNPaT9y7ydYgSlGVy0hm lVSoqq2N/YLLP+K1qdCJxgMbJ2jtFRdiURP1fArHCJ3AOQBZoYDnIXO6Zp+0+u37Nl3y u0oBh/eB0r/54HBm3gPvVpMqwrFPXI9Mh76fYwN2zYiML+wRGaHE2AaMDYGUh3LwfHha CpyA== MIME-Version: 1.0 Received: by 10.66.85.74 with SMTP id f10mr90903829paz.38.1356624534977; Thu, 27 Dec 2012 08:08:54 -0800 (PST) Received: by 10.68.9.168 with HTTP; Thu, 27 Dec 2012 08:08:54 -0800 (PST) Received: by 10.68.9.168 with HTTP; Thu, 27 Dec 2012 08:08:54 -0800 (PST) In-Reply-To: References: Date: Thu, 27 Dec 2012 10:08:54 -0600 Message-ID: Subject: Re: Upgrading ports problem with portupgrade(pkgng) From: Beach Geek To: freebsd-ports@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.14 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: Thu, 27 Dec 2012 16:09:02 -0000 > > System: FreeBSD/i386 10-current, base/head(src)=r244363, ports/head=r309344. > > > > I upgraded to r244363 from an Oct 3rd(ish) version. Followed ports/UPDATING for pkgng to edit make.conf and convert pkgdb.db. > > > > I'm now trying to update my ports (from tree, not pkgs), and I get: > > > > # portupgrade -ae > > USING PKGNG > > Stale dependency: ORBit2-2.14.19 --> glib-2.28.8_4 -- manually run 'pkgdb -F' to fix, or specify -O to force. > > > > # pkgdb -F USING PKGNG pkgdb -F not supported with PKGNG yet. Use 'pkg check' directly. > > > > # pkg check -d (also tried pkg check -d -a) > > # > > > > Running portupgrade -ae gives same message as before. > > > > Went to port tree, upgraded glib with 'make deinstall reinstall clean'. Then.... > > # pkg info glib glib-2.28.8_5 Some useful routines of C programming (current stable version) > > > > Run portupgrade -ae...... same message. > > > > Could someone point me in the right direction... > > > > If I'm misunderstanding the man & wiki pages, please explain (I'll even wear the pointyhat). > > > > Thanks, BG > > An update..... > 4 servers have the problem in my previous post, and I've yet to find a way to use portupgrade. > Only answers I've received were to use packages via pkgng. (Not an option). > > For the other 9 servers, I tried it a little differently. > - switch to pkgng > - svn base and ports > - upgrade base > - upgrade ports with portupgrade. > > Worked fine for 8 of 9. > > Will be rolling the 5 broke servers back (yes, we have bkups) ;) > > Will leave the 8 working ones running pkgbg, and see how it goes. > > Still wondering, how to repair the database w/o pkgfb -F so portupgrade will work? > > And as I understand, poudriere must be used instead of portupgrade to create packages? > > Thanks, > BG Please post responses here instead of emailing me directly. Only "fixes" that have been suggested are: * use packages only * delete all packages and /usr/local, then reinstall all packages. For ppl that want to build/install ports from the ports tree, what are our options for fixing pkg db problems so we can keep ports upgraded? Note: "pkg check" is missing on wiki page. BG