util-linux-2.31 is now providing rfkill and they provide a bash completion for it as well. This causes a file collision with all current versions of bash-completion. It seems that bash-completion upstream has now worked around this but it's not yet in a release: https://github.com/scop/bash-completion/commit/d962f3a3be2b5c3811e546890c99b19694c2a08e ---------- * Detected file collision(s): * * /usr/share/bash-completion/completions/rfkill * * Searching all installed packages for file collisions... * * Press Ctrl-C to Stop * * sys-apps/util-linux-2.31:0::gentoo * /usr/share/bash-completion/completions/rfkill * * Package 'app-shells/bash-completion-2.4-r1' NOT merged due to file * collisions. If necessary, refer to your elog messages for the whole * content of the above message.
>>> Installing (1 of 1) sys-apps/util-linux-2.31::gentoo * checking 387 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): * * /usr/share/bash-completion/completions/rfkill * * Searching all installed packages for file collisions... * * Press Ctrl-C to Stop * * app-shells/bash-completion-2.7:0::gentoo * /usr/share/bash-completion/completions/rfkill * * Package 'sys-apps/util-linux-2.31' NOT merged due to file collisions. * If necessary, refer to your elog messages for the whole content of the * above message. >>> Failed to install sys-apps/util-linux-2.31, Log file:
I have the same problem. And because net-wireless/rfkill is a dependency of app-laptop/tlp-1.0 I can not delete rfkill.
net-wireless/rfkill isn't involved in this particular bug. You'll have to report a bug to the overlay maintainer to adjust his tlp ebuild to allow util-linux to provide rfkill. Please open a separate bug for that.
Same problem here.
A trivial fix you can implement in your local overlay is to update the ebuild file to add rfkill to the list of completions to strip before installing - STRIP_COMPLETIONS
You can work around this by emerging app-shells/bash-completion-9999 until there is a release including the fix.
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9f8c7401d89d6a01d96c811e7e3ca4e84b7b3309 commit 9f8c7401d89d6a01d96c811e7e3ca4e84b7b3309 Author: Michał Górny <mgorny@gentoo.org> AuthorDate: 2017-10-23 21:30:55 +0000 Commit: Michał Górny <mgorny@gentoo.org> CommitDate: 2017-10-23 21:31:27 +0000 app-shells/bash-completion: Strip colliding rfkill executable Closes: https://bugs.gentoo.org/635158 .../bash-completion/bash-completion-2.7-r1.ebuild | 125 +++++++++++++++++++++ .../bash-completion/bash-completion-9999.ebuild | 3 + 2 files changed, 128 insertions(+)
*** Bug 635198 has been marked as a duplicate of this bug. ***
https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=708986ad5f63868db713ecb4e7472bee462124aa
*** Bug 635228 has been marked as a duplicate of this bug. ***