From owner-freebsd-ports@FreeBSD.ORG Thu Nov 8 15:59:41 2012 Return-Path: Delivered-To: freebsd-ports@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 12681F77 for ; Thu, 8 Nov 2012 15:59:41 +0000 (UTC) (envelope-from bapt@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:1900:2254:206c::16:87]) by mx1.freebsd.org (Postfix) with ESMTP id E0AA78FC12; Thu, 8 Nov 2012 15:59:40 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.5/8.14.5) with ESMTP id qA8Fxev0048789; Thu, 8 Nov 2012 15:59:40 GMT (envelope-from bapt@FreeBSD.org) Received: (from bapt@localhost) by freefall.freebsd.org (8.14.5/8.14.5/Submit) id qA8Fxeax048788; Thu, 8 Nov 2012 15:59:40 GMT (envelope-from bapt@FreeBSD.org) X-Authentication-Warning: freefall.freebsd.org: bapt set sender to bapt@FreeBSD.org using -f Date: Thu, 8 Nov 2012 16:59:38 +0100 From: Baptiste Daroussin To: Adam McDougall Subject: Re: pkg doesn't deal with perl minor upgrade? Re: svn commit: r306959 - in head: . lang/perl5.16 Message-ID: <20121108155904.GL4862@ithaqua.etoilebsd.net> References: <201211040948.qA49m42H049884@svn.freebsd.org> <5097C399.9010303@egr.msu.edu> <20121105144030.GI66354@ithaqua.etoilebsd.net> <5097D334.5060203@egr.msu.edu> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="rJ8inJ6ig7iY3YX9" Content-Disposition: inline In-Reply-To: <5097D334.5060203@egr.msu.edu> User-Agent: Mutt/1.5.21 (2010-09-15) Cc: freebsd-ports@FreeBSD.org X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 08 Nov 2012 15:59:41 -0000 --rJ8inJ6ig7iY3YX9 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Mon, Nov 05, 2012 at 09:54:44AM -0500, Adam McDougall wrote: > On 11/05/12 09:40, Baptiste Daroussin wrote: > > On Mon, Nov 05, 2012 at 08:48:09AM -0500, Adam McDougall wrote: > >> What is the recommended procedure to deal with perl modules after a pe= rl > >> minor version upgrade like this? poudriere rebuilt all my perl modules > >> when perl went to 5.16.2 but none of them get pulled down by pkg, just > >> perl itself. perl-after-upgrade doesn't see any packages installed. I > >> spot checked a perl module and it is still in > >> /usr/local/lib/perl5/5.16.0 but that is no longer in the perl include = path. > >> > >> At this point I would either hand pick the perl modules and force > >> reinstall them, or use the big hammer and do pkg upgrade -f. Is there > >> something better? Thanks. > >> > >> On 11/04/12 04:48, Andrej Zverev wrote: > >>> Author: az > >>> Date: Sun Nov 4 09:48:04 2012 > >>> New Revision: 306959 > >>> URL: http://svn.freebsd.org/changeset/ports/306959 > >>> > >>> Log: > >>> Update to 5.16.2 > >>> > > > > You do not need perl-after-upgrade just do: > > > > pkg install -fRx perl > > > > regards, > > Bapt > > >=20 > This doesn't seem right? The output below is from a system that=20 > currently has no perl modules, let alone apache or perltidy, but some=20 > nagios stuff and pam_krb5 depend on perl (see below too): >=20 > # pkg install -fRx perl > Updating repository catalogue > Repository catalogue is up-to-date, no need to fetch fresh copy > The following packages will be installed: >=20 > Upgrading perl: 5.16.0 -> 5.16.2 > Installing p5-XML-NamespaceSupport: 1.11 > Installing p5-XML-SAX-Base: 1.08 > Installing db42: 4.2.52_5 > Installing gdbm: 1.9.1 > Installing expat: 2.0.1_2 > Installing p5-XML-SAX: 0.99 > Installing apr: 1.4.6.1.4.1_1 > Installing p5-Math-BigInt: 1.997 > Installing p5-Digest-HMAC: 1.03 > Installing p5-GSSAPI: 0.28 > Installing p5-Net-SSLeay: 1.49 > Installing p5-XML-Filter-BufferText: 1.01 > Installing p5-Convert-ASN1: 0.26 > Installing p5-BSD-Resource: 1.2904 > Installing p5-URI: 1.60 > Installing p5-Authen-SASL: 2.16 > Installing p5-IO-Socket-SSL: 1.76 > Installing p5-XML-SAX-Writer: 0.53 > Installing apache22: 2.2.23 > Reinstalling nagios-plugins-1.4.16,1 > Installing p5-perl-ldap: 0.4400 > Installing ap22-mod_perl2: 2.0.7_1,3 > Installing perltidy: 20120714 > Reinstalling nrpe-2.13_2 > Reinstalling pam_krb5-4.6 >=20 > The installation will require 49 MB more space >=20 > 20 MB to be downloaded >=20 > Proceed with installing packages [y/N]: >=20 >=20 >=20 >=20 > Would this be more appropriate? >=20 > # pkg install -fRx perl-5.16 > Updating repository catalogue > Repository catalogue is up-to-date, no need to fetch fresh copy > The following packages will be installed: >=20 > Upgrading perl: 5.16.0 -> 5.16.2 > Reinstalling nagios-plugins-1.4.16,1 > Reinstalling nrpe-2.13_2 > Reinstalling pam_krb5-4.6 >=20 > The installation will free 99 MB >=20 > 12 MB to be downloaded >=20 yes --rJ8inJ6ig7iY3YX9 Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.19 (FreeBSD) iEYEARECAAYFAlCb1ukACgkQ8kTtMUmk6EycMgCeKKuenesLa8vLvm20rRdDE+z8 GMwAn0oLaMNmkGf7VXK8A3tOkeZ9Wk0m =5Cnn -----END PGP SIGNATURE----- --rJ8inJ6ig7iY3YX9--