pkg version - Orphanned status phpMyAdmin 4.7.9

Matthew Seaman matthew at FreeBSD.org
Sun Apr 8 10:11:38 UTC 2018


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
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.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 963 bytes
Desc: OpenPGP digital signature
URL: <http://lists.freebsd.org/pipermail/freebsd-ports/attachments/20180408/a03761d8/attachment.sig>


More information about the freebsd-ports mailing list