Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 17 Oct 2017 05:51:19 -0600
From:      The Doctor <doctor@doctor.nl2k.ab.ca>
To:        User Hasse <hasse@bara1.se>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: Problems updating mariadb102-server
Message-ID:  <20171017115119.GA17282@doctor.nl2k.ab.ca>
In-Reply-To: <20171017100744.GA7455@ymer.bara1.se>
References:  <20171017100744.GA7455@ymer.bara1.se>

next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, Oct 17, 2017 at 12:07:44PM +0200, User Hasse wrote:
> Hello
> I have problems updating mariadb102-server-10.2.9 and Client.
> I'm using portmaster, and the command "portmaster -a" and this is the respond I get :
> 
> <snip>
> ===>>> Creating a backup package for old version mariadb102-client-10.2.9
> Creating package for mariadb102-client-10.2.9
> Checking integrity... done (0 conflicting)
> Deinstallation has been requested for the following 1 packages (of 0 packages in the universe):
> 
> Installed packages to be REMOVED:
>         mariadb102-client-10.2.9
> 
> Number of packages to be removed: 1
> 
> The operation will free 32 MiB.
> [1/1] Deinstalling mariadb102-client-10.2.9...
> [1/1] Deleting files for mariadb102-client-10.2.9: 100%
> 
> ===>>> Starting check for runtime dependencies
> ===>>> Gathering dependency list for databases/mariadb102-client from ports
> ===>>> Dependency check complete for databases/mariadb102-client
> 
> ===>>> All >> mariadb102-client-10.2.9 (1/2)
> 
> ===>  Installing for mariadb102-client-10.2.9_1
> ===>  Checking if mariadb102-client already installed
> ===>   Registering installation for mariadb102-client-10.2.9_1
> Installing mariadb102-client-10.2.9_1...
> pkg-static: mariadb102-client-10.2.9_1 conflicts with mariadb102-server-10.2.9 (installs files into the same place).  Problematic file: /usr/local/include/mysql/my_config.h
> *** Error code 70
> 
> Stop.
> make[1]: stopped in /usr/ports/databases/mariadb102-client
> *** Error code 1
> 
> Stop.
> make: stopped in /usr/ports/databases/mariadb102-client
> 
> ===>>> A backup package for mariadb102-client-10.2.9 should
>        be located in /usr/ports/packages/portmaster-backup
> 
> ===>>> Installation of mariadb102-client-10.2.9_1 (databases/mariadb102-client) failed
> ===>>> Aborting update
> 
> ===>>> Update for databases/mariadb102-client failed
> ===>>> Aborting update
> 
> 
> ===>>> You can restart from the point of failure with this command line:
>        portmaster <flags> databases/mariadb102-client databases/mariadb102-server
> 
> This command has been saved to /tmp/portmasterfail.txt
> </snip>
> 
> Any suggestions on how I can solve this ?
> 
> Best Regards
> Geir Svalland.
> 

make deinstall both databases/mariadb102-client and databases/mariadb102-server

make then make reinstall both.

Do not do a service mysql-server stop nor restart while you rebuild
mariadb !


-- 
Member - Liberal International This is doctor@@nl2k.ab.ca Ici doctor@@nl2k.ab.ca
Yahweh, Queen & country!Never Satan President Republic!Beware AntiChrist rising!
https://www.empire.kred/ROOTNK?t=94a1f39b  Look at Psalms 14 and 53 on Atheism
Talk Sense to a fool and he calls you foolish - Euripides



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20171017115119.GA17282>