Date: Thu, 27 Dec 2018 13:07:03 +0000 From: Matthew Seaman <matthew@FreeBSD.org> To: freebsd-stable@freebsd.org Subject: Re: Pkg dependency strangeness Message-ID: <aa01401f-dac7-9e53-3e62-d2c25087c0c1@FreeBSD.org> In-Reply-To: <CAMPTd_BtjAGs-1WmAbjNfXxt1PezspibzUj-4WnqrxYvPp3hGQ@mail.gmail.com> References: <CAMPTd_BtjAGs-1WmAbjNfXxt1PezspibzUj-4WnqrxYvPp3hGQ@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --nIvibnJJ4DyE7DVgIQkuygkwbA3y99irD Content-Type: multipart/mixed; boundary="nunreQSESpXdmSrbTvo2W9YLjXhbZjYbe"; protected-headers="v1" From: Matthew Seaman <matthew@FreeBSD.org> To: freebsd-stable@freebsd.org Message-ID: <aa01401f-dac7-9e53-3e62-d2c25087c0c1@FreeBSD.org> Subject: Re: Pkg dependency strangeness References: <CAMPTd_BtjAGs-1WmAbjNfXxt1PezspibzUj-4WnqrxYvPp3hGQ@mail.gmail.com> In-Reply-To: <CAMPTd_BtjAGs-1WmAbjNfXxt1PezspibzUj-4WnqrxYvPp3hGQ@mail.gmail.com> --nunreQSESpXdmSrbTvo2W9YLjXhbZjYbe Content-Type: text/plain; charset=utf-8 Content-Language: en-GB Content-Transfer-Encoding: quoted-printable On 27/12/2018 01:45, Walter Parker wrote: > I've just upgraded an existing FreeBSD 11.1 system with php56 to FreeBS= D > 11.2 and php72. >=20 > In order to do this, I used a mix of ports and packages to delete php56= and > all of the php56 extensions and replace them with php72 and php72 > extensions. Everything is working now, but when I try to install anythi= ng > using pkg, it wants to reinstall php56 and serveral php56 extensions. T= his > happens for packages that don't have php56 as a dependency. >=20 > For example > pkg install alpine >=20 As far as I can tell, this is nothing to do with alpine itself, which doesn't seem to depend on PHP at all. My guess is that you have some other PHP-based application installed which has an unmet dependency on php56. If you run 'pkg upgrade -n' without trying to install anything new, what happens? Also try 'pkg version -vRL=3D' Do you have any orphaned package= s? See if you can work out what it is you've installed that wants to pull in php56. Judging by the dependencies in your original post, it could be something like databases/phppgadmin or a similar PHP application that uses a postgresql back-end. I'm going to use phppgadmin as the example package in what follows: you should substitute the actual package or packages that are relevant in your case. What can happen is the pkg(8) fails to handle the change from an unflavoured PHP package to a flavoured one. It doesn't grok that an un-flavoured 'phppgadmin' package was essentially the same thing as 'phppgadmin-php56' and also that 'phppgadmin-php56' can be replaced by 'phppgadmin-php72'. You need to prod it into doing the right thing by making it install exactly the flavour of phppgadmin you want. So, assuming phppgadmin was the culprit, you simply need to run 'pkg install phppgadmin-php72' Cheers, Matthew --nunreQSESpXdmSrbTvo2W9YLjXhbZjYbe-- --nIvibnJJ4DyE7DVgIQkuygkwbA3y99irD Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- iQKTBAEBCgB9FiEEGfFU7L8RLlBUTj8wAFE/EOCp5OcFAlwkznhfFIAAAAAALgAo aXNzdWVyLWZwckBub3RhdGlvbnMub3BlbnBncC5maWZ0aGhvcnNlbWFuLm5ldDE5 RjE1NEVDQkYxMTJFNTA1NDRFM0YzMDAwNTEzRjEwRTBBOUU0RTcACgkQAFE/EOCp 5Odw4A//XS8QzYr+6PlbRCIFWcYpZYKTClckPFi/rUnIV9KyhsguCcBS7scgBcKx 85RQArnCTpObcaaLctFtFzZzoj5AkQP7iHzVPVphmT36WnpeTaY3Og1LNrZqOJgF MVsrOf84ZKO5EyyCamWHkFe2G6srpb6kde5bqSFg3m9r/AWCnGHOux9VbF4cmtEQ ATRUjAwffjeSNGfbqQuWct6cU7Cve2VQscxO7F3IJobfVM2EIqqG/XWKPII6QruU WLkz/VRG/n5JFz0Rd9dH7m3biYP8C5uRV3sJVtJEXCnqiTeGubKqd9ty3KFCAHj6 8xMcP11DJ6aHb/IkQPxYgFNk5v0e4ujHALUVw+H879B8Gpe0PW2W4JwYeBUc0lWY FM5YyRp16HuA7ANV/e+yBUU8U/GQsHETwxWZ/WLEcSG+WYP8rqAbMII6fAzuA16R XMJK7lmpuCrz/rV/mJw7suZb0YqOZq3DSPMqtwhXtFSxJJmfDMEYAFkhMq6r4x+/ 4toj2LqJ8Ccz+vkAp86s9S61NkgQM5+Wbvu9rC+rKGA2YnaJ+8BDfOT0clmgZdio hXGXKLXfnm/sibm2r3fmTldRJfBo3Zr13ef0lHZsTY4utKgHQ6RATEB4yVe9AjK1 4vVqthHGP03FcogTLYdWQd54qIGOTk1cDIUJV/3JbUoiI6SekME= =TMbs -----END PGP SIGNATURE----- --nIvibnJJ4DyE7DVgIQkuygkwbA3y99irD--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?aa01401f-dac7-9e53-3e62-d2c25087c0c1>