Date: Sun, 8 Apr 2018 11:11:34 +0100 From: Matthew Seaman <matthew@FreeBSD.org> To: freebsd-ports@freebsd.org Subject: Re: pkg version - Orphanned status phpMyAdmin 4.7.9 Message-ID: <49bda6e4-d84c-9aad-b132-278f1accb1e3@FreeBSD.org> In-Reply-To: <414792de-2b1f-c576-0810-04e756452153@cloudzeeland.nl> References: <414792de-2b1f-c576-0810-04e756452153@cloudzeeland.nl>
next in thread | previous in thread | raw e-mail | index | archive | help
This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --4fywpkyZnNiXBBHzd9XLgn36zHwbHwnSQ Content-Type: multipart/mixed; boundary="gRfddbgCWfWB93mzDtow7PbLErcNKqDOB"; protected-headers="v1" From: Matthew Seaman <matthew@FreeBSD.org> To: freebsd-ports@freebsd.org Message-ID: <49bda6e4-d84c-9aad-b132-278f1accb1e3@FreeBSD.org> Subject: Re: pkg version - Orphanned status phpMyAdmin 4.7.9 References: <414792de-2b1f-c576-0810-04e756452153@cloudzeeland.nl> In-Reply-To: <414792de-2b1f-c576-0810-04e756452153@cloudzeeland.nl> --gRfddbgCWfWB93mzDtow7PbLErcNKqDOB Content-Type: text/plain; charset=utf-8 Content-Language: en-GB Content-Transfer-Encoding: quoted-printable On 07/04/2018 15:40, Jos Chrispijn wrote: > [Nub on ports] >=20 > Running 'pkg version', I got phpMyAdmin status "?" (orphan) >=20 > I first tried reinstalling the port, resulting in an error. > -- cut -- >=20 > =3D=3D=3D>=C2=A0 Installing for phpMyAdmin-php56-4.7.9 >=20 > =3D=3D=3D>=C2=A0=C2=A0 Registering installation for phpMyAdmin-php56-4.= 7.9 > Installing phpMyAdmin-php56-4.7.9... > pkg-static: phpMyAdmin-php56-4.7.9 conflicts with phpMyAdmin-4.7.9 > (installs files into the same place). Problematic file: /usr/local >=20 > /www/phpMyAdmin/CONTRIBUTING.md >=20 > *** Error code 70 >=20 > -- cut -- >=20 > Can you tell me how I can solve this? Thanks! Unfortunately the transition from the unflavoured to the flavoured version of phpmyadmin isn't quite as seamless as we might hope. However the solution is just to tell pkg to install the flavoured version of phpmyadmin. Other than the name change and possibly a difference in the dependency chain, the flavoured packages are identical to the unflavoured. So just: pkg install phpmyadmin-php56 [*] It may well warn about conflicting files, but that's OK -- the replacement files will be identical to what they are replacing. While flavouring does allow end users a lot more flexibility in selecting a version of PHP, in fact a better solution here would be the proposed 'flexible dependencies' but that's not available yet. The only significant difference between the flavoured packages is the dependency metadata. Cheers, Matthew [*] Assuming your system is set up to use php56, which it probably is as that's the default. The change to flavouring means that you should be able to upgrade to a different version of PHP and still keep using the default package servers rather than have to build your own. --gRfddbgCWfWB93mzDtow7PbLErcNKqDOB-- --4fywpkyZnNiXBBHzd9XLgn36zHwbHwnSQ Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- iQKTBAEBCgB9FiEEGfFU7L8RLlBUTj8wAFE/EOCp5OcFAlrJ6tdfFIAAAAAALgAo aXNzdWVyLWZwckBub3RhdGlvbnMub3BlbnBncC5maWZ0aGhvcnNlbWFuLm5ldDE5 RjE1NEVDQkYxMTJFNTA1NDRFM0YzMDAwNTEzRjEwRTBBOUU0RTcACgkQAFE/EOCp 5OekAQ/+Pu4W3B3oirdoOHdoZXLfZ2Q5UHXC7IqmgtGnaj4eLqew6SsSmscsF4nQ CTjgj/X5ClbuE6FwxPcrLAFFrDl68/QSe++9AtXePdblGBHoww2eAejBAFuNZ9Ui LuvfM3U6NdVjAFguSIBtZpmWeSf7GOEAxMcahVTpUk9Y32Cbo0QQa+hPCbgBYnS9 KGzyHEeLD0bUiwqjLzWv65BLIjegzE/inVSiBmxkYhLL8XkK7FRoYFMAK4DpuB3M 0VkcTw8uN+9zFeKDkWBpRB2g3XkmRLU4LT2xOQG+RzKM5Dq9Mw5yg2GsjE/+4/Yy /KDaN8ig5xfxZhe9imtw47pDVOFjgJkuJRUGYsXV5BMONpR8/nGfa/hOUQFwzsMJ fIDd5n73mFXBDtLh67MPSSlkzMWzdLxhLIVND29ZMuebdgSM6W+KgyOla6Vkxau8 tqFu28j0BaYjHje+3I0s2dvBZ6mXVPo0JRcxDQUnQMv39ttGO8JHjzjT+qBLa3Fc 1AATbThBmVw9/m5vPOtZKMGxu6hav+jKoawzrE77T6ZTY8OHy3d9dee8EqfopCTW o3woGgFAh5j9s0UL9j2tWl1wunPlMRdnNUhHuSulkfSDNR97StOiPbCFPe5M74si 5DD/iCa3MfagQ6+sKc8+HyTvwXCoZtCWg2/5CMWM7BWinzDL0a8= =aNn8 -----END PGP SIGNATURE----- --4fywpkyZnNiXBBHzd9XLgn36zHwbHwnSQ--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?49bda6e4-d84c-9aad-b132-278f1accb1e3>