Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 19 Jul 2013 09:59:19 -0400
From:      Adam McDougall <mcdouga9@egr.msu.edu>
To:        "bw.mail.lists" <bw.mail.lists@gmail.com>, ports@freebsd.org
Subject:   Re: pkgng behaviour change (upgrade -f and version)
Message-ID:  <51E94637.1000508@egr.msu.edu>
In-Reply-To: <51D52F61.9050700@gmail.com>
References:  <51D52F61.9050700@gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?51E94637.1000508>