Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Packages X and X-git are in conflict #683

Closed
ratijas opened this issue Dec 22, 2020 · 2 comments
Closed

Packages X and X-git are in conflict #683

ratijas opened this issue Dec 22, 2020 · 2 comments

Comments

@ratijas
Copy link
Contributor

ratijas commented Dec 22, 2020

Summary

Aura does not consider provides section of AUR package during dependency resolution when an exact match exists in Arch repositories and custom version range is specified.

Description

Summary is based on my understanding of what happened. There were many things which might have gone south. It even may be considered an edge case.

  • Package radare2-pipe-gitAUR depends on radare2>=${pkgver%.r*} which is 4.0.0.r0.ge258a53-1 in pipe's PKGBUILD.
  • In turn, radare2 is provided by both community repo radare2 package and latest source build radare2-gitAUR.
  • Version 5.0.0 had just dropped, so after installing from AUR, I have radare2 5.0.0.r25084.15d8de3819-1 locally, but its PKGBUILD was written for 4.6.0.r24570.3c88900134-1.

Somehow all those dots connect together in such a way that all AUR helpers suggest removing radare2-git in favor of radare2 binary package. Is it just a major versions conflict, or something bigger?

Expected behavior

Assume dependency radare2>=4.0.0.r0.ge258a53-1 installed because it is provided by radare2-git as radare-5.0.0.r25084.15d8de3819-1. Proceed with installation of radare2-pipe-git.

Actual behavior

❯ aura -Qi radare2
Name            : radare2-git
Version         : 5.0.0.r25084.15d8de3819-1
Description     : Open-source tools to disasm, debug, analyze and manipulate binary files
Architecture    : x86_64
URL             : http://radare.org
Licenses        : GPL3  LGPL3
Groups          : None
Provides        : radare2
Depends On      : capstone  lz4  file  libzip  xxhash  libuv
Optional Deps   : None
Required By     : None
Optional For    : None
Conflicts With  : radare2
Replaces        : None
Installed Size  : 27.39 MiB
Packager        : Unknown Packager
Build Date      : Tue Dec 22 22:26:03 2020
Install Date    : Tue Dec 22 22:36:37 2020
Install Reason  : Explicitly installed
Install Script  : No
Validated By    : None
❯
❯ sudo aura -A radare2-pipe-git
aura >>= Determining dependencies...

aura >>= Repository dependencies:
radare2
swig
valabind
aura >>= AUR Packages:
radare2-pipe-git
aura >>= Continue? [Y/n] y
resolving dependencies...
looking for conflicting packages...
:: radare2 and radare2-git are in conflict. Remove radare2-git? [y/N] n
error: unresolvable package conflicts detected
error: failed to prepare transaction (conflicting dependencies)
:: radare2 and radare2-git are in conflict

(by the way, why there's a blank line between "Determining dependencies..." and "Repository dependencies"?)

Version

aura-bin: 3.2.2-1
radare2-git: 5.0.0.r25084.15d8de3819-1

@fosskers
Copy link
Owner

Thanks for the report. The dependency resolution algorithm will be getting a rewrite as I port to Rust.

@fosskers
Copy link
Owner

fosskers commented Jul 1, 2024

The particular package in question hasn't had an update in several years due the maintainer aiding refugees in Poland. Let's close this for now.

@fosskers fosskers closed this as completed Jul 1, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants