Date: Sun, 3 Nov 2019 08:35:17 +0700 From: Eugene Grosbein <eugen@grosbein.net> To: "@lbutlr" <kremels@kreme.com>, FreeBSD <freebsd-ports@freebsd.org> Subject: Re: Omg upgrade wants to install MySQL Message-ID: <b002373c-f50e-6f02-e22b-fa6637e2aed5@grosbein.net> 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
02.11.2019 20:48, @lbutlr 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? Your choices are: - you may use default package repository and then you must use default package builting options and flavours, e.g. MySQL and not MariaDB, packages built with X11 options enabled etc.; - or you may use non-default packages (f.e. MariaDB instead of MySQL) and then you either build and use your own package repository containing packages built with your preferences; - or you just build some packages using ports while using default package repository for distinct packages and don't use "pkg upgdate". I prefer third option. Sometimes it is handy to "pkg lock" packages you installed from ports buiklt with non-default options, too.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?b002373c-f50e-6f02-e22b-fa6637e2aed5>