Re: Unable to upgrade MariaDB 10.11.9 to 10.11.10

From: Dr. Peter Voigt <pvoigt_at_uos.de>
Date: Tue, 12 Nov 2024 14:10:36 UTC
On Tue, 2024-11-12 at 08:20 +0100, Piotr Smyrak wrote:
> On Mon, 11 Nov 2024 23:29:27 +0100
> "Dr. Peter Voigt" <pvoigt@uos.de> wrote:
> 
> > I am unable to upgrade MariaDB from 10.11.9 to 10.11.10.
> > 
> > I am using FreeBSD 13.4-RELEASE-p2 and have tried to upgrade MariaDB
> > using portmaster and make install.
> > 
> > Build of MariaDB 10.11.10 completes just fine but I am unable to
> > install:
> > 
> > pkg-static: mariadb1011-server-10.11.10 conflicts with mariadb1011-
> > client-10.11.10 (installs files into the same place).
> >   Problematic file: /usr/local/bin/mytop                              
> > *** Error code 1
> > 
> > I have not installed databases/mytop at all.
> > 
> > I've left a comment for closed bug report 266630:
> > https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=266630
> > 
> > because it seems related to my issue. Starting with 10.11.10 MariaDB
> > shipped mytop is installed per default which seems to conflict with
> > server and client port.
> > 
> > Howver, bug report 266630 has status "closed" and my comment might not
> > be read at all.
> > 
> > Could anybody please give me a hint, how to upgrade to MariaDB
> > 10.11.10 or should I place a new bug report?
> 
> You can patch locally databases/mariadb1011-server/pkg-plist by
> reversing the latest delta to the file. 
> 
> patch -R < attached_file
> 
> HTH,

Thanks, Piotr and Edward for pointing me into the right direction and informing
the port maintainer.

I was not aware how the package file list can be modified.

I've upgraded now to MariaDB 10.11.10 now with the modified file list.