Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 10 Nov 2023 18:50:10 -0600
From:      Joey Kelly <joey@joeykelly.net>
To:        freebsd-perl@freebsd.org
Subject:   old version problem with p5-DBD-MariaDB
Message-ID:  <2254169.4jQFfv3LO4@nathan.bibleheroes>

next in thread | raw e-mail | index | archive | help
Hey folks,

I'm trying to install DBD-MySQL or DBD-MariaDB, I really don't care which one, 
but as you can see it wants to downgrade me from mariadb1011-server-10.11.5 to 
mysql80-*-8.0.33_3, something I am really unwilling to do as I depend on 
MariaDB-specific features/bugs. Might the dependency list be updated to 
include a MariaDB client option? Or is there an existing flag or workaround?

Thanks for looking into this. The relevant data is here:


freehawk:~/hawk/bin# uname -a
FreeBSD freehawk 13.2-RELEASE-p4 FreeBSD 13.2-RELEASE-p4 GENERIC amd64
freehawk:~/hawk/bin#


freehawk:~/hawk/bin# qpkglist.pl maria
mariadb1011-client-10.11.5
mariadb1011-server-10.11.5
freehawk:~/hawk/bin# 



freehawk:~/hawk/bin#pkg search dbd | ggrep -Ei 'mysql|maria'
p5-DBD-MariaDB-1.21            MariaDB driver for the Perl5 Database Interface 
(DBI)
p5-DBD-mysql-4.050_1           MySQL driver for the Perl5 Database Interface 
(DBI)
freehawk:~/hawk/bin# 
freehawk:~/hawk/bin#


freehawk:~/hawk/bin# pkg install p5-DBD-MariaDB
Updating FreeBSD repository catalogue...
FreeBSD repository is up to date.
All repositories are up to date.
Checking integrity... done (2 conflicting)
  - mysql80-client-8.0.33_3 conflicts with mariadb1011-client-10.11.5 on /usr/
local/bin/my_print_defaults
  - mysql80-client-8.0.33_3 conflicts with mariadb1011-server-10.11.5 on /usr/
local/bin/perror
Checking integrity... done (0 conflicting)
The following 5 package(s) will be affected (of 0 checked):

Installed packages to be REMOVED:
        mariadb1011-client: 10.11.5
        mariadb1011-server: 10.11.5

New packages to be INSTALLED:
        mysql80-client: 8.0.33_3
        p5-DBD-MariaDB: 1.21

Installed packages to be REINSTALLED:
        basu-0.2.1

Number of packages to be removed: 2
Number of packages to be installed: 2
Number of packages to be reinstalled: 1

The operation will free 225 MiB.
198 KiB to be downloaded.

Proceed with this action? [y/N]: n
freehawk:~/hawk/bin# 
freehawk:~/hawk/bin#



freehawk:~/hawk/bin# pkg install p5-DBD-mysql
Updating FreeBSD repository catalogue...
FreeBSD repository is up to date.
All repositories are up to date.
The following 13 package(s) will be affected (of 0 checked):

New packages to be INSTALLED:
        mysql80-client: 8.0.33_3
        p5-Authen-NTLM: 1.09_1
        p5-Crypt-SSLeay: 0.72_3
        p5-DBD-mysql: 4.050_1
        p5-File-Listing: 6.16
        p5-HTTP-CookieJar: 0.014
        p5-HTTP-Cookies: 6.10
        p5-HTTP-Negotiate: 6.01_1
        p5-LWP-Protocol-https: 6.11
        p5-Net-HTTP: 6.23
        p5-Try-Tiny: 0.31
        p5-WWW-RobotRules: 6.02_1
        p5-libwww: 6.70

Number of packages to be installed: 13

The process will require 119 MiB more space.
438 KiB to be downloaded.

Proceed with this action? [y/N]: y
[1/12] Fetching p5-WWW-RobotRules-6.02_1.pkg: 100%   13 KiB  13.3kB/s    00:01    
[2/12] Fetching p5-Authen-NTLM-1.09_1.pkg: 100%   13 KiB  13.8kB/s    00:01    
[3/12] Fetching p5-HTTP-Negotiate-6.01_1.pkg: 100%   13 KiB  13.2kB/s    00:01    
[4/12] Fetching p5-DBD-mysql-4.050_1.pkg: 100%   99 KiB 101.7kB/s    00:01    
[5/12] Fetching p5-libwww-6.70.pkg: 100%  149 KiB 152.5kB/s    00:01    
[6/12] Fetching p5-Crypt-SSLeay-0.72_3.pkg: 100%   38 KiB  39.2kB/s    00:01    
[7/12] Fetching p5-HTTP-CookieJar-0.014.pkg: 100%   16 KiB  16.3kB/s    00:01    
[8/12] Fetching p5-HTTP-Cookies-6.10.pkg: 100%   26 KiB  26.7kB/s    00:01    
[9/12] Fetching p5-Try-Tiny-0.31.pkg: 100%   17 KiB  17.7kB/s    00:01    
[10/12] Fetching p5-Net-HTTP-6.23.pkg: 100%   27 KiB  27.8kB/s    00:01    
[11/12] Fetching p5-LWP-Protocol-https-6.11.pkg: 100%   12 KiB  11.9kB/s    
00:01    
[12/12] Fetching p5-File-Listing-6.16.pkg: 100%   15 KiB  15.1kB/s    00:01    
Checking integrity... done (2 conflicting)
  - mysql80-client-8.0.33_3 conflicts with mariadb1011-client-10.11.5 on /usr/
local/bin/my_print_defaults
  - mysql80-client-8.0.33_3 conflicts with mariadb1011-server-10.11.5 on /usr/
local/bin/perror
Checking integrity... done (0 conflicting)
Conflicts with the existing packages have been found.
One more solver iteration is needed to resolve them.
The following 15 package(s) will be affected (of 0 checked):

Installed packages to be REMOVED:
        mariadb1011-client: 10.11.5
        mariadb1011-server: 10.11.5

New packages to be INSTALLED:
        mysql80-client: 8.0.33_3
        p5-Authen-NTLM: 1.09_1
        p5-Crypt-SSLeay: 0.72_3
        p5-DBD-mysql: 4.050_1
        p5-File-Listing: 6.16
        p5-HTTP-CookieJar: 0.014
        p5-HTTP-Cookies: 6.10
        p5-HTTP-Negotiate: 6.01_1
        p5-LWP-Protocol-https: 6.11
        p5-Net-HTTP: 6.23
        p5-Try-Tiny: 0.31
        p5-WWW-RobotRules: 6.02_1
        p5-libwww: 6.70

Number of packages to be removed: 2
Number of packages to be installed: 13

The operation will free 224 MiB.

Proceed with this action? [y/N]: n


-- 
Joey Kelly
Minister of the Gospel and Linux Consultant
http://joeykelly.net
504-239-6550





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