FS#55005 - [rust], [rust-docs] : conflict to each other, as both provide cargo.

Attached to Project: Arch Linux
Opened by Stefan Husmann (stefanhusmann) - Tuesday, 01 August 2017, 18:13 GMT
Last edited by Eli Schwartz (eschwartz) - Wednesday, 02 August 2017, 03:15 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To No-one
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 1
Private No

Details

Description: [rust], [rust-docs] : conflict to each other, as both provide cargo.


Additional info:
* package version(s) 1.19.0-2
* config and/or log files etc.


Steps to reproduce: pacman -Suy rust
LANG=C sudo pacman -Suy rust-docs
:: Synchronizing package databases...
core is up to date
extra is up to date
community is up to date
:: Starting full system upgrade...
resolving dependencies...
looking for conflicting packages...
:: rust-docs and rust are in conflict (cargo). Remove rust? [y/N]

I think this ist the culprit:
provides=('cargo')
conflicts=('cargo')
replaces=('cargo')
should go into package_rust function.
This task depends upon

Closed by  Eli Schwartz (eschwartz)
Wednesday, 02 August 2017, 03:15 GMT
Reason for closing:  Fixed
Additional comments about closing:  rust 1:1.19.0-3
Comment by Shay G (Tharbad) - Tuesday, 01 August 2017, 18:35 GMT
That's the error I got. It's different from the one above so I choose to add it.

:: Replace cargo with community/rust? [Y/n]
:: Replace cargo with community/rust-docs? [Y/n]
resolving dependencies...
looking for conflicting packages...
error: unresolvable package conflicts detected
error: failed to prepare transaction (conflicting dependencies)
:: rust and rust-docs are in conflict

Loading...