Bug 243238 - databases/mysql80-server conflicts with databases/mysql80-client
Summary: databases/mysql80-server conflicts with databases/mysql80-client
Status: Closed Not A Bug
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: Mahdi Mokhtari
Depends on:
Reported: 2020-01-10 08:47 UTC by Panthera
Modified: 2020-01-13 12:45 UTC (History)
1 user (show)

See Also:
bugzilla: maintainer-feedback? (mmokhi)


Note You need to log in before you can comment on or make changes to this bug.
Description Panthera 2020-01-10 08:47:28 UTC
I get an error trying to upgrade mysql80-server-8.0.17_2 to 8.0.18.

I've been using portmaster to upgrade mysql80-server. Trying that, portmaster automatically also updates/installs mysql80-client. The upgrade stops with the following message:

===>>> mysql80-server-8.0.17_2 >> databases/mysql80-client (1/1)

===>  Installing for mysql80-client-8.0.18
===>  Checking if mysql80-client is already installed
===>   Registering installation for mysql80-client-8.0.18 as automatic
Installing mysql80-client-8.0.18...
pkg-static: mysql80-client-8.0.18 conflicts with mysql80-server-8.0.17_2 (installs files into the same place).  Problematic file: /usr/local/bin/my_print_defaults
*** Error code 70


The same error occurs trying just to build the client port using make.
Comment 1 Jochen Neumeister freebsd_committer 2020-01-10 13:42:03 UTC
and work it with "cd /usr/ports/databases/mysql80-server && make deinstall && cd /usr/ports/databases/mysql80-client && cd /usr/ports/databases/mysql80-server && make clean make install clean"?
Comment 2 Panthera 2020-01-13 12:45:19 UTC
Hi Jochen. Thanks for your reply. After some attempts with deinstall, install and finally reinstall things seem to be working again.

I hadn't had this happen before (client/server conflict). I guess I should have tried a bit more to get things working before opening this ticket.