gentoo-rust icon indicating copy to clipboard operation
gentoo-rust copied to clipboard

Unable to install spotifyd and spotify-tui alongside each other

Open invakid404 opened this issue 4 years ago • 2 comments

When attempting to install spotifyd and spotify-tui one after another, portage complains that "/usr/.crates2.json" is already owned by the other package and merging fails. Exact error portage throws: `* 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 / ` 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/.crates2.json
  • Searching all installed packages for file collisions...
  • Press Ctrl-C to Stop
  • media-sound/spotify-tui-0.10.0:0::rust
  • /usr/.crates2.json
  • Package 'media-sound/spotifyd-0.2.20' NOT merged due to file
  • collisions. If necessary, refer to your elog messages for the whole
  • content of the above message. `

invakid404 avatar Jul 30 '20 17:07 invakid404

I solved the problem by removing the file, but that's probably broken something, hasn't it?

maffe03 avatar Aug 01 '20 14:08 maffe03

I too have this error unfortunately. I want to avoid having to delete the file to install both spotifyd and spotify-tui. I was also wondering why I have to manually pull in dev-lang/rust. Shouldn't the packages themselves try to pull that in (I'm getting cargo not found error).

zamlz avatar Aug 02 '20 05:08 zamlz