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

Circular check(?) dependency, unable to install python-fontpens in the AUR #1125

Closed
ghost opened this issue Nov 25, 2019 · 8 comments
Closed
Labels

Comments

@ghost
Copy link

ghost commented Nov 25, 2019

Affected Version

yay v9.4.2.r17.gb08e505 - libalpm v12.0.1

Issue

I discovered my first AUR package that yay is unable to figure out (or work around). I didn't want to debate anything in the comments section there, but here it is:
https://aur.archlinux.org/packages/python-fontpens/

Steps to reproduce

Not working:
yay -a -i python-fontpens

Working:
cd ~/.cache/yay/python-fontpens ; makepkg -si

Output

tod@Arch:~$ yay -a -i python-fontpens
1 aur/python-fontpens 0.2.4-1 (+0 0.00%)
A collection of classes implementing the pen protocol for manipulating glyphs.
==> Packages to install (eg: 1 2 3, 1-3 or ^4)
==> 1
:: Checking for conflicts...
:: Checking for inner conflicts...
[Aur: 1] python-fontpens-0.2.4-1
[Aur Make: 1] python-fontparts-0.9.1-1

==> Remove make dependencies after install? [y/N] y
2 python-fontparts (Build Files Exist)
1 python-fontpens (Build Files Exist)
==> Packages to cleanBuild?
==> [N]one [A]ll [Ab]ort [I]nstalled [No]tInstalled or (1 2 3, 1-3, ^4)
==> A
:: Deleting (1/2): /home/tod/.cache/yay/python-fontparts
:: Deleting (2/2): /home/tod/.cache/yay/python-fontpens
:: Downloaded PKGBUILD (1/2): python-fontpens
:: Downloaded PKGBUILD (2/2): python-fontparts
2 python-fontparts (Build Files Exist)
1 python-fontpens (Build Files Exist)
==> Diffs to show?
==> [N]one [A]ll [Ab]ort [I]nstalled [No]tInstalled or (1 2 3, 1-3, ^4)
==> N
:: Parsing SRCINFO (1/2): python-fontparts
:: Parsing SRCINFO (2/2): python-fontpens
==> Making package: python-fontparts 0.9.1-1 (Mon 25 Nov 2019 03:29:00 AM MST)
==> Retrieving sources...
-> Downloading fontParts-0.9.1.zip...
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 275 100 275 0 0 1127 0 --:--:-- --:--:-- --:--:-- 1127
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
100 165k 100 165k 0 0 254k 0 --:--:-- --:--:-- --:--:-- 254k
==> Validating source files with sha256sums...
fontParts-0.9.1.zip ... Passed
==> Making package: python-fontpens 0.2.4-1 (Mon 25 Nov 2019 03:29:01 AM MST)
==> Retrieving sources...
-> Downloading fontPens-0.2.4.zip...
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 273 100 273 0 0 1508 0 --:--:-- --:--:-- --:--:-- 1508
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
100 22445 100 22445 0 0 55833 0 --:--:-- --:--:-- --:--:-- 55833
==> Validating source files with sha256sums...
fontPens-0.2.4.zip ... Passed
python-fontpens not satisfied, flushing install queue
==> Making package: python-fontparts 0.9.1-1 (Mon 25 Nov 2019 03:29:02 AM MST)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Missing dependencies:
-> python-fontpens
==> ERROR: Could not resolve all dependencies.
error: target not found: python-fontparts

@ulidtko
Copy link

ulidtko commented Dec 27, 2019

Here's a similar case: python2-incremental depends on python2-twisted depends on python2-incremental.

Can't uninstall using yay:

ulidtko@pasocon ~> yay -R python2-incremental python2-incremental
checking dependencies...
error: failed to prepare transaction (could not satisfy dependencies)
:: removing python2-incremental breaks dependency 'python2-incremental' required by python2-twisted

However, pacman does handle it.

@stale
Copy link

stale bot commented Nov 1, 2020

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@stale stale bot added the stale label Nov 1, 2020
@ulidtko
Copy link

ulidtko commented Nov 1, 2020

@Stale undo.

@stale stale bot removed the stale label Nov 1, 2020
@stale
Copy link

stale bot commented Jan 1, 2021

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@stale stale bot added the stale label Jan 1, 2021
@ulidtko
Copy link

ulidtko commented Jan 4, 2021

@Stale undo, this is still a [pretty young] issue.

@ulidtko
Copy link

ulidtko commented Jan 11, 2021

Nice.

@Stale you think you so smart program, huh? I'ma go describe your behavior to your maker, how about that.

@Jguer
Copy link
Owner

Jguer commented Jan 31, 2021

Here's a similar case: python2-incremental depends on python2-twisted depends on python2-incremental.

Can't uninstall using yay:

ulidtko@pasocon ~> yay -R python2-incremental python2-incremental
checking dependencies...
error: failed to prepare transaction (could not satisfy dependencies)
:: removing python2-incremental breaks dependency 'python2-incremental' required by python2-twisted

However, pacman does handle it

could you create a separate issue for this, uninstall warrants it's own issue

@ulidtko
Copy link

ulidtko commented Feb 1, 2021

@Jguer hmmm 🤔 I tried to do as you suggest, opening a new issue — but on retesting yay v10.1.2 it seems to be OK:

> yay -R python2-twisted python2-incremental
checking dependencies...
warning: dependency cycle detected:
warning: python2-incremental will be removed after its python2-twisted dependency

Package (2)          Old Version  Net Change

python2-incremental  17.5.0-6      -0.18 MiB
python2-twisted      20.3.0-3     -39.69 MiB

Total Removed Size:  39.86 MiB

:: Do you want to remove these packages? [Y/n]

The dep cycle is nicely detected, warned about, and handled no problem (including uninstall).

So I guess the issue is already fixed anyway. Thanks for getting back!

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

No branches or pull requests

2 participants