From owner-freebsd-ports@FreeBSD.ORG Fri Jul 25 09:10:05 2014 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id B77F6CC9 for ; Fri, 25 Jul 2014 09:10:05 +0000 (UTC) Received: from sam.nabble.com (sam.nabble.com [216.139.236.26]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 9B51E2733 for ; Fri, 25 Jul 2014 09:10:04 +0000 (UTC) Received: from [192.168.236.26] (helo=sam.nabble.com) by sam.nabble.com with esmtp (Exim 4.72) (envelope-from ) id 1XAbVm-000504-IE for freebsd-ports@freebsd.org; Fri, 25 Jul 2014 02:09:58 -0700 Date: Fri, 25 Jul 2014 02:09:58 -0700 (PDT) From: Beeblebrox To: freebsd-ports@freebsd.org Message-ID: <1406279398525-5931637.post@n5.nabble.com> Subject: "pkg upgrade" without using INDEX (pkg-1.3) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 25 Jul 2014 09:10:05 -0000 pkg-1.3 apparently uses INDEX to speed things along. I can't use INDEX and need a way to do "pkg upgrade" the old way because: I merge gnome3 and linux_c6 branches into the ports tree. The latest linux_c6 merge breaks "make index" at emulators/linux-systemsimcell (PR filed). As a result, "fethcindex" is not going to work for me since it won't have a listing of the merged ports. So now the oddities that I face, * Upgraded to pkg-1.3, then I had a number of very weird problems by pkg. I then ran "portmaster -a", which did an upgrade for 2 ports: vo-aacenc and vo-amrwbenc. After this pkg started behaving a little more sanely (mentioning this, in case anyone else runs into similar problem) * when starting portmaster, I get below message before it decides to continue with the process anyway (repeats 3 times): "pkg: Cannot get a read lock on a database, it is locked by another process" * I have no INDEX in the ports tree, so "pkg version -PoL=" shows that pkg is greatly confused by a number of ports. For example: games/gnome-mahjongg ? deskutils/gnome-maps ? net/gnome-online-accounts ? deskutils/gnome-photos ? games/gnome-robots ? deskutils/gnome-screenshot ? deskutils/gnome-search-tool ? x11/gnome-shell-extensions ? games/gnome-sudoku ? deskutils/gnome-system-log ? x11-themes/gnome-themes-standard ? deskutils/gnome-tweak-tool ? graphics/gnome-video-effects ? security/gnomint < security/gnutls < * For the ports that pkg is *not* confused about, (the last two ports above with "<" for example), my local poudriere build repo is now being ignored by pkg and "pkg upgrade -r myrepo" completes with a not-so-reassuring "Your packages are up to date" message. YEt as seen above, the version output says otherwise. * From another thread/post: "If you want the old behavior either delete the INDEX file or use the -P flag" No INDEX as stated, and P not an option for upgrade. * I did a fresh merge of branches/trees and the problem persists. ----- FreeBSD-11-current_amd64_root-on-zfs_RadeonKMS -- View this message in context: http://freebsd.1045724.n5.nabble.com/pkg-upgrade-without-using-INDEX-pkg-1-3-tp5931637.html Sent from the freebsd-ports mailing list archive at Nabble.com.