You are not logged in.
Pages: 1
Hi! Today I've updated the system with:
sudo pacman -Syuand one of my package stop working. The package is Yeecli , I use it to control my Xiaomi bulb .
The error in the terminal:
sirth@arch ~> yeecli --ip 151.32.37.1 status
Traceback (most recent call last):
File "/usr/bin/yeecli", line 6, in <module>
from pkg_resources import load_entry_point
File "/usr/lib/python3.7/site-packages/pkg_resources/__init__.py", line 3105, in <module>
@_call_aside
File "/usr/lib/python3.7/site-packages/pkg_resources/__init__.py", line 3089, in _call_aside
f(*args, **kwargs)
File "/usr/lib/python3.7/site-packages/pkg_resources/__init__.py", line 3118, in _initialize_master_working_set
working_set = WorkingSet._build_master()
File "/usr/lib/python3.7/site-packages/pkg_resources/__init__.py", line 578, in _build_master
ws.require(__requires__)
File "/usr/lib/python3.7/site-packages/pkg_resources/__init__.py", line 895, in require
needed = self.resolve(parse_requirements(requirements))
File "/usr/lib/python3.7/site-packages/pkg_resources/__init__.py", line 781, in resolve
raise DistributionNotFound(req, requirers)
pkg_resources.DistributionNotFound: The 'yeecli==0.1.0' distribution was not found and is required by the application
sirth@arch ~> python -m pip
/usr/bin/python: No module named pip
sirth@arch ~> yay -Ss python 3.7
aur/idle-python3.7-assets 1.0-1 (+1 0.66%)
Python's Intergrated Development and Learning EnvironmentIt seems yeecli need phyton to downgrade . What do you think?
Last edited by Cristhian (2018-08-26 09:45:40)
Offline
Offline
yeecli is in AUR. You are expected to rebuild AUR packages when required by packages updates.
Edit:
beaten by Slithery.
Last edited by loqs (2018-08-26 09:55:22)
Offline
I'm trying to clean this way :
sirth@arch ~> yay -S yeecli
:: Checking for conflicts...
:: Checking for inner conflicts...
[Aur: 1] yeecli-r49.6e391b5-1
1 yeecli (Build Files Exist)
==> Packages to cleanBuild?
==> [N]one [A]ll [Ab]ort [I]nstalled [No]tInstalled or (1 2 3, 1-3, ^4)
==> I
:: PKGBUILD up to date, Skipping (1/1): yeecli
1 yeecli (Build Files Exist)
==> [N]one [A]ll [Ab]ort [I]nstalled [No]tInstalled or (1 2 3, 1-3, ^4)
==> Diffs to show?
==> n
HEAD is now at ca93c6a Add dependency
Already up to date.
:: Parsing SRCINFO (1/1): yeecli
==> Making package: yeecli r49.6e391b5-1 (Sun 26 Aug 2018 12:18:26 PM CEST)
==> Retrieving sources...
-> Updating yeecli git repo...
Fetching origin
==> Validating source files with md5sums...
yeecli ... Skipped
==> Cleaning up...
==> Making package: yeecli r49.6e391b5-1 (Sun 26 Aug 2018 12:18:27 PM CEST)
==> Checking runtime dependencies...
==> Missing dependencies:
-> python-click
==> Checking buildtime dependencies...
==> ERROR: Could not resolve all dependencies.
Error making: yeecliWhat I'm doing wrong?
Offline
Your tool seems to need a dependency, which is not installed, and your AUR Wrapper does not care to install it.
You are missing python-click package.
At least that's written in the log you posted.
Offline
The PKGBUILD has a dependency on python-click that is absent from the .SRCINFO. As a note the package is also a git package but lacks the -git extension.
Offline
I solved using yaourt.
Thank you so much. I started using yay because of some problems with yaourt 2 months ago.
Which do you prefer to build AUR packages?
Offline
AUR helpers are not officially supported by archlinux.
You should check out this article https://wiki.archlinux.org/index.php/AUR_helpers
If you trust this article you should better not use yaourt, but I still don't understand why you didn't just install python-click via pacman and then re-run yay.
Last edited by Shawn8901 (2018-08-26 11:28:38)
Offline
Because pacman did not find phyton-click
Offline
phyton-click is not python-click
Offline
Which do you prefer to build AUR packages?
Makepkg. That's what you should be using too at least until you have a much better understanding of the AUR. It's also what *everyone* should use when posting output to these forums for troubleshooting.
In this case, using makepkg properly would have avoided at least the secondary problem in this thread (missing dependency).
"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman
Offline
Offline
Pages: 1