From owner-freebsd-ports@FreeBSD.ORG Fri Jul 19 14:08:58 2013 Return-Path: <owner-freebsd-ports@FreeBSD.ORG> Delivered-To: ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 6C75A34A for <ports@freebsd.org>; Fri, 19 Jul 2013 14:08:58 +0000 (UTC) (envelope-from mcdouga9@egr.msu.edu) Received: from mail.egr.msu.edu (dauterive.egr.msu.edu [35.9.37.168]) by mx1.freebsd.org (Postfix) with ESMTP id 483B5C43 for <ports@freebsd.org>; Fri, 19 Jul 2013 14:08:57 +0000 (UTC) Received: from dauterive (localhost [127.0.0.1]) by mail.egr.msu.edu (Postfix) with ESMTP id A7B332A4CF; Fri, 19 Jul 2013 09:59:19 -0400 (EDT) X-Virus-Scanned: amavisd-new at egr.msu.edu Received: from mail.egr.msu.edu ([127.0.0.1]) by dauterive (dauterive.egr.msu.edu [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id w6aH48CM4vjS; Fri, 19 Jul 2013 09:59:19 -0400 (EDT) Received: from EGR authenticated sender Message-ID: <51E94637.1000508@egr.msu.edu> Date: Fri, 19 Jul 2013 09:59:19 -0400 From: Adam McDougall <mcdouga9@egr.msu.edu> User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:17.0) Gecko/20130708 Thunderbird/17.0.7 MIME-Version: 1.0 To: "bw.mail.lists" <bw.mail.lists@gmail.com>, ports@freebsd.org Subject: Re: pkgng behaviour change (upgrade -f and version) References: <51D52F61.9050700@gmail.com> In-Reply-To: <51D52F61.9050700@gmail.com> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Porting software to FreeBSD <freebsd-ports.freebsd.org> List-Unsubscribe: <http://lists.freebsd.org/mailman/options/freebsd-ports>, <mailto:freebsd-ports-request@freebsd.org?subject=unsubscribe> List-Archive: <http://lists.freebsd.org/pipermail/freebsd-ports> List-Post: <mailto:freebsd-ports@freebsd.org> List-Help: <mailto:freebsd-ports-request@freebsd.org?subject=help> List-Subscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-ports>, <mailto:freebsd-ports-request@freebsd.org?subject=subscribe> X-List-Received-Date: Fri, 19 Jul 2013 14:08:58 -0000 On 07/04/13 04:16, bw.mail.lists wrote: > I'm not sure when it happened, I think since latest pkgng upgrade, > version 1.1.3, but pkgng now acts differently in at least two cases. > > 1. pkg upgrade -f > What happens: > > ----------------- > /root # pkg upgrade -f > Updating repository catalogue > New version of pkg detected; it needs to be installed first. > After this upgrade it is recommended that you do a full upgrade using: > 'pkg upgrade' > > Uprgades have been requested for the following 1 packages: > > Reinstalling pkg-1.1.3_1 > > 0 B to be downloaded > > Proceed with upgrading packages [y/N]: n > ----------------- > > What I expected to happen (man page quote): > -f Force reinstalling/upgrading the whole set of packages > > Problem: > Not sure how to upgrade everything now. > > 2. pkg version > What happens: > > ----- > /root # pkg version -vRL= > Updating repository catalogue > /root # > ----- > > What I expected to happen: > > ----- > /root # pkg version -vRL= > /root # > ----- > > Problem: > I have this in crontab: > > pkg update -q && pkg version -vRL= > > Previously I would get no email unless updates are needed. Now I get > emails about updating catalogue repository. Passing -q to 'pkg version' > doesn't suppress the message either. I'm not sure what -q would > suppress, but I don't think I want it, I was fine with the way it was > before. I can 'grep -v' that line out, but I assume that's not the > intended behavior, is it? > I'm not sure if you are following the pkg@freebsd.org mailing list, but I had a related issue and forwarded your message there. It is fixed in 1.1.4.