You are not logged in.

#1 2023-05-05 02:21:55

qherring
Member
Registered: 2023-05-05
Posts: 79

Required package not found even though its already installed

Upon installing a package with yay I am getting:

yay -S electrumx

-> No AUR package found for python-aiorpcx<0.19.0
 -> could not find all required packages: python-aiorpcx <0.19.0

So then I try to install python-aiorpcx package manually

sudo pacman -S python-aiorpcx

warning: python-aiorpcx-0.22.1-2 is up to date -- reinstalling

Even if I proceed to reinstall python-aiorpcx it doesnt solve the issue.  It looks to me like the electrumx package is pointing to an outdated dependency?

I also tried to enable multilib in the pacman.conf and that did not solve anything.
Is there a way I can resolve this manually?  Any help is much appreciated.

Offline

#2 2023-05-05 02:36:40

Scimmia
Fellow
Registered: 2012-09-01
Posts: 11,463

Re: Required package not found even though its already installed

Look at the version requirement, you *don't* have it installed.

Offline

#3 2023-05-05 02:36:44

ewaller
Administrator
From: Pasadena, CA
Registered: 2009-07-13
Posts: 19,739

Re: Required package not found even though its already installed

Moving to AUR issues as I suspect this is a 'yay' issue.   I note that in neither case did you use -Syu and that python just moved to 3.11.

Hint -- try '-Syu'


Edit:  No, I'm not moving it.  It is already here. hmm

Last edited by ewaller (2023-05-05 02:38:31)


Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
Sometimes it is the people no one can imagine anything of who do the things no one can imagine. -- Alan Turing
---
How to Ask Questions the Smart Way

Offline

#4 2023-05-05 02:57:00

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 29,444
Website

Re: Required package not found even though its already installed

You've also not checked the comments for this package as this problem and the solution is described there.


"UNIX is simple and coherent..." - Dennis Ritchie, "GNU's Not UNIX" -  Richard Stallman

Offline

#5 2023-05-05 03:08:42

qherring
Member
Registered: 2023-05-05
Posts: 79

Re: Required package not found even though its already installed

I see so I must install that exact version.  Im using downgrade and that exact version does not appear to be available. 

I see ver 18.7 and below or 22.0 and above.  Is there another method to locate older package versions?

Last edited by qherring (2023-05-05 03:09:02)

Offline

#6 2023-05-05 03:17:40

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 29,444
Website

Re: Required package not found even though its already installed

What "exact version" are you looking for?  The requirement is >=0.18.5 and <0.19.0.  18.7 meets that requirement.

But downgrading is really a bad solution.  Read the AUR comments already.


"UNIX is simple and coherent..." - Dennis Ritchie, "GNU's Not UNIX" -  Richard Stallman

Offline

#7 2023-05-05 04:04:38

qherring
Member
Registered: 2023-05-05
Posts: 79

Re: Required package not found even though its already installed

yes sir, i was able to build it with 18.7.  thank you

Offline

#8 2023-05-05 04:14:12

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 29,444
Website

Re: Required package not found even though its already installed

Congratulations.  Enjoy your really bad solution.  I quit.


"UNIX is simple and coherent..." - Dennis Ritchie, "GNU's Not UNIX" -  Richard Stallman

Offline

#9 2023-05-05 04:44:17

vorvac
Member
Registered: 2021-05-14
Posts: 44

Re: Required package not found even though its already installed

Trilby wrote:

Congratulations.  Enjoy your really bad solution.  I quit.

But, your solution required opening a web page...way too much effort.

https://github.com/Jguer/yay/issues/492 - Now that's what I call necessary! Yay!

Offline

#10 2023-05-05 17:53:52

qherring
Member
Registered: 2023-05-05
Posts: 79

Re: Required package not found even though its already installed

Trilby wrote:

Congratulations.  Enjoy your really bad solution.  I quit.

Well I tried the other solution which was to use the electrumx-git instead and its not really a viable fix.

electrumx (server implementation) is used alongside electrum wallet (this is available through the community repo), however if I install electrumx-git it requires python-aiorpcx-git while electrum requires python-airopcx. 
I cannot have both python-airopcx and pythoin-aiorpcx-git installed at the same time.

Offline

#11 2023-05-05 18:15:10

qherring
Member
Registered: 2023-05-05
Posts: 79

Re: Required package not found even though its already installed

Then if I abandon the electrum install for electrum-git then I cannot run the application at all.

electrum
Error: No module named 'aiorpcx'. Try 'sudo python3 -m pip install <module-name>'
sudo python3 -m pip install aiorpcx
Requirement already satisfied: aiorpcx in /usr/lib/python3.11/site-packages (0.22.1)
WARNING: Running pip as the 'root' user can result in broken permissions and conflicting behaviour with the system package manager. It is recommended to use a virtual environment instead: https://pip.pypa.io/warnings/venv

Then nothing is resolved...

Offline

#12 2023-05-05 18:45:04

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 29,444
Website

Re: Required package not found even though its already installed

qherring wrote:

if I install electrumx-git it requires python-aiorpcx-git while electrum requires python-airopcx.

And the former provides the latter and will satisfy the dependency.

I just installed and ran elecrtum-git with no problems - I'd guess you didn't actually install python-aiorpcx-git.

Last edited by Trilby (2023-05-05 18:55:31)


"UNIX is simple and coherent..." - Dennis Ritchie, "GNU's Not UNIX" -  Richard Stallman

Offline

Board footer

Powered by FluxBB