pkg 1.3.0 and an old version of perl: is "pkg set -o" still required?

Vsevolod Stakhov vsevolod at FreeBSD.org
Mon Jul 28 13:50:36 UTC 2014


On 28/07/14 14:46, Victor Sudakov wrote:
> Colleagues,
> 
> There are pkg 1.3.0 and Perl version 5.10.1_3 installed.
> When I run 'pkg upgrade -n', it suggests perl will be INSTALLED and
> not UPGRADED:
> 
> New packages to be INSTALLED:
>         indexinfo: 0.2
>         libidn: 1.28_1
>         libsunacl: 1.0
>         tevent: 0.9.21
>         popt: 1.16
>         tdb: 1.2.13,1
>         libspf2: 1.2.10_1
>         perl5: 5.16.3_11
>         python2: 2_2
>         pkgconf: 0.9.6
> 
> Will it nevertheless upgrade perl from 5.10 to 5.16, or will it try to
> install 5.16 alongside with 5.10 and probably mess everything up?
> 
> Is "pkg set -o lang/perl5.10:lang/perl5.16" still required in pkg 1.3.0 ?
> 

No. After fetching of new perl, pkg would be able to find a conflict
between perl 5.10 and perl 5.16 and resolve it. Therefore, finally it
will suggest to remove old perl and install new one.

-- 
Vsevolod Stakhov


More information about the freebsd-pkg mailing list