Before running makepkg add Mike Fährmann's key
gpg --recv-keys 5680CA389D365A88
![]() |
VOOZH | about |
| Git Clone URL: | https://aur.archlinux.org/gallery-dl.git (read-only, click to copy) |
|---|---|
| Package Base: | gallery-dl |
| Description: | Command-line program to download image-galleries and collections from several image hosting sites |
| Upstream URL: | https://codeberg.org/mikf/gallery-dl |
| Keywords: | downloader gallery image python terminal |
| Licenses: | GPL-2.0-or-later |
| Submitter: | lll2yu |
| Maintainer: | katt |
| Last Packager: | katt |
| Votes: | 96 |
| Popularity: | 2.43 |
| First Submitted: | 2018-03-29 17:35 (UTC) |
| Last Updated: | 2026-04-05 20:01 (UTC) |
Before running makepkg add Mike Fährmann's key
gpg --recv-keys 5680CA389D365A88
I'm having trouble updating. Firstly it fails validating some files. If I tell makepkg to ignore that I get the following error:
/usr/bin/env python3 scripts/supportedsites.py
Traceback (most recent call last):
File "/home/kovariszt/.cache/yay/gallery-dl/src/gallery-dl/scripts/supportedsites.py", line 821, in <module>
main(sys.argv[1] if len(sys.argv) > 1 else None)
~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/kovariszt/.cache/yay/gallery-dl/src/gallery-dl/scripts/supportedsites.py", line 812, in main
categories, domains = build_extractor_list()
~~~~~~~~~~~~~~~~~~~~^^
File "/home/kovariszt/.cache/yay/gallery-dl/src/gallery-dl/scripts/supportedsites.py", line 682, in build_extractor_list
for extr in extractor._list_classes():
~~~~~~~~~~~~~~~~~~~~~~~^^
File "/home/kovariszt/.cache/yay/gallery-dl/src/gallery-dl/gallery_dl/extractor/__init__.py", line 316, in _list_classes
for module in _module_iter:
^^^^^^^^^^^^
File "/home/kovariszt/.cache/yay/gallery-dl/src/gallery-dl/gallery_dl/extractor/__init__.py", line 325, in _modules_internal
yield __import__(module_name, globals_, None, None, 1)
~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
ModuleNotFoundError: No module named 'gallery_dl.extractor.exhentai'
make: *** [Makefile:38: docs/supportedsites.md] Error 1
==> ERROR: A failure occurred in build().
Aborting...
-> error making: gallery-dl-exit status 4
@katt I've made some stupid mistakes when initially releasing v1.31.7 and had to move the tag to a different commit afterwards, which has probably invalidated the PKGBUILD sha512 hash.
@m040601 seems like upstream re-released their tag, I've updated the checksums.
44 min. upgpkg: gallery-dl 1.31.7-1
==> WARNING: Skipping verification of source file PGP signatures.
==> Validating source files with sha512sums...
gallery-dl ... FAILED
==> ERROR: One or more files did not pass the validity check!
-> error downloading sources: /dev/shm/aurydesty/gallery-dl
context: exit status 1
if still getting ModuleNotFound error after building cleanly, remove gallery-dl venvs folder and build again: @ rm -rf ~/.local/share/pipx/venvs/gallery-dl/
For anyone getting ModuleNotFound error after python 3.14 update, try cleanbuilding the package.
Right. Apparently I had to upgrade the rest of the system first, including python itself. Sorry for the incorrect report.
@ypoluektovich Cannot reproduce, python-build is in makedeps and I just built the package without any issue with pkgctl build.
The new package version fails to build:
==> Making package: gallery-dl 1.31.2-1 (Sun 11 Jan 2026 05:28:47 PM MSK)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> WARNING: Using existing $srcdir/ tree
==> Starting build()...
/usr/bin/env python3 scripts/man.py
/usr/bin/env python3 scripts/completion_bash.py
/usr/bin/env python3 scripts/completion_zsh.py
/usr/bin/env python3 scripts/completion_fish.py
/usr/bin/env python3 scripts/supportedsites.py
/usr/bin/env python3 scripts/options.py
/usr/bin/python: No module named build
==> ERROR: A failure occurred in build().
Aborting...
-> error making: gallery-dl-exit status 4
-> Failed to install the following packages. Manual intervention is required:
gallery-dl - exit status 4
@mikf I've synced the optdeps with the one from the readme.