Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 737608 - dev-db/mariadb-10.5.5: file collision with mysql-init-scripts-2.3-r3
Summary: dev-db/mariadb-10.5.5: file collision with mysql-init-scripts-2.3-r3
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Linux MySQL bugs team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-08-17 09:28 UTC by Althorion
Modified: 2020-08-17 12:46 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
emerge --info (file_737608.txt,23.21 KB, text/plain)
2020-08-17 09:30 UTC, Althorion
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Althorion 2020-08-17 09:28:10 UTC
When updating from dev-db/mariadb-10.4.14:10.4/18 to dev-db/mariadb-10.5.5:10.5/18 I first get a blocker:
Calculating dependencies... done!
[ebuild  NS    ] dev-db/mariadb-10.5.5:10.5/18::gentoo [10.4.14:10.4/18::gentoo] USE="backup numa pam perl server systemd xml -bindist -columnstore% -cracklib -debug -extraengine -galera -innodb-lz4 -innodb-lzo -innodb-snappy -jdbc -jemalloc -kerberos -latin1 -libressl -mroonga -odbc -oqgraph -profiling -rocksdb -s3% (-selinux) -sphinx -sst-mariabackup -sst-rsync -static -systemtap -tcmalloc -test -tokudb -yassl" 0 KiB
[uninstall     ] dev-db/mariadb-10.4.14:10.4/18::gentoo  USE="backup numa pam perl server systemd xml -bindist -cracklib -debug -extraengine -galera -innodb-lz4 -innodb-lzo -innodb-snappy -jdbc -jemalloc -kerberos -latin1 -libressl -mroonga -odbc -oqgraph -profiling -rocksdb (-selinux) -sphinx -sst-mariabackup -sst-rsync -static -systemtap -tcmalloc -test -tokudb -yassl"
[blocks b      ] dev-db/mariadb:10.4 ("dev-db/mariadb:10.4" is blocking dev-db/mariadb-10.5.5)

And then the emerging fails with the collision report for /lib/systemd/system/mysqld.service (which is a part of mysql-init-scripts-2.3-r3).

It seems like this problem has happened before: https://bugs.gentoo.org/572788

Reproducible: Always

Steps to Reproduce:
1. Emerge dev-db/mariadb-10.4.14:10.4/18 and mysql-init-scripts-2.3-r3
2. Try to emerge dev-db/mariadb-10.5.5:10.5/18
Comment 1 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2020-08-17 09:29:12 UTC
sudo emerge -auDN @world --exclude python:3.9

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild  NS    ] dev-db/mariadb-10.5.5:10.5/18::gentoo [10.4.14:10.4/18::gentoo] USE="backup numa pam perl server systemd xml -bindist -columnstore% -cracklib -debug -extraengine -galera -innodb-lz4 -innodb-lzo -innodb-snappy -jdbc -jemalloc -kerberos -latin1 -libressl -mroonga -odbc -oqgraph -profiling -rocksdb -s3% (-selinux) -sphinx -sst-mariabackup -sst-rsync -static -systemtap -tcmalloc -test -tokudb -yassl" 0 KiB
[uninstall     ] dev-db/mariadb-10.4.14:10.4/18::gentoo  USE="backup numa pam perl server systemd xml -bindist -cracklib -debug -extraengine -galera -innodb-lz4 -innodb-lzo -innodb-snappy -jdbc -jemalloc -kerberos -latin1 -libressl -mroonga -odbc -oqgraph -profiling -rocksdb (-selinux) -sphinx -sst-mariabackup -sst-rsync -static -systemtap -tcmalloc -test -tokudb -yassl"
[blocks b      ] dev-db/mariadb:10.4 ("dev-db/mariadb:10.4" is blocking dev-db/mariadb-10.5.5)

Total: 1 package (1 in new slot, 1 uninstall), Size of downloads: 0 KiB
Conflict: 1 block

Would you like to merge these packages? [Yes/No]

(…)

 * checking 537 files for package collisions
 * This package will overwrite one or more files that may belong to other
 * packages (see list below). You can use a command such as `portageq
 * owners / <filename>` to identify the installed package that owns a
 * file. If portageq reports that only one package owns a file then do
 * NOT file a bug report. A bug report is only useful if it identifies at
 * least two or more packages that are known to install the same file(s).
 * If a collision occurs and you can not explain where the file came from
 * then you should simply ignore the collision since there is not enough
 * information to determine if a real problem exists. Please do NOT file
 * a bug report at https://bugs.gentoo.org/ unless you report exactly
 * which two packages install the same file(s). See
 * https://wiki.gentoo.org/wiki/Knowledge_Base:Blockers for tips on how
 * to solve the problem. And once again, please do NOT file a bug report
 * unless you have completely understood the above message.
 * 
 * Detected file collision(s):
 * 
 *      /lib/systemd/system/mysqld.service
 *
 * Searching all installed packages for file collisions...
 *
 * Press Ctrl-C to Stop
 *
 * dev-db/mysql-init-scripts-2.3-r3:0::gentoo
 *      /lib/systemd/system/mysqld.service
 *
 * Package 'dev-db/mariadb-10.5.5' NOT merged due to file collisions. If
 * necessary, refer to your elog messages for the whole content of the
 * above message.
Comment 2 Althorion 2020-08-17 09:30:23 UTC
Created attachment 655064 [details]
emerge --info
Comment 3 Larry the Git Cow gentoo-dev 2020-08-17 12:46:00 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0c55b7a5fed41855fc8a49fe6413add35e69e1b9

commit 0c55b7a5fed41855fc8a49fe6413add35e69e1b9
Author:     Thomas Deutschmann <whissi@gentoo.org>
AuthorDate: 2020-08-17 12:43:03 +0000
Commit:     Thomas Deutschmann <whissi@gentoo.org>
CommitDate: 2020-08-17 12:45:08 +0000

    dev-db/mariadb: don't install own systemd units
    
    Closes: https://bugs.gentoo.org/737608
    Package-Manager: Portage-3.0.2, Repoman-2.3.23
    Signed-off-by: Thomas Deutschmann <whissi@gentoo.org>

 dev-db/mariadb/Manifest              | 2 +-
 dev-db/mariadb/mariadb-10.5.5.ebuild | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)