Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 05 Nov 2012 09:54:44 -0500
From:      Adam McDougall <mcdouga9@egr.msu.edu>
To:        freebsd-ports@freebsd.org
Subject:   Re: pkg doesn't deal with perl minor upgrade? Re: svn commit: r306959 - in head: . lang/perl5.16
Message-ID:  <5097D334.5060203@egr.msu.edu>
In-Reply-To: <20121105144030.GI66354@ithaqua.etoilebsd.net>
References:  <201211040948.qA49m42H049884@svn.freebsd.org> <5097C399.9010303@egr.msu.edu> <20121105144030.GI66354@ithaqua.etoilebsd.net>

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






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