Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 2 Nov 2019 23:33:10 -0700
From:      Kevin Oberman <rkoberman@gmail.com>
To:        "@lbutlr" <kremels@kreme.com>
Cc:        FreeBSD <freebsd-ports@freebsd.org>
Subject:   Re: Omg upgrade wants to install MySQL
Message-ID:  <CAN6yY1u=2nSraP7-RCApVbJFN-HPRwsm9dwOEoYYVYvtbju=AA@mail.gmail.com>
In-Reply-To: <4B1C9CF4-9ACF-429A-B060-A8A7DA41C5FF@kreme.com>
References:  <4B1C9CF4-9ACF-429A-B060-A8A7DA41C5FF@kreme.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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@gmail.com
PGP Fingerprint: D03FB98AFA78E3B78C1694B318AB39EF1B055683


On Sat, Nov 2, 2019 at 12:37 PM @lbutlr <kremels@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 the=
re
> 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 =E2=80=9Cdon=E2=80=99t enable GUIs=
=E2=80=9D 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.=
=E2=80=99
>
> _______________________________________________
> freebsd-ports@freebsd.org mailing list
> https://lists.freebsd.org/mailman/listinfo/freebsd-ports
> To unsubscribe, send any mail to "freebsd-ports-unsubscribe@freebsd.org"
>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAN6yY1u=2nSraP7-RCApVbJFN-HPRwsm9dwOEoYYVYvtbju=AA>