mysql57 upgrade issue

Trond Endrestøl Trond.Endrestol at fagskolen.gjovik.no
Fri Feb 5 14:21:41 UTC 2016


On Fri, 5 Feb 2016 07:42-0600, Marius Schamschula wrote:

> Trond,
> 
> Apparently there is something amiss here, I probably should open a ticket.
> 
> portupgrade -fprv databases/mysql57-server databases/mysql57-client

You can't run that as a single invocation. portupgrade would then 
determine that upgrading the client should precede the upgrading of 
the server, and you'll be back at square one.

> also failed with the same error, just leaving mysql57-client uninstalled.
> 
> I ended up running the following:
> 
> cd /usr/ports/databases/mysql57-server 
> 
> make deinstall
> make install
> 
> This left me with a working mysql-client/server-5.7.10_2
> 
> On Feb 5, 2016, at 3:57 AM, Trond Endrestøl <Trond.Endrestol at fagskolen.gjovik.no> wrote:
> 
> > On Thu, 4 Feb 2016 19:26-0600, Marius Schamschula wrote:
> > 
> >> While running portmaster I found this failure:
> >> 
> >> ===>   Registering installation for mysql57-client-5.7.10_2
> >> Installing mysql57-client-5.7.10_2...
> >> pkg-static: mysql57-client-5.7.10_2 conflicts with mysql57-server-5.7.10_1 (installs files into the same place).  Problematic file: /usr/local/include/mysql/binary_log_types.h
> >> *** Error code 70
> >> 
> >> Stop.
> >> 
> >> What to do? Manually, uninstall mysql57-server-5.7.10_1?
> > 
> > I'm using portupgrade, and I had to update databases/mysql57-server 
> > prior to databases/mysql57-client.
> > 
> > Something along these lines:
> > 
> > portupgrade -fprv databases/mysql57-server
> > portupgrade -fprv databases/mysql57-client

-- 
+-------------------------------+------------------------------------+
| Vennlig hilsen,               | Best regards,                      |
| Trond Endrestøl,              | Trond Endrestøl,                   |
| IT-ansvarlig,                 | System administrator,              |
| Fagskolen Innlandet,          | Gjøvik Technical College, Norway,  |
| tlf. mob.   952 62 567,       | Cellular...: +47 952 62 567,       |
| sentralbord 61 14 54 00.      | Switchboard: +47 61 14 54 00.      |
+-------------------------------+------------------------------------+


More information about the freebsd-questions mailing list