Date: Fri, 2 Feb 2018 07:35:36 +0100 From: Gerhard Schmidt <schmidt@ze.tum.de> To: rsmith@xs4all.nl, FreeBSD Python <freebsd-python@freebsd.org> Subject: Re: Installing a port to a specific python version Message-ID: <2d3a9040-4a0c-0210-f734-e71515320821@ze.tum.de> In-Reply-To: <20180201215959.GB56934@slackbox.erewhon.home> References: <6825a87e-60ec-f3bd-3368-2a6a519667bb@ze.tum.de> <20180201151021.GA52705@slackbox.erewhon.home> <799f50a9-4cb5-7e71-a3fb-bb030d80d864@ze.tum.de> <20180201215959.GB56934@slackbox.erewhon.home>
next in thread | previous in thread | raw e-mail | index | archive | help
This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --OPKVWeGR8JrPjFap3PMoHBXxgJnIm0o4u Content-Type: multipart/mixed; boundary="ntXVouN2eBBcRUi7CEIvGe2l4MkBEqcBG"; protected-headers="v1" From: Gerhard Schmidt <schmidt@ze.tum.de> To: rsmith@xs4all.nl, FreeBSD Python <freebsd-python@freebsd.org> Message-ID: <2d3a9040-4a0c-0210-f734-e71515320821@ze.tum.de> Subject: Re: Installing a port to a specific python version References: <6825a87e-60ec-f3bd-3368-2a6a519667bb@ze.tum.de> <20180201151021.GA52705@slackbox.erewhon.home> <799f50a9-4cb5-7e71-a3fb-bb030d80d864@ze.tum.de> <20180201215959.GB56934@slackbox.erewhon.home> In-Reply-To: <20180201215959.GB56934@slackbox.erewhon.home> --ntXVouN2eBBcRUi7CEIvGe2l4MkBEqcBG Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: quoted-printable Am 01.02.2018 um 22:59 schrieb Roland Smith: > If you look at pkg.freebsd.org you'll see that e.g. python packages are= now > built for each supported version of python. So you can now do things li= ke:: >=20 > # pkg install py36-aniso8601 >=20 > and that will find and install the python 3.6 version of the package ev= en > though the default python is still 2.7. This is a huge win, IMHO. # pkg install py36-aniso8601 reports on my system Installed packages to be REMOVED: xmlto-0.0.28 w3m-0.5.3.20170102_1 New packages to be INSTALLED: py36-aniso8601: 1.3.0 [FreeBSD] py36-dateutil: 2.6.1 [FreeBSD] py36-six: 1.11.0 [FreeBSD] Installed packages to be DOWNGRADED: boehm-gc: 7.6.2 -> 7.6.0 [FreeBSD] Number of packages to be removed: 2 Number of packages to be installed: 3 Number of packages to be downgraded: 1 The operation will free 1 MiB. 254 KiB to be downloaded. Why removing anything while installing new packages. Downgrading i could understand if binaries are involved, but removing? Sorry but pkg is only usable to install or update things if you only use pkg. Installing packages via port kills pkg. And BTW the same command has installed the correct package since pkg exists. So flavors haven't improved anything here. As said I'm doing this since mid 1990s and rely heavily on pkg when installing new systems. Worked like charm since it arrived but only for fresh install. After some month of updating and installing via ports the problems shown above start to appear. So i hope the portupgrade guys are fixing this soon. Regards Estartu --ntXVouN2eBBcRUi7CEIvGe2l4MkBEqcBG-- --OPKVWeGR8JrPjFap3PMoHBXxgJnIm0o4u Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- iQJGBAEBCAAwFiEEPVa8SM32TGPJTcIIdNJDzEVwDaMFAlp0BrgSHHNjaG1pZHRA emUudHVtLmRlAAoJEHTSQ8xFcA2jGS4P/isjK3C1pebcyeu9zIm5j5lkNGoUJj51 LIIkRViYoL0B4TuMZw+Ragg4HW7AOWKUQC41zVvtSDsq/lVgomMEDi0gwLWLWpUS 5DGkPR5rMLR8waLGb/Dy160fb2XhNA9VMjNHOfAOTnIFE/UZ3jJ8CDMVLqBfuQ4k II+gqSYbMQvuOZZdcTUQVJYowTgizDcs0G6hDi3Hmp7FswMPGQpU3+RkqGDLp9je u1/BoV9lIPgHpUl8vhM7hyaqaZh6xx76bjF6X0Ji5As9gvzDHrTqVbHO4i9m7emR XjlFGScSK2lx2MZhfTXpDi8dTEVOw2gm9bF5/n3LaVyeF6RtjV1CcvObxUkHZjQ4 xoaSR0bOGAXmIvJBadj1DzjV7hA6c3nu9NACxSU/6oOqQUVrvoizi9cBELaViV0M mMfNMD8ra7SSopyAHQcE6rI5Yf0RTy6p+YjaU7kX7ZO6oy8cvJfTFn6hLYejRW01 LqnLSz8vduWAK9iKoF5d2hM5l/xuspEbb01XYMRLXboC/uKggdRAVQCo/8ceXYtj aKGWbg+6Oj0apktYsccyMP0WEpG3d+XYuENeHpokWQDc6O4noCRtsBre1oyCNQV8 66AOoApbeXw+b/ydBrLUC96bEBjfrfBM+Sog7RdkS63aCYxP3cg5makNV0BqMgPD XkaUIYNFiuBY =40Sb -----END PGP SIGNATURE----- --OPKVWeGR8JrPjFap3PMoHBXxgJnIm0o4u--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?2d3a9040-4a0c-0210-f734-e71515320821>