Skip to content
This repository has been archived by the owner on May 31, 2018. It is now read-only.

Better dependency conflict error message for pacaur -Syu --aur #676

Open
Nowaker opened this issue Mar 30, 2017 · 1 comment
Open

Better dependency conflict error message for pacaur -Syu --aur #676

Nowaker opened this issue Mar 30, 2017 · 1 comment

Comments

@Nowaker
Copy link

Nowaker commented Mar 30, 2017

Version
pacaur 4.7.6
Description

pacaur -Syu --aur

nowaker@nwkr-laptop ~ % pacaur -Syu --aur
:: Synchronizing package databases...
 core is up to date
 extra is up to date
 community is up to date
 multilib is up to date
:: Starting AUR upgrade...
:: baloo4-akonadi is not present in AUR -- skipping
(...)
:: virtuoso-base is not present in AUR -- skipping
:: resolving dependencies...
:: unresolvable package conflicts detected
:: failed to prepare transaction (conflicting dependencies: gstreamer0.10-bad-plugins)

This error message should provide more information, e.g. which package conflicts against gstreamer0.10-bad-plugins.

After I called pacaur -S gstreamer0.10-bad-plugins, the problem no longer appeared.

nowaker@nwkr-laptop ~ % pacaur -Syu --aur
(...)
:: Proceed with installation? [Y/n]
Debug output

I don't have the debug output. pacaur -S gstreamer0.10-bad-plugins fixed the problem and I could no longer reproduce the problem.

@rmarquis
Copy link
Owner

rmarquis commented Mar 30, 2017

Thanks for the report. This is related to #173. This error message done without much explanation happens only when two targets directly conflict with each other (ie, two packages that are listed in the -Qum output - this does not include their dependencies). This specific user case is not straightforward to fix, but I'll see what I can do.

In case you encounter a similar issue again, please add a debug output here.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

2 participants