Package Details: castero-git 0.8.0.r45.g29f42b1-1

Git Clone URL: (read-only, click to copy)
Package Base: castero-git
Description: Podcast client for the command line
Upstream URL:
Licenses: MIT
Conflicts: castero
Provides: castero
Submitter: willemw
Maintainer: willemw
Last Packager: willemw
Votes: 6
Popularity: 0.000278
First Submitted: 2018-05-09 15:53 (UTC)
Last Updated: 2020-06-06 21:09 (UTC)

Latest Comments

DavidMLS commented on 2020-06-20 12:05 (UTC)

Thank you both @willemw and @Kr1ss. Didn't mean to turn this into a support thread but that helped explain what is happening.

willemw commented on 2020-06-20 10:52 (UTC) (edited on 2020-06-20 12:11 (UTC) by willemw)

Yes, -Sy is an update (of only the mirrorlist and the package list), not a system upgrade.

Kr1ss commented on 2020-06-20 10:45 (UTC)

Hi @willemw pls excuse me for interfering w/ the thread unaskedly. I'd like to point out to @DavidMLS that they should rather do -S or -Syu to install (resp. upgrade the system and install) a package.

-Sy can (and eventually will) lead to a partially upgraded system, which might likely have caused this issue in the first place.

The causalities are described in this wiki paragraph.

Cheers !

willemw commented on 2020-06-20 10:08 (UTC)

@DavidMLS: Ok, I see what the problem is: your python-greenlet is not up-to-date. Do a system upgrade. python-greenlet should then be 0.4.16-1.

python-greenlet is an indirect dependency of castero-git.

It is normal that the castero-git version gets updated. The version is calculated each time you install the package (see pkgver() in the PKGBUILD file).

DavidMLS commented on 2020-06-20 09:52 (UTC)

@willemw please excuse my ignorance but I've tried doing the following:

yay -Rns castero-git
rm -rf ~/.cache/yay/castero-git
yay -Sy castero-git

and I still had the same problem.

I also tried to do the following:

sudo pacman -U ...

What I found strange is that although in your PKGBUILD, you have pkgver=0.8.0.r45.g29f42b1, the pkgver got changed after running makepkg to something like pkgver=0.8.0.r47...

I am a beginner at packaging in Arch and so don't fully understand what's going on.

I managed to get it working by installing castero manually from the instructions here but I would like to understand why using your package doesn't work as I see that it's doing pretty much the same thing that I did manually.

willemw commented on 2020-06-19 13:52 (UTC)

@DavidMLS: I cannot find any reference to greenlet in the source files. You may need to rebuild this package.

DavidMLS commented on 2020-06-19 12:18 (UTC)

I think this now needs greenlet

Traceback (most recent call last):
  File "/usr/lib/python3.8/site-packages/pkg_resources/", line 584, in _build_master
  File "/usr/lib/python3.8/site-packages/pkg_resources/", line 901, in require
    needed = self.resolve(parse_requirements(requirements))
  File "/usr/lib/python3.8/site-packages/pkg_resources/", line 792, in resolve
    raise VersionConflict(dist, req).with_context(dependent_req)
pkg_resources.ContextualVersionConflict: (greenlet 0.4.15 (/usr/lib/python3.8/site-packages), Requirement.parse('greenlet>=0.4.16'), {'gevent'})

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/bin/castero", line 6, in <module>
    from pkg_resources import load_entry_point
  File "/usr/lib/python3.8/site-packages/pkg_resources/", line 3262, in <module>
    def _initialize_master_working_set():
  File "/usr/lib/python3.8/site-packages/pkg_resources/", line 3245, in _call_aside
    f(*args, **kwargs)
  File "/usr/lib/python3.8/site-packages/pkg_resources/", line 3274, in _initialize_master_working_set
    working_set = WorkingSet._build_master()
  File "/usr/lib/python3.8/site-packages/pkg_resources/", line 586, in _build_master
    return cls._build_from_requirements(__requires__)
  File "/usr/lib/python3.8/site-packages/pkg_resources/", line 599, in _build_from_requirements
    dists = ws.resolve(reqs, Environment())
  File "/usr/lib/python3.8/site-packages/pkg_resources/", line 787, in resolve
    raise DistributionNotFound(req, requirers)
pkg_resources.DistributionNotFound: The 'greenlet>=0.4.16' distribution was not found and is required by gevent

willemw commented on 2020-06-06 21:10 (UTC)

@rien333: Thanks. Updated.

rien333 commented on 2020-06-06 20:42 (UTC)

I think this needs to have python-grequests in its dependencies:

$ castero
Traceback (most recent call last):
  File "/usr/bin/castero", line 6, in <module>
    from pkg_resources import load_entry_point
  File "/usr/lib/python3.8/site-packages/pkg_resources/", line 901, in require
    needed = self.resolve(parse_requirements(requirements))
  File "/usr/lib/python3.8/site-packages/pkg_resources/", line 787, in resolve
    raise DistributionNotFound(req, requirers)
pkg_resources.DistributionNotFound: The 'grequests' distribution was not found and is required by castero

willemw commented on 2020-02-24 13:50 (UTC)

Codfractal: this is a VCS (devel) package. That means it is up to you, as a user, to update the package by reinstalling the package or, in most cases, by passing the --devel flag to your AUR helper when you update.

Kr1ss commented on 2020-02-24 13:48 (UTC)

Since this is a -git package, just rebuild and you should be good to go @Codfractal ;)

Cheers !

Codfractal commented on 2020-02-24 13:38 (UTC)

@willemw castero 8.0 has been released a few days ago, could you please update the package ? Many thanks :)

rien333 commented on 2019-11-11 14:24 (UTC)

@MagicAndWires: I think upstream simply needs to stop requiring python-vlc, the reasoning behind keeping it seems a bit silly imo (see If you're okay in python, I would recommend just trying to get a PR in that makes all vlc stuff completely optional, instead of putting in effort on this PKGBUILD. If I find time this week and dig the castero app, I might try and implement said PR myself.

willemw commented on 2019-07-01 06:16 (UTC) (edited on 2019-07-01 06:28 (UTC) by willemw)


Thanks. Updated the upstream URL.

In general, one way to prevent vlc from being installed on your system is to create and install an empty/dummy package which "provides" and "conflicts" with "vlc". The advantage is that this will work not only with castero-git but with any package that has vlc as a dependency.

Edit: note castero-git also depends on python-vlc.

MagicAndWires commented on 2019-06-30 23:35 (UTC)

Also, please update the upstream url to the github project page as the current link has been removed.

MagicAndWires commented on 2019-06-30 23:32 (UTC)

Note that this package technically only needs the mpv or vlc media player.

Considering vlc is a quite heavy-duty (and in imho bloated) player to simply play some audio files users who might not want to use this particular player can safely remove the vlc and it specific dependencies with the --nodeps and --recursive flags. python-vlc is necessary for castero (which unfortunately has vlc as its makedepend) so for now it is necessary to keep that package and manually remove vlc at every install.

I'll test some things as to whether the software to run properly, or whether it's just due to the python-setup configuration, and depending on the results I'll try to make a mpv-only package.

willemw commented on 2019-04-12 17:59 (UTC)

@cheezsteak: Thanks. Fixed and updated.

cheezsteak commented on 2019-04-12 17:42 (UTC)

I was only able to run castero after changing dependency python-pympv to python-mpv. If someone else can confirm that bug it should be updated. Thank you.

willemw commented on 2019-03-25 06:21 (UTC)

@Kyatik: Not out-of-date. You need to reinstall (or update with --devel) to update the package.

willemw commented on 2019-01-27 13:00 (UTC)

@Kr1ss: Thanks. Updated.

Kr1ss commented on 2019-01-27 12:41 (UTC) (edited on 2019-01-27 13:05 (UTC) by Kr1ss)

Hi, thx for providing this package @willemw !

Could u pls add dependencies to python-pympv and python-cjkwrap, since castero wouldn't run without them.

EDIT: Thank you for updating so quickly !