From owner-freebsd-ports@FreeBSD.ORG Mon Nov 5 14:54:51 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 1038DAB for ; Mon, 5 Nov 2012 14:54:51 +0000 (UTC) (envelope-from mcdouga9@egr.msu.edu) Received: from mail.egr.msu.edu (hill.egr.msu.edu [35.9.37.162]) by mx1.freebsd.org (Postfix) with ESMTP id BDC588FC0C for ; Mon, 5 Nov 2012 14:54:50 +0000 (UTC) Received: from hill (localhost [127.0.0.1]) by mail.egr.msu.edu (Postfix) with ESMTP id 4A5D22B7F8 for ; Mon, 5 Nov 2012 09:54:44 -0500 (EST) X-Virus-Scanned: amavisd-new at egr.msu.edu Received: from mail.egr.msu.edu ([127.0.0.1]) by hill (hill.egr.msu.edu [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id xUNfaSlghX3A for ; Mon, 5 Nov 2012 09:54:44 -0500 (EST) Received: from EGR authenticated sender Message-ID: <5097D334.5060203@egr.msu.edu> Date: Mon, 05 Nov 2012 09:54:44 -0500 From: Adam McDougall User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:16.0) Gecko/20121029 Thunderbird/16.0.2 MIME-Version: 1.0 To: freebsd-ports@freebsd.org Subject: Re: pkg doesn't deal with perl minor upgrade? Re: svn commit: r306959 - in head: . lang/perl5.16 References: <201211040948.qA49m42H049884@svn.freebsd.org> <5097C399.9010303@egr.msu.edu> <20121105144030.GI66354@ithaqua.etoilebsd.net> In-Reply-To: <20121105144030.GI66354@ithaqua.etoilebsd.net> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit 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: Mon, 05 Nov 2012 14:54:51 -0000 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 perl >> 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 > This doesn't seem right? The output below is from a system that currently has no perl modules, let alone apache or perltidy, but some nagios stuff and pam_krb5 depend on perl (see below too): # 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: 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 The installation will require 49 MB more space 20 MB to be downloaded Proceed with installing packages [y/N]: Would this be more appropriate? # 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: 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 The installation will free 99 MB 12 MB to be downloaded Proceed with installing packages [y/N]: