You are not logged in.

#1 2022-01-01 12:38:41

spiderkangaroo
Member
Registered: 2021-08-23
Posts: 3

[SOLVED] Dependency conflict between aur/openlp and core/python

TL;DR

I can not get the installation of aur/openlp to work, because it does not allow
python to be <3.10 and all my experiments trying to circumvent that went
terribly wrong.

Prerequisites
$ uname -a
Linux JsTux3 5.15.12-arch1-1 #1 SMP PREEMPT Wed, 29 Dec 2021 12:04:56 +0000
x86_64 GNU/Linux
  1. Installed Arch via manual procedure of course.

  2. Everything is kept up to date (except what I stated explicitely below) of
      course.

  3. For AUR I use yay as a helper. And yes, it is up to date too.

  4. I am relatively new to Arch (one year at max, using it).

  5. Already spent hours researching in the Wiki, on the Forums and using
    search engines, I appear to be blind in some way or the other.

If there is something missing from your perspective: I'm sorry.
I'll be happy to post needed outputs of other commands and other important
requisites when asked for it.

The Story
  1. Had aur/openlp installed via yay. It worked all as expected. But then,
       pacman did not want to update anything, because version 3.10 of
       core/python was available, but aur/openlp depended on python>=3.9 and
       python<3.10

  2. So I uninstalled aur/openlp: yay -R openlp and updated the system
       pacman -Suy

  3. Some days later, I needed aur/openlp again, so I tried to install it again
       yay -S openlp
       There appeared errors after entering the fake root environment.
       Unthoughtfully, I did not document them, so do not know anymore, what exactly
       those errors said. But yay complained that the installed python was higher
       than required by aur/openlp. Also, following some advice in the forums,
       I cleaned the cache of both pacman and yay, so the logs are lost too.

  4. I installed aur/python39, because I thought, the links on
       [the aur/openlp page](https://aur.archlinux.org/packages/openlp/) might be a
       suggestion to use this as a replacement for downgrading core/python to
       version 3.9 . Turned out, yay did the same complaint about mismatching
       requirements again when yay -S openlp.
       So I removed it yay -R python39

  5. Following a youtube video about resolving dependency conflicts, I installed
       aur/downgrade. Did a downgrade 'python<3.10' and went with version 3.9.9
       This worked very well, though I do not like holding old version.
       Doing another yay -S openlp seemed to run smoothly - no error messages.

  6. When running openlp though, there was an error stating that a python modules
       (required in PKGBUILD) , namely alembic, was not found by python so I
       installed it manually.

  7. When running openlp again, I got this error
       

        Traceback (most recent call last):
      File "/usr/bin/openlp", line 27, in <module>
        from openlp.core.common import is_win, is_macosx
      File "/usr/bin/openlp.py", line 4, in <module>
        __import__('pkg_resources').run_script('OpenLP==2.4.6', 'openlp.py')
      File "/home/spiderkangaroo/.local/lib/python3.9/site-packages/pkg_resources/__init__.py", line 665, in run_script
        self.require(requires)[0].run_script(script_name, ns)
      File "/home/spiderkangaroo/.local/lib/python3.9/site-packages/pkg_resources/__init__.py", line 1451, in run_script
        raise ResolutionError(
    pkg_resources.ResolutionError: Script 'scripts/openlp.py' not found in metadata at '/usr/lib/python3.9/site-packages/OpenLP-2.4.6-py3.9.egg-info'
Questions

This is the point, where I don't know any further.
My hope is that somewhere in this forum there are people that can help me find
the anwers to these Questions:

  1. Why would the python module alembic not have been installed manually? It
       should have been installed with aur/openlp.

  2. Why is there this very strance python error, though it worked fine like one
       week again, before uninstalling aur/openlp

  3. Is there by any change some things I could do, to install aur/openlp again?

Thanks a lot and have a happy new year!

Last edited by spiderkangaroo (2022-01-01 16:57:34)

Offline

#2 2022-01-01 16:06:43

philo
Member
Registered: 2015-01-26
Posts: 251

Re: [SOLVED] Dependency conflict between aur/openlp and core/python

The comments in the AUR web page of openlp indicate that openlp itself needs an update.

Offline

#3 2022-01-01 16:56:50

spiderkangaroo
Member
Registered: 2021-08-23
Posts: 3

Re: [SOLVED] Dependency conflict between aur/openlp and core/python

Thank you very much @philo for pointing this out. It wasn't clear to me.

Offline

Board footer

Powered by FluxBB