Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 17 Dec 2019 10:00:46 +0100
From:      Mathieu Arnold <mat@FreeBSD.org>
To:        Christoph Moench-Tegeder <cmt@burggraben.net>
Cc:        Matthias Fechner <idefix@fechner.net>, bapt@freebsd.org, Antoine Brodin <antoine@freebsd.org>, ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   Re: svn commit: r520219 - in head/Mk: . Uses
Message-ID:  <20191217090046.waol5gpzmicalo6r@atuin.in.mat.cc>
In-Reply-To: <20191216230040.GB57082@elch.exwg.net>
References:  <201912160629.xBG6T0r7056159@repo.freebsd.org> <30b9a6c7-1aca-cf56-d6d6-326bdba5206a@fechner.net> <20191216230040.GB57082@elch.exwg.net>

next in thread | previous in thread | raw e-mail | index | archive | help

--puxtoaiqnahiz7yc
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Tue, Dec 17, 2019 at 12:00:40AM +0100, Christoph Moench-Tegeder wrote:
> ## Matthias Fechner (idefix@fechner.net):
>=20
> > it seems that this commit cause now that all python 3.6 related ports
> > are deinstalled if you execute:
>=20
> Indeed does "pkg upgrade" handle flavored ports rather ungracefully
> when the default flavor changes (like in this case, where the default
> python version changed and took the flavor with it).
>=20
> As far as commit logs serve, this is the first time a python default
> version has been bumped since the introduction of FLAVORs (switch to
> 3.6 as the default for python3: 2017-04-28, FLAVORs: 2017-11-30).
>=20
> -> bapt@, you wanted to know when "pkg upgrade" results in an
> undesirable state? This would qualify, I think. At least, it should
> be handled nicer. I'm not sure how to make this "right" (not familar
> with the code, not even tried looking at it, I admit), but is it
> even possible to detect such FLAVOR change and upgrade manually
> installed packages to the new flavor and handle dependencies accordingly?
>=20
> In two weeks plus build time this will hit quarterly and with that
> many more users who are "just using packages" - I'd imagine there
> would be even more surprised (not in a good way) people.

I ran this to prevent sillynesses:

for i in $(pkg query -g %n 'py36*'); do pkg set -yn $i:${i/36/37}; done

--=20
Mathieu Arnold

--puxtoaiqnahiz7yc
Content-Type: application/pgp-signature; name="signature.asc"

-----BEGIN PGP SIGNATURE-----

iQKTBAABCgB9FiEEOraXidLtEhBkQLpbOkUW81GDzkgFAl34mT1fFIAAAAAALgAo
aXNzdWVyLWZwckBub3RhdGlvbnMub3BlbnBncC5maWZ0aGhvcnNlbWFuLm5ldDNB
QjY5Nzg5RDJFRDEyMTA2NDQwQkE1QjNBNDUxNkYzNTE4M0NFNDgACgkQOkUW81GD
zkjQNw/9HBK6ZeVGDZ4o43A7w0ki+i4+qtgTSCgQthUef5QUWlKaemZ1burRQtcF
vGtiAFxqYv18FzaqVk7REoUR/7nkfFwn1yEx/8bdyGcJH2R1EKjzA+P2pp1QCxqY
RmYj1Hrr0h84ACHOxkadBoDl1+a2NICzZ2vhPDyS75r7Gf27kRWFeUuf9+0poUpI
8hzM74PD8zVSbU5/jjgXSRcGBLRLiD+kmgthab96XVs1ZoVD/bcx97EhChmVdYhk
tOMss/UhNCmJtKKgdbz0TquVDX34WGw4dMr/QFx++Y3kKRq9Ub/iWU4BK+B0UyQU
JGwNcJrgredNeZUptDD31T+8Gxdch8g4ktrxKGYFE8zNfhXzc1nUdoz26ANJ5emi
iqs7UKRZS2LRchm5zHpth1knxZ5//tesH1AqqRp+A3XIXr7XC49DmUtRb3orOlbt
5YGCB4EHDpz8a+PBIytsXAari7q1CbQnzAcSfxoqofm+7jKO2Oz3XrBV9gNUsSsW
3dK9k0df6L/zPHScAxrrwCKhQj3Ix8ohEW5Yj/VjjhzaXYscK4eT2xEGYrCrxFLv
DCjtB/TPVThbpJHkUgGtpNleh208DteJPmAFqWpEs7sYZVEsAdHTN3K0OmFsQqJC
FP++d6arZrjkSyQnUWlMlph2jQUjgkD4p/WKqqaShb+Gu65X9lo=
=bI+r
-----END PGP SIGNATURE-----

--puxtoaiqnahiz7yc--



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