Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 734014

Summary: dev-db/mysql-8.0.20-r1 fails to emerge due to file collisions with dev-db/mysql-8.0.20
Product: Gentoo Linux Reporter: Mike DeSimone <mike.desimone>
Component: Current packagesAssignee: Gentoo Linux MySQL bugs team <mysql-bugs>
Status: RESOLVED FIXED    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: AMD64   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: All collision messages
emerge --info

Description Mike DeSimone 2020-07-27 00:53:17 UTC
Created attachment 650906 [details]
All collision messages

I'm trying to upgrade mysql:

    # emerge -avDNu --changed-deps=y world
    
    These are the packages that would be merged, in order:
    
    Calculating dependencies... done!
    [ebuild  NS    ] dev-db/mysql-8.0.20-r1:8.0::gentoo [8.0.20:0::gentoo] USE="cjk numa perl server -cracklib -debug -jemalloc -latin1 -libressl -profiling -router (-selinux) -tcmalloc -test" 0 KiB
    (other packages omitted)

It seems to build the whole thing, but then fails to install. Tail end of the output:

 * checking 234 files for package collisions
 * This package will overwrite one or more files that may belong to other
[ omitted standard boilerplate ]
 * 
 * Detected file collision(s):
 * 
 *      /usr/sbin/mysqld
[ omitted 100 lines or so ]
 *      /usr/bin/mysqlanalyze
 * 
 * Searching all installed packages for file collisions...
 * 
 * Press Ctrl-C to Stop
 * 
 * dev-db/mysql-8.0.20:0::gentoo
 *      /usr/bin/comp_err
 *      /usr/bin/ibd2sdi
 *      /usr/bin/innochecksum
 *      /usr/bin/mysql_client_test
 *      /usr/bin/mysql_config_editor
 *      /usr/bin/mysql_secure_installation
 *      /usr/bin/mysql_ssl_rsa_setup
 *      /usr/bin/mysql_tzinfo_to_sql
 *      /usr/bin/mysqladmin
 *      /usr/bin/mysqlbinlog
 *      /usr/bin/mysqlimport
 *      /usr/bin/mysqlpump
 *      /usr/bin/mysqlshow
 *      /usr/bin/mysqlslap
 *      /usr/bin/mysqltest
 *      /usr/bin/mysqltest_safe_process
 *      /usr/include/mysql/mysqlx_ername.h
 *      /usr/include/mysql/mysqlx_error.h
 *      /usr/include/mysql/mysqlx_version.h
 *      /usr/sbin/mysqld
 * 
 * Package 'dev-db/mysql-8.0.20-r1' NOT merged due to file collisions. If
 * necessary, refer to your elog messages for the whole content of the
 * above message.

(output with no omissions is attached)

I'm wondering what I'm doing wrong. I noticed that dev-db/mysql-8.0.20 seems to be gone.
Comment 1 Mike DeSimone 2020-07-27 00:53:55 UTC
Created attachment 650908 [details]
emerge --info