On 07/04/2018 15:40, Jos Chrispijn wrote:
> [Nub on ports]
> Running 'pkg version', I got phpMyAdmin status "?" (orphan)
> I first tried reinstalling the port, resulting in an error.
> -- cut --
> ===>  Installing for phpMyAdmin-php56-4.7.9
> ===>   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
> /www/phpMyAdmin/CONTRIBUTING.md
> *** Error code 70
> -- cut --
> 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



[*] 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.

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to