Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 13 Jan 2017 16:18:12 +0000
From:      Matthew Seaman <matthew@FreeBSD.org>
To:        freebsd-stable@freebsd.org
Subject:   Re: pkg upgrade problem with Perl 5.24
Message-ID:  <fdb3d489-ba5a-e342-9723-c9b2324f4d35@FreeBSD.org>
In-Reply-To: <D6B3A415-7A99-4A62-BD42-AFB08ACB5089@alogis.com>
References:  <D6B3A415-7A99-4A62-BD42-AFB08ACB5089@alogis.com>

next in thread | previous in thread | raw e-mail | index | archive | help
This is an OpenPGP/MIME signed message (RFC 4880 and 3156)
--09fd4ij6nRRsonxXcikMPXAmuBIAx4Adb
Content-Type: multipart/mixed; boundary="93BRwvXCqi482mdhJET8hU6ipl1b6fx32";
 protected-headers="v1"
From: Matthew Seaman <matthew@FreeBSD.org>
To: freebsd-stable@freebsd.org
Message-ID: <fdb3d489-ba5a-e342-9723-c9b2324f4d35@FreeBSD.org>
Subject: Re: pkg upgrade problem with Perl 5.24
References: <D6B3A415-7A99-4A62-BD42-AFB08ACB5089@alogis.com>
In-Reply-To: <D6B3A415-7A99-4A62-BD42-AFB08ACB5089@alogis.com>

--93BRwvXCqi482mdhJET8hU6ipl1b6fx32
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable

On 2017/01/13 15:43, Holger Kipp wrote:
> so currently via pkg upgrade I got perl5-5.24.1.r4_1, which perl itself=
 confirms:
                                     ^^^^^
> =3D=3D=3D>  Installing for perl5.24-5.24.1.r5_1
                       ^^^^^^^^

Notice the difference in package names.  One is calling itself 'perl5'
and the other 'perl5.24' which means pkg(8) thinks they are completely
different packages.  This is why compiling from ports can't delete the
version you installed as a pkg.

The reason for the different names is because in one case, that port was
designated the default perl version when the package was built, and in
the other case it wasn't.  5.24 is currently the default version of perl
in the FreeBSD package build cluster, as of the beginning of this month
for the latest quarterly branch.

Check your /etc/make.conf or similar -- do you have a DEFAULT_VERSIONS
setting for perl?  You should use something like:

   DEFAULT_VERSIONS+=3D perl5=3D5.24

which will at least make the pkg cluster and your own-build packages
agree on the package name.

	Cheers,

	Matthew



--93BRwvXCqi482mdhJET8hU6ipl1b6fx32--

--09fd4ij6nRRsonxXcikMPXAmuBIAx4Adb
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: OpenPGP digital signature
Content-Disposition: attachment; filename="signature.asc"

-----BEGIN PGP SIGNATURE-----
Comment: GPGTools - https://gpgtools.org

iQJ8BAEBCgBmBQJYeP3LXxSAAAAAAC4AKGlzc3Vlci1mcHJAbm90YXRpb25zLm9w
ZW5wZ3AuZmlmdGhob3JzZW1hbi5uZXQxOUYxNTRFQ0JGMTEyRTUwNTQ0RTNGMzAw
MDUxM0YxMEUwQTlFNEU3AAoJEABRPxDgqeTnH+gP/1Ci9RYEZmdGnc42M0YWCRpO
DM0XGyrktdpAnX4oUSssUlsuzXFPTpzBT+xzQRNZB3zdq0SBTJlRGAwli+nVdWBN
zbr00bHaZDQyMddLASGJTW3S4zJjmCPbTlkN+XqihucxJVvtfG60t/xQ6EDTi4Q4
G7bHk1aUWAE9Ef5j1gwWYMqE9axwhyLmkrFeyZ0yUJV+9eHLqnz11kfIo+nLgUzQ
lMdC5k+Mhrl7jr8BzXoNVtRnGI34EENRNsXolnBGar+sDr0dj98inOIkfkvKLKEc
8Vrcv9TWDJfRYeKiSGRlMBz1Tshgk03uwHzzTcsxlM+x6wTmJFeN3imbAJ17JNRR
lx2bSUeHbPmy50SvWCqKsiUj4pW7vSyGtUaj3Rfwpo7FgugjpuYQvpWEZ956QrFU
BSVMpjWI8YdKg76isvD/7H7YCPAEaHHaxUFvYEYCiW4INfClbO53gVwzK6TCyTB8
28XlYJjOdP2BVheMvR9GwnsczEBF+0ivBSBIdvjhrFweTyffthWOCudjkZ7vdwnG
83SiFw4FmjrCAaPGhsxS9kEYV4BaKKWEqhuaTFMuUq9r++W1QumgjUFmf7opdrek
O+XABk2gkmFtDyd31DmXjKoFIqQwl4Ru6dbg93a/wW9bCSEaTuKlgKwVTiicMyVs
a614vjX/N2cTOCLgQnY/
=ahVX
-----END PGP SIGNATURE-----

--09fd4ij6nRRsonxXcikMPXAmuBIAx4Adb--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?fdb3d489-ba5a-e342-9723-c9b2324f4d35>