You are not logged in.
I've been sharing my pacman cache using darkhttpd for a few years with great success. I think it's failing when a signature can't be found on the "server". I suspect the recent update to pacman 6 has broken this.
I think (but might misremember) that pacman used to try another server, but this no longer seems to happen. Is there any workaround, is this a bug, or just the way that pacman should work now?
$ sudo pacman -S gspell
resolving dependencies...
looking for conflicting packages...
Package (1) New Version Net Change
extra/gspell 1.8.4-1 0.73 MiB
Total Installed Size: 0.73 MiB
:: Proceed with installation? [Y/n]
:: Retrieving packages...
gspell-1.8.4-1-x86_64 124.3 KiB 2.43 MiB/s 00:00 [##################################] 100%
error: failed retrieving file 'gspell-1.8.4-1-x86_64.pkg.tar.zst.sig' from 192.168.1.81:8081 : The requested URL returned error: 404
warning: failed to retrieve some files
error: failed to commit transaction (failed to retrieve some files)
Errors occurred, no packages were upgraded.
On another system, another related issue with signatures.
digikam-7.2.0-4-x86_64 19.8 MiB 9.21 MiB/s 00:02 [##############################################] 100%
error: failed retrieving file 'digikam-7.2.0-4-x86_64.pk [##############################################] 100%
(14/14) checking package integrity [##############################################] 100%
error: digikam: signature from "Antonio Rojas <arojas@archlinux.org>" is invalid
:: File /var/cache/pacman/pkg/digikam-7.2.0-4-x86_64.pkg.tar.zst is corrupted (invalid or corrupted package (PGP signature)).
Do you want to delete it? [Y/n]
error: failed to commit transaction (invalid or corrupted package)
Errors occurred, no packages were upgraded.
error installing repo packages
In both cases, removing my local "server" cache as a mirror fixed the issue.
Last edited by Salkay (2021-06-02 04:30:03)
Offline
Offline
Thanks Scimmia
Offline
At the above link, reply as follows:
Already known and fixed.
https://lists.archlinux.org/pipermail/p … 25166.html
Could someone please mark this post/issue as resolved if that's in order.
Thank you.
Offline
I think the new codepath to download signatures has no fallback to alternative mirrors, it is restricted to the mirror used for the package.
There is no specific bug report, but I mentioned it here: https://bugs.archlinux.org/task/71148
| alias CUTF='LANG=en_XX.UTF-8@POSIX ' |
Offline