Date: Thu, 16 Apr 2015 18:01:58 +0100 From: Matthew Seaman <m.seaman@infracaninophile.co.uk> To: freebsd-pkg@freebsd.org Subject: Re: perl version woe Message-ID: <552FEB06.1090800@infracaninophile.co.uk> In-Reply-To: <20150416164031.GA27284@admin.sibptus.tomsk.ru> References: <20150416042738.GA99219@admin.sibptus.tomsk.ru> <552F5FF3.7090908@FreeBSD.org> <20150416080754.GA18442@admin.sibptus.tomsk.ru> <552F7738.1070703@freebsd.org> <20150416164031.GA27284@admin.sibptus.tomsk.ru>
next in thread | previous in thread | raw e-mail | index | archive | help
This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --Dh7jarFVeJgmMRkWNM76bkIlA2w3FRxcq Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable On 04/16/15 17:40, Victor Sudakov wrote: > Matthew Seaman wrote: >>> > > Do you mean to say, I should be able to safely run "pkg upgrade" = and >>> > > pkg will resolve this for me? >> >=20 >> > Yes, pretty much. >> >=20 >> > You can run 'pkg upgrade' safely, as it will show you what packages = it >> > will install, remove or reinstall and ask you for confirmation befor= e it >> > does. (Assuming you haven't overridden that behaviour in pkg.conf) >> > Check what it tells you carefully, and just hit 'n' if you don't agr= ee >> > with it. > That's exactly what I did. When I saw that it was going to INSTALL > perl5 instead of UPDATE it, I refused to proceed and asked a question > here. Uh -- if you're switching perl versions from an old version of perl-5.16, then pkg(8) sees you're changing to a different package, because the pkgname has changed. So pkg(8) isn't going to say "Upgrading perl5.16-5.16.2 to perl5-5.18.4" -- it's going to say "Installing perl5-5.18.4" and then on the second pass through the solver it's going to realize that the two different perl ports conflict, so it's then going to say "Deleting perl5.16-5.16.2" and "Installing perl5-5.18.4" However, all of the perl ports currently in the tree now use 'perl5' as their package name, so pkg understands that perl5-5-5.18.4 can be upgraded to perl5-5.20.2 Cheers, Matthew --Dh7jarFVeJgmMRkWNM76bkIlA2w3FRxcq Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQJ8BAEBCgBmBQJVL+sGXxSAAAAAAC4AKGlzc3Vlci1mcHJAbm90YXRpb25zLm9w ZW5wZ3AuZmlmdGhob3JzZW1hbi5uZXQxOUYxNTRFQ0JGMTEyRTUwNTQ0RTNGMzAw MDUxM0YxMEUwQTlFNEU3AAoJEABRPxDgqeTniBwP/R2Gi8nYh7Y1ZP+s9lujhC4I trjmdZe/N60zGfbkD/I8EEkvKoZ/jrdfMGtHXadF72pNhgId3DCvS3shgXdR4HrB KlDUC/u5HKGl4Eag5MPRZccdhMUf12QDIqQD4OPL1UsR5vaWhlJU+1JtApEwiEGR RxZ02j/xVqdVy69f9au6/twczjiLGe3NKMNKQ3rFLQwG+1bNTtxunC4G/4Zc6WDr rcC/HIyvZYcc+tGEewnP26PxXQgzhpd8aP74pS1Do3az9l5RJdkIl3l2Cn0DiiXp EjIFnkZOIsueG+SPjOeGQC5fotnlRhKUVn85IUUOj5pODb5z6mmXYlUFNl4ldjxY ekQYH3EtvoFV9C+aDSgx7lZSK3yTEcEKwSfcrAYpDHsSoFGQFqDq3EI9HIinOGdJ sDXiQRZjcoE3kLh5MrWews+WOy1iAhLaqF69/jexsHsxIxg0TQ9F4kUOFLqvB5zw DPzmTxRA1xWMzwxWxz636ntthbXs5w1JBIu8MqEprzO/8cAyERpkLxOu4nK6LlLi VyAl5nvpvr8vA1n8tvQwGMhNBXr+4/JGyNTjzcD0lquq0h6gqeZMqCp3WPH38x42 UP26CR8IicxvW3pzScnP2WrwZAtUlJymyvdpHbJLJa9N+OnJFr6l3dFDvPsoiFYl gPqxheszbRSln747gxeS =hw5m -----END PGP SIGNATURE----- --Dh7jarFVeJgmMRkWNM76bkIlA2w3FRxcq--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?552FEB06.1090800>