Omg upgrade wants to install MySQL

Kevin Oberman rkoberman at gmail.com
Sun Nov 3 06:33:29 UTC 2019


Packages are built using default options and some package you installed
defaults to MySQL. Many ports are installed with GUIs by default, so
packages are as well. Some ports have nox11 versions but many do not. This
is a limitation to most (all?) packaging systems, not just the one FreeBSD
uses.

The only way I know around this is to build your own packages for those
using non-default options. The preferred way is to build them with
port-mgmt/poudrerie though you can also build them manually or with
portmaster but, for most cases, poudriere is easier. This is all described
in the Handbook. Only ports with modified options need be built locally and
the standard packages should be used for all standard ports.
--
Kevin Oberman, Part time kid herder and retired Network Engineer
E-mail: rkoberman at gmail.com
PGP Fingerprint: D03FB98AFA78E3B78C1694B318AB39EF1B055683


On Sat, Nov 2, 2019 at 12:37 PM @lbutlr <kremels at kreme.com> wrote:

> I have mariadb101 (client and server) installed, but when looking at what
> pkg update will do, one of the things it will do is install MySQL. Is there
> something I need to do to tell it to use MariaDB instead?
>
> Since I am here, it also wants to install a bunch of X11 packages, but I
> neither want nor have any desktop environment installed, so similar
> question, how can I tell pkg to run in “don’t enable GUIs” mode?
>
>
>
> --
> 'That's blasphemy,' said the vampire. He gasped as Vimes shot him a
> glance like sunlight. 'That's what people say when the voiceless speak.’
>
> _______________________________________________
> freebsd-ports at freebsd.org mailing list
> https://lists.freebsd.org/mailman/listinfo/freebsd-ports
> To unsubscribe, send any mail to "freebsd-ports-unsubscribe at freebsd.org"
>


More information about the freebsd-ports mailing list